Commit d87067ae by BellCodeEditor

save project

parent c04f40ce
Showing with 4 additions and 3 deletions
...@@ -121,9 +121,10 @@ while True: ...@@ -121,9 +121,10 @@ while True:
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(60) FPS.tick(60)
if score>old_score
score_audio.play()
old_score=score
scoreSurf=basic_font.render("分数:"+str(score))
......
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