Commit 8f20cc3a by BellCodeEditor

save project

parent c4a42564
Showing with 5 additions and 4 deletions
......@@ -16,8 +16,8 @@ hero = [pygame.image.load('hero1.png')
pygame.image.load('hero2.png')
pygame.image.load('hero3.png')
pygame.image.load('hero4.png')
pygame.image.load('hero5.png')]
pygame.image.load('hero5.png')]
index = 0
jumpState = "runing"
y = 400
......@@ -48,9 +48,9 @@ while True:
index = 0
# 将背景图画上去
screen.blit(background, (0, 0))
screen.blit(background, (0, 20))
screen.blit(road, (0, 500))
screen.blit(hero, (150, 400))
screen.blit(hero, (150, 900))
# 刷新画面
pygame.display.update()
FPS.tick(60)
\ No newline at end of file
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