Commit 69982415 by BellCodeEditor

save project

parent 67b9c44c
Showing with 2 additions and 2 deletions
...@@ -32,13 +32,13 @@ while True: ...@@ -32,13 +32,13 @@ while True:
if event.key==locals.K_SPACE: if event.key==locals.K_SPACE:
jumpState="up" jumpState="up"
if jumpState=="up": if jumpState=="up":
if y > 0: if t > 0:
y-=t y-=t
t-=2 t-=2
else: else:
jumpState="down" jumpState="down"
if jumpState=="down": if jumpState=="down":
if y <= 30: if t <= 30:
y+=t y+=t
t+=2 t+=2
else: else:
......
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