Commit 26320f44 by BellCodeEditor

save project

parent 7719d2fd
Showing with 4 additions and 3 deletions
......@@ -22,9 +22,10 @@ y = 400
jumpState = "running"
while True:
wukong = hero[index]
index += 1
if index >=5:
index = 0
if jumpState == "running":
index += 1
if index >=5:
index = 0
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