diff --git a/my_game.py b/my_game.py index 99db358..2beb4ce 100644 --- a/my_game.py +++ b/my_game.py @@ -18,8 +18,20 @@ hero = [pygame.image.load('hero1.png'), pygame.image.load('hero4.png'), pygame.image.load('hero5.png')] index = 0 +t = 400 +jumpState ="runing" + + while True: + + + + + + + + for event in pygame.event.get(): if event.type == locals.QUIT: # 接收到退出事件后退出程序