Commit bfd0b9dd by BellCodeEditor

save project

parent 82a2cbf0
Showing with 15 additions and 0 deletions
...@@ -28,6 +28,20 @@ while True: ...@@ -28,6 +28,20 @@ while True:
if event.type == locals.KEYDOME if event.type == locals.KEYDOME
if event.key == locals.K_SPACE if event.key == locals.K_SPACE
jumpState == "up" jumpState == "up"
if jumpState =="down":
if t <
if jumpState == "up": if jumpState == "up":
if y > 150: if y > 150:
y -= 5 y -= 5
...@@ -39,6 +53,7 @@ while True: ...@@ -39,6 +53,7 @@ while True:
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