Commit 0a8224f4 by BellCodeEditor

save project

parent d351027e
Showing with 2 additions and 2 deletions
...@@ -73,11 +73,11 @@ while True: ...@@ -73,11 +73,11 @@ while True:
rect.x -= 8 rect.x -= 8
road_x -= 8 road_x -= 8
if road_x<-1000: if road_x<=-1000:
road_x=0 road_x=0
background_x -= 1 background_x -= 1
if background_x<-1000: if background_x<=-1000:
background_x=0 background_x=0
screen.blit(obstacle, (rect.x, rect.y)) screen.blit(obstacle, (rect.x, rect.y))
# 刷新画面 # 刷新画面
......
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