Commit 377f2810 by BellCodeEditor

save project

parent b89b06d1
Showing with 4 additions and 4 deletions
......@@ -36,16 +36,16 @@ while True:
if event.key==locals.K_SPACE:
jumpState="up"
if jumpState=="up":
if t >0:
if t >60:
y-=t
t-=2
t-=10
else:
jumpState="down"
if jumpState=="down":
if t <=30:
if t <=60:
y+=t
t+=2
t+=10
else:
jumpState="runing"
t=30
......
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