Commit 62beed36 by BellCodeEditor

save project

parent 72ce2273
Showing with 5 additions and 4 deletions
...@@ -41,10 +41,11 @@ while True: ...@@ -41,10 +41,11 @@ while True:
y += 5 y += 5
else: else:
S = "running" S = "running"
wukong = er[idnex] # 将图片保存到列表 if S == 'running':
idnex = idnex + 1 # 切换图片 wukong = er[idnex] # 将图片保存到列表
if idnex >= 5: # 判断列表范围 idnex = idnex + 1 # 切换图片
idnex = 0 if idnex >= 5: # 判断列表范围
idnex = 0
# 将背景图画上去 # 将背景图画上去
screen.blit(background, (0, 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