Commit fe6c3ce7 by BellCodeEditor

save project

parent 064153c2
Showing with 3 additions and 2 deletions
...@@ -28,6 +28,7 @@ while True: ...@@ -28,6 +28,7 @@ while True:
exit() exit()
if event.type==locals.KEYDOWN: if event.type==locals.KEYDOWN:
if event.key==locals.K_SPACE: if event.key==locals.K_SPACE:
if zt=="run":
zt="up" zt="up"
if zt=="up": if zt=="up":
if y>150: if y>150:
...@@ -35,10 +36,10 @@ while True: ...@@ -35,10 +36,10 @@ while True:
else: else:
zt="xia" zt="xia"
if zt=="xia": if zt=="xia":
if y<150: if y<400:
y+=5 y+=5
else: else:
zt="pao" zt="run"
wk=hero[index] wk=hero[index]
index+=1 index+=1
if index > 4: if index > 4:
......
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