Commit d7a2ca57 by BellCodeEditor

auto save

parent 39fadb2d
Showing with 3 additions and 9 deletions
......@@ -46,15 +46,9 @@ while True:
if index == 5:
index = 0
# 将背景图画上去
bg_x -= 1
if bg_x<=-1000:
bg_x = 0
screen.blit(background, (bg_x, 0))
road_x -= 8
if bg_x<=-1000:
bg_x = 0
screen.blit(road, (bg_x, 500))
screen.blit(wukong, (150, y))
screen.blit(background, (0, 0))
screen.blit(road, (0, 500))
screen.blit(hero, (150, y))
# 刷新画面
if rect.x <= 0-rect.width:
......
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