Commit f19f39b2 by BellCodeEditor

save project

parent 686c5f10
Showing with 11 additions and 0 deletions
......@@ -121,3 +121,13 @@ while True:
# 刷新画面
pygame.display.update()
FPS.tick(60)
if score > old_score:
score_audio.play()
old_score = score
scoreSurf = basic_font.render("分数:"+str(score),True,(255,255,255))
screen.blit(scoreSurf)
scoreSurf = basic_font.render("第一名:"+str(score),True,(255,255,255))
screen.blit(scoreSurf)
scoreSurf = basic_font.render("第三名:"+str(score),True,(255,255,255))
screen.blit(scoreSurf)
\ 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