Commit 7a3a66f6 by BellCodeEditor

save project

parent f4564f47
Showing with 2 additions and 2 deletions
......@@ -13,7 +13,7 @@ cacti = pygame.image.load('cacti.png') # 仙人掌
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'),]
index = 0
js="down"
js="run"
y=400
while True:
for event in pygame.event.get():
......@@ -32,7 +32,7 @@ while True:
if y<400:
y+=5
else:
js="up"
js="run"
......
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