Commit 50d26e1f by BellCodeEditor

auto save

parent 02994496
Showing with 2 additions and 2 deletions
...@@ -74,14 +74,14 @@ while True: ...@@ -74,14 +74,14 @@ while True:
if t > 0: if t > 0:
y -= t y -= t
wukong.rect.y = y wukong.rect.y = y
t -= 2 #t -= 2
else: else:
jumpState = "down" jumpState = "down"
if jumpState == "down": # 降落状态 if jumpState == "down": # 降落状态
if t <= 30: if t <= 30:
y += t y += t
wukong.rect.y = y wukong.rect.y = y
t += 2 # 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