Commit 01f9e831 by BellCodeEditor

save project

parent bb9774cc
Showing with 4 additions and 3 deletions
...@@ -31,17 +31,18 @@ while True: ...@@ -31,17 +31,18 @@ while True:
if jumpstate=="running": if jumpstate=="running":
jumpstate="up" jumpstate="up"
if jumpstate=="up": if jumpstate=="up":
if y>0: if t>0:
y-=t y-=t
t-=2 t-=2
else: else:
jumpstate="down" jumpstate="down"
if jumpstate=="down": if jumpstate=="down":
if y<=30: if t<=30:
y+=t y+=t
t+=2 t+=2
else: else:
t=30 t=30
jumpstate="running"
wukong=hero[i] wukong=hero[i]
if jumpstate=="running": if jumpstate=="running":
i=i+1 i=i+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