Commit 77d7966a by BellCodeEditor

auto save

parent 8d29e0ec
Showing with 12 additions and 0 deletions
......@@ -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:
# 接收到退出事件后退出程序
......
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