Commit 035471cf by BellCodeEditor

auto save

parent c3af4945
Showing with 2 additions and 2 deletions
......@@ -33,7 +33,7 @@ while True:
jumpState="down"
if jumpState=="down" and y>=400:
jumpState="running"
if jumpState=="up":
y-=5
elif jumpState=="down":
......@@ -44,7 +44,7 @@ while True:
# 将背景图画上去
screen.blit(background, (0, 0))
screen.blit(road, (0, 500))
screen.blit(hero_list[index],(150,400))
screen.blit(hero_list[index],(150,y))
index+=1
if index>=5:
index=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