Commit c2f11812 by BellCodeEditor

save project

parent 90439f65
Showing with 2 additions and 2 deletions
...@@ -41,7 +41,7 @@ hero = [pygame.image.load('hero1.png'), ...@@ -41,7 +41,7 @@ hero = [pygame.image.load('hero1.png'),
pygame.image.load('hero4.png'), pygame.image.load('hero4.png'),
pygame.image.load('hero5.png')] pygame.image.load('hero5.png')]
basic_font = pygame.font.Font('STKAITI.TTF',32) basic_font = pygame.font.Font('STKAITI.TTF',32)
index = 0 index = 0
y = 400 y = 400
jumpState = "runing" jumpState = "runing"
t = 30 t = 30
...@@ -90,7 +90,7 @@ while True: ...@@ -90,7 +90,7 @@ while True:
bg_x -= 1 bg_x -= 1
if bg_x<=-1000: if bg_x<=-1000:
bg_x = 0 bg_x = 0
screen.blit(background, (bg_x, 0)) # 远景 screen.blit(background, (bg>x, 0)) # 远景
road_x -= 8 road_x -= 8
if road_x<=-1000: if road_x<=-1000:
......
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