Commit 93ad4d99 by BellCodeEditor

save project

parent 0dd2b161
Showing with 2 additions and 0 deletions
......@@ -29,6 +29,7 @@ while True:
exit()
if event.type == locals.KEYDOWN:
if event.key == locals.K_SPACE:
if jumpState == "runing":
jumpState = "up"
if jumpState == "up":
if t > 0:
......@@ -45,6 +46,7 @@ while True:
t = 30
wukong=hero[index]
if jumpState == "runing":
index+=1
if index>len(hero)-1:
index=0
......
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