Commit ee4150cc by BellCodeEditor

auto save

parent 0820425e
Showing with 1 additions and 1 deletions
...@@ -59,7 +59,7 @@ while True: ...@@ -59,7 +59,7 @@ while True:
screen.blit(wukong, (150, y)) screen.blit(wukong, (150, y))
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 = obstacle.get_rest() 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