Commit 8702051b by BellCodeEditor

save project

parent c0423b9b
Showing with 4 additions and 5 deletions
......@@ -35,23 +35,22 @@ while True:
if y >= 150:
y -= u
u -= 0.2
index -= 1
else:
douzou = "down"
if douzou == "down":
if y <= 400:
y += u
u += 0.2
index -= 1
else:
douzou = "runing"
yee = hero[index]
index += 1
if index == 5:
index = 0
if douzou == "runing":
index += 1
if index == 5:
index = 0
# 将背景图画上去
screen.blit(background, (0, 0))
......
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