Commit dd7ebf9c by BellCodeEditor

save project

parent b793debc
Showing with 2 additions and 2 deletions
......@@ -40,13 +40,13 @@ while True:
if jumpState == "up": # 起跳状态
if t > 0:
y -= t
t -= 2
t -= 0.9
else:
jumpState = "down"
if jumpState == "down": # 降落状态
if t <= 30:
y += t
t += 2
t += 0.9
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