Commit cfd0a37b by BellCodeEditor

save project

parent 13df7ffb
Showing with 8 additions and 0 deletions
...@@ -135,6 +135,14 @@ while True: ...@@ -135,6 +135,14 @@ while True:
print(score) print(score)
scoreSurf = basic_font.render("分数:"+str(score),True,(255,255,0)) scoreSurf = basic_font.render("分数:"+str(score),True,(255,255,0))
screen.blit(scoreSurf,(880,20)) screen.blit(scoreSurf,(880,20))
scoreSurf = basic_font.render("第一名:"+str(score),True,(255,255,0))
screen.blit(scoreSurf,(880,50))
scoreSurf = basic_font.render("第二名"+str(score),True,(255,255,0))
screen.blit(scoreSurf,(880,80))
scoreSurf = basic_font.render("第三名"+str(score),True,(255,255,0))
screen.blit(scoreSurf,(880,110))
if score>old_score: if score>old_score:
score_audio.play() score_audio.play()
old_score=score old_score=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