Commit 1f3665fd by BellCodeEditor

save project

parent ae9c8544
Showing with 10 additions and 1 deletions
......@@ -131,7 +131,16 @@ while True:
sprite.score=0
if score > old_score:
score_audio.play()
old_score = score
old_score = score
scoreSurf = basic_font.render("分数:"+str(score),True,(255,0,0))
screen.blit(scoreSurf,(880,20))
scoreSurf = basic_font.render("第1名:"+str(score),True,(255,0,0))
screen.blit(scoreSurf,(880,50))
scoreSurf = basic_font.render("第2名:"+str(score),True,(255,0,0))
screen.blit(scoreSurf,(880,80))
scoreSurf = basic_font.render("第3名:"+str(score),True,(255,0,0))
screen.blit(scoreSurf,(880,110))
# 刷新画面
pygame.display.update()
......
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