Commit 463a55cb by BellCodeEditor

save project

parent 44aee7bc
Showing with 3 additions and 3 deletions
...@@ -25,17 +25,17 @@ while True: ...@@ -25,17 +25,17 @@ while True:
if event.type==locals.KEYDOWN: if event.type==locals.KEYDOWN:
if event.Key==locals.K_SPACE: if event.Key==locals.K_SPACE:
jumpState="up" jumpState="up"
if jumnpState=="up" : if jumpState=="up" :
if y>150: if y>150:
y-=5 y-=5
else: else:
jumnpState="down" jumnpState="down"
if jumnpState=="up" : if jumpState=="up" :
if y<400: if y<400:
y+=5 y+=5
else: else:
jumnpState="running" jumpState="running"
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