Commit b3a9cf32 by BellCodeEditor

save project

parent 0e03f8be
Showing with 2 additions and 1 deletions
...@@ -15,7 +15,7 @@ apple = pygame.image.load('bush.png') # 灌木丛 ...@@ -15,7 +15,7 @@ apple = pygame.image.load('bush.png') # 灌木丛
hero = [pygame.image.load('hero1.png'),pygame.image.load('hero2.png'),pygame.image.load('hero3.png'),pygame.image.load('hero4.png'),pygame.image.load('hero5.png')] hero = [pygame.image.load('hero1.png'),pygame.image.load('hero2.png'),pygame.image.load('hero3.png'),pygame.image.load('hero4.png'),pygame.image.load('hero5.png')]
index = 0 index = 0
f=30
c='runing' c='runing'
y=400 y=400
while True: while True:
...@@ -44,6 +44,7 @@ while True: ...@@ -44,6 +44,7 @@ while True:
f+=2 f+=2
else: else:
c='runing' c='runing'
f=30
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
screen.blit(road, (0, 500)) screen.blit(road, (0, 500))
......
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