Commit 061edab8 by BellCodeEditor

save project

parent 24669af3
Showing with 2 additions and 1 deletions
...@@ -39,11 +39,12 @@ while True: ...@@ -39,11 +39,12 @@ while True:
else: else:
jumpState == "down" jumpState == "down"
if jumpState == "down": # 起跳 if jumpState == "down": # 起跳
if t < 30: if t <= 30:
y += t y += t
t += 2 t += 2
else: else:
jumpState = "runing" jumpState = "runing"
t=30
wukong = hero[index] wukong = hero[index]
if jumpState=="running": if jumpState=="running":
......
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