Commit 9ed888b8 by BellCodeEditor

save project

parent e4921472
Showing with 3 additions and 0 deletions
...@@ -55,6 +55,9 @@ while True: ...@@ -55,6 +55,9 @@ while True:
if index == 5: if index == 5:
index = 5 index = 5
# 将背景图画上去 # 将背景图画上去
bg_x -= 1
if bg_x<=-1000:
bg_x = 0
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
screen.blit(road, (0, 500)) screen.blit(road, (0, 500))
screen.blit(hero, (150, y)) screen.blit(hero, (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