Commit 6928a50d by BellCodeEditor

save project

parent 2742489a
Showing with 6 additions and 0 deletions
......@@ -32,6 +32,12 @@ y = 400
jumpState = "runing"
t = 30
aa=Block(bush,cacti,stone)
bg_x=0
road_x=0
obstacle=random.choice([bush,stone,cacti])
rect=obstacle.get_rect()
rect.x=1000
rect.y=500-rect.height
while True:
for event in pygame.event.get():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment