Commit 44157577 by BellCodeEditor

save project

parent aadf7968
Showing with 6 additions and 2 deletions
...@@ -30,8 +30,12 @@ while True: ...@@ -30,8 +30,12 @@ while True:
jumpState == "up" jumpState == "up"
if jumpState == "up": if jumpState == "up":
if y > 150: if y > 150:
y += 5 y -= 5
else else:
jumpState = "down"
if jumpState =="down":
if y > 400:
y += 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