Commit b132f094 by BellCodeEditor

save project

parent 6f28b851
Showing with 3 additions and 3 deletions
...@@ -32,14 +32,14 @@ while True: ...@@ -32,14 +32,14 @@ while True:
jumpState="up" jumpState="up"
if jumpState=="up": if jumpState=="up":
if y > 150: if y > 150:
y+=5 y-=5
else: else:
jumpState="down" jumpState="down"
if jumpState=="updown": if jumpState=="down":
if y < 400: if y < 400:
y+=5 y+=5
else: else:
jumpState="up" jumpState="running"
wukong=hero[index] wukong=hero[index]
index+=1 index+=1
......
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