Commit 34f0eded by BellCodeEditor

auto save

parent 66c3bfda
Showing with 2 additions and 2 deletions
...@@ -61,11 +61,11 @@ while True: ...@@ -61,11 +61,11 @@ while True:
index = 0 index = 0
# 将背景图画上去 # 将背景图画上去
road_x -= 4 road_x -= 4
screen.blit(background, (0, 0)) screen.blit(background, (road_x, 0))
if road_x <= -1000: if road_x <= -1000:
road_x = 0 # 远处背景 road_x = 0 # 远处背景
bajing_x -= 8 bajing_x -= 8
screen.blit(road, (0, 500)) screen.blit(road, (bajing_x, 500))
if bajing_x <= -1000: if bajing_x <= -1000:
bajing_x = 0 # 路 bajing_x = 0 # 路
screen.blit(wukong, (150, y)) # 悟空 screen.blit(wukong, (150, 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