Commit c819a2c0 by BellCodeEditor

save project

parent b757b025
Showing with 1 additions and 1 deletions
......@@ -59,7 +59,7 @@ while True:
screen.blit(road, (0, 500))
screen.blit(wukong, (150, y))
# 刷新画面
if rect.x<0-rect.height:
if rect.x<0-rect.height:
obstacle=random.choice([stone,cacti,apple])
rect=obstacle.get_rect()
rect.x=1000
......
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