Commit 10487230 by BellCodeEditor

save project

parent 2efbe3ae
Showing with 4 additions and 4 deletions
......@@ -28,16 +28,16 @@ while True:
if event.type == locals.KEYDOWN:
if event.key_SPACE:
jumpstate = "up"
if jumpstate = "up":
if jumpstate == "up":
if y>150:
y-=5
else:
jumpstate = "down"
if jumpstate = "down":
if jumpstate == "down":
if y<400:
y+=5
else:
jumpstate = "running"
......
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