Commit c4100d47 by BellCodeEditor

save project

parent 2cff0268
Showing with 6 additions and 5 deletions
...@@ -31,15 +31,16 @@ while True: ...@@ -31,15 +31,16 @@ while True:
if d =='jump': if d =='jump':
if o >0: if o >0:
y-=o y-=o
o-=y o-=2
else: else:
d='down' d='down'
if d =='down': if d =='down':
if o <=30: if o <=30:
y+=o y+=o
o+=2 o+=2
else: else:
d='running' d='running'
o=30
a=hero[index] a=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