Commit 05822d06 by BellCodeEditor

save project

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