Commit 44cd056c by BellCodeEditor

save project

parent cf5a99f6
Showing with 4 additions and 4 deletions
...@@ -29,16 +29,16 @@ while True: ...@@ -29,16 +29,16 @@ while True:
if event.type == locals.KEYDOWN: if event.type == locals.KEYDOWN:
if event.key == locals.K_SPACE: if event.key == locals.K_SPACE:
jumeStarte = "up" jumeStarte = "up"
if jumpStart == "up": if jumpStarte == "up":
if y > 150: if y > 150:
y -= 5 y -= 5
else: else:
jumpStarte == "down" jumpStarte = "down"
if jumpStart == "down": if jumpStarte == "down":
if y < 400: if y < 400:
y += 5 y += 5
else: else:
jumpStarte == "runing" jumpStarte = "runing"
wokong = hero[index] wokong = hero[index]
index += 1 index += 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