Commit e68ce732 by BellCodeEditor

auto save

parent 85ae095b
Showing with 3 additions and 3 deletions
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -46,16 +46,16 @@ while True: ...@@ -46,16 +46,16 @@ while True:
if jumpState == "up": # 起跳状态 if jumpState == "up": # 起跳状态
if t > 0: if t > 0:
y -= t y -= t
t -= 2 t -= 1
else: else:
jumpState = "down" jumpState = "down"
if jumpState == "down": # 降落状态 if jumpState == "down": # 降落状态
if t <= 30: if t <= 30:
y += t y += t
t += 2 t += 100
else: else:
jumpState = "runing" jumpState = "runing"
t =30 t = 30
# 悟空造型 # 悟空造型
wukong = hero[index] wukong = hero[index]
......
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