Commit 1802d5ba by BellCodeEditor

auto save

parent 464d56e9
Showing with 1 additions and 1 deletions
...@@ -62,7 +62,7 @@ while True: ...@@ -62,7 +62,7 @@ while True:
if rect.x<=0-rect.width: if rect.x<=0-rect.width:
obstacle=random.choice([bush,stone,cacti]) obstacle=random.choice([bush,stone,cacti])
rect=object.get_rect() rect=obstacle.get_rect()
rect.x=1000 rect.x=1000
rect.y=500-rect.height rect.y=500-rect.height
rect.x-=8 rect.x-=8
......
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