Commit ab4e1b4f by BellCodeEditor

auto save

parent d32d2518
Showing with 1 additions and 1 deletions
......@@ -124,7 +124,7 @@ while True:
gameover = pygame.image.load('gameover.png') # 游戏结束
screen.blit(gameover, (400, 200))
gamestate = False
if sprite.rect.x +sprite.rect.width < wukong.rect.x:
elif sprite.rect.x +sprite.rect.width < wukong.rect.x:
if sprite.score == 1:
score += sprite.score
sprite.score = 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