Commit c212aaab by BellCodeEditor

save project

parent 77346646
Showing with 5 additions and 0 deletions
......@@ -13,6 +13,11 @@ cacti = pygame.image.load('cacti.png') # 仙人掌
apple = pygame.image.load('bush.png') # 灌木丛
hero = pygame.image.load('hero1.png')
index = 0
y=400
jumpstata="runing"
t=30
obstacle=random.choice([bush,stone,cacti])
rect=obstacle.get_rect()
while True:
for event in pygame.event.get():
......
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