Commit 0bc92ab4 by BellCodeEditor

save project

parent ee197b05
Showing with 5 additions and 0 deletions
...@@ -33,6 +33,11 @@ while True: ...@@ -33,6 +33,11 @@ while True:
y -=5 y -=5
else: else:
jumpState = "down" jumpState = "down"
if jumpState == "down"
if y < 400:
y +=5
else:
jumpState = "runing"
wukong = hero[index] wukong = hero[index]
index += 1 index += 1
if index == 5: if index == 5:
......
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