Commit baa31e4a by BellCodeEditor

save project

parent 72dbf52e
Showing with 2 additions and 2 deletions
...@@ -64,11 +64,11 @@ while True: ...@@ -64,11 +64,11 @@ while True:
if index >= 5: if index >= 5:
index = 0 index = 0
# 将背景图画上去 # 将背景图画上去
shan_x -=2 shan_x -=80
if shan_x <-1000: if shan_x <-1000:
shan_x=0 shan_x=0
screen.blit(background, (shan_x, 0)) # 远处背景 screen.blit(background, (shan_x, 0)) # 远处背景
lu_x -=8 lu_x -=30
if lu_x <-1000: if lu_x <-1000:
lu_x=0 lu_x=0
screen.blit(road, (lu_x, 500)) # 路 screen.blit(road, (lu_x, 500)) # 路
......
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