Commit b9c60ac5 by BellCodeEditor

save project

parent 3436a88c
Showing with 3 additions and 1 deletions
...@@ -39,12 +39,14 @@ while True: ...@@ -39,12 +39,14 @@ while True:
t+=2 t+=2
else: else:
w="run" w="run"
t=30
wukong=hero[index] wukong=hero[index]
if w=="run": if w=="run":
index=index+1 index=index+1
if index>=5: if index>=5:
index=0 index=0
y=400
screen.blit(background,(0,0))
screen.blit(road, (0, 500)) screen.blit(road, (0, 500))
screen.blit(wukong, (150, y)) screen.blit(wukong, (150, y))
# 刷新画面 # 刷新画面
......
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