Commit dfad2d88 by BellCodeEditor

save project

parent af40e118
Showing with 10 additions and 4 deletions
...@@ -78,14 +78,14 @@ while True: ...@@ -78,14 +78,14 @@ while True:
if t > 0: if t > 0:
y -= t y -= t
wukong.rect.y=y wukong.rect.y=y
t -= 1.5 t -= 1.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 += 1.5 t += 1.2
else: else:
jumpState = "runing" jumpState = "runing"
t =30 t =30
......
{"第1名": 55, "第2名": 12, "第3名": 1} {"第1名": 55, "第2名": 15, "第3名": 14}
\ No newline at end of file \ No newline at end of file
import turtle
pen=tutle.pen()
distance=1
for i in range:
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