Commit 89d316eb by BellCodeEditor

save project

parent 9e6ff1b6
Showing with 4 additions and 4 deletions
......@@ -31,10 +31,10 @@ jumpState = "runing"
t = 30
bg_x=0
road_x=0
obstacle = random.choice([bush, stone, cacti])
rect = obstacle.get_rect()
rect.x = 1000
rect.y = 500 - rect.height
obstacle=Block(bush,cacti,stone)
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