Commit 38ab10df by BellCodeEditor

auto save

parent b9ded19a
Showing with 4 additions and 3 deletions
...@@ -29,8 +29,9 @@ while True: ...@@ -29,8 +29,9 @@ while True:
screen.blit(road, (0, 500)) screen.blit(road, (0, 500))
if index>len(hero)-1: if index>len(hero)-1:
index=0 index=0
screen.blit(hero[index], (150, 400)) wukong=hero[index]
screen.blit(wukong, (150, 400))
index+=1 index+=1
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(20) FPS.tick(30)
\ No newline at end of file \ 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