Commit 3643083a by BellCodeEditor

auto save

parent 381118f0
Showing with 2 additions and 4 deletions
......@@ -40,12 +40,10 @@ while True:
else:
jumpState="running"
wukong=hero[index]
index += 1
if index == 5:
index=0
# 将背景图画上去
screen.blit(background, (0, 0))
......@@ -53,4 +51,4 @@ while True:
screen.blit(wukong, (150, y))
# 刷新画面
pygame.display.update()
FPS.tick(40)
\ No newline at end of file
FPS.tick(50)
\ 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