Commit b39eb823 by BellCodeEditor

save project

parent b90e536f
Showing with 4 additions and 2 deletions
...@@ -30,11 +30,13 @@ while True: ...@@ -30,11 +30,13 @@ while True:
if jumpstate=="up": if jumpstate=="up":
if y > 150: if y > 150:
y-=5 y-=5
else:
jumpstate = "down"
if jumpstate=="down": if jumpstate=="down":
if y < 400: if y < 400:
y+=5 y+=5
else: else:
wukong="running" jumpstate="running"
wukong=hero[index] wukong=hero[index]
......
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