Commit 72a99074 by BellCodeEditor

save project

parent e15c0cb6
Showing with 2 additions and 1 deletions
......@@ -31,7 +31,8 @@ while True:
if event.key == locals.K_SPACE:
jumpState = 'jump'
wukong = hero[index]
index += 1
if jumpState == 'running':
index += 1
if index == 5:
index = 0
if jumpState == 'jump':
......
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