Commit 284bc4ef by BellCodeEditor

save project

parent 080ee70a
Showing with 3 additions and 0 deletions
...@@ -26,7 +26,10 @@ obstacle = random.choice([bush, stone, cacti]) ...@@ -26,7 +26,10 @@ obstacle = random.choice([bush, stone, cacti])
rect = obstacle.get_rect() rect = obstacle.get_rect()
rect.x = 1000 rect.x = 1000
rect.y = 500 - rect.height rect.y = 500 - rect.height
road_x -= 8
road_x -= 8
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
......
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