Commit d31d89ab by BellCodeEditor

auto save

parent 169f6177
Showing with 0 additions and 1 deletions
...@@ -96,7 +96,6 @@ while True: ...@@ -96,7 +96,6 @@ while True:
if sprite.rect.x <= 0-sprite.rect.width: # 障碍物消失 if sprite.rect.x <= 0-sprite.rect.width: # 障碍物消失
# 创建障碍物对象 # 创建障碍物对象
sprite.kill() sprite.kill()
if pygame.sprite.collide_rect(wukong,sprite): if pygame.sprite.collide_rect(wukong,sprite):
ig=False ig=False
go = pygame.image.load('gameover.png') go = pygame.image.load('gameover.png')
......
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