Commit c76e3365 by BellCodeEditor

auto save

parent 284bc4ef
Showing with 5 additions and 2 deletions
......@@ -26,9 +26,12 @@ obstacle = random.choice([bush, stone, cacti])
rect = obstacle.get_rect()
rect.x = 1000
rect.y = 500 - rect.height
road_x += 8
road_x -= 8
road_x -= 8
if road_x<=-1000
road_x = 0
if road_x>=1000
road_x = 0
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