Commit 550b127c by BellCodeEditor

save project

parent ffed2382
Showing with 2 additions and 2 deletions
......@@ -61,10 +61,10 @@ while True:
road_x-=8
bg_x-=2
if road_x<=1000:
if road_x<=-1000:
road_x=0
if bg_x<=1000:
if bg_x<=-1000:
bg_x=0
# 将背景图画上去
screen.blit(background, (bg_x, 0)) # 远处背景
......
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