Commit 01e0245d by BellCodeEditor

save project

parent 017bd614
Showing with 4 additions and 2 deletions
......@@ -119,8 +119,9 @@ while True:
gameover = pygame.image.load('gameover.png') # 游戏结束
screen.blit(gameover, (400, 200))
gamestate = False
if score> old_score:
score_audio.play()
old_score=score
# 刷新画面
pygame.display.update()
FPS.tick(60)
\ No newline at end of file
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