Commit 6898bb8b by BellCodeEditor

save project

parent 5695f3c1
Showing with 7 additions and 1 deletions
......@@ -146,8 +146,14 @@ while True:
score_audio.play()
old_score=score
scoreSurf = basic_font.render("分数:"+str(score),True,(255,0,0))
scoreSurf = basic_font.render("分数:"+str(score),True,(255,255,0))
screen.blit(scoreSurf,(850,20))
scoreSurf = basic_font.render("第一名:"+str(one),True,(0,0,0))
screen.blit(scoreSurf,(850,50))
scoreSurf = basic_font.render("第二名:"+str(score),True,(255,255,255))
screen.blit(scoreSurf,(850,80))
scoreSurf = basic_font.render("第三名:"+str(score),True,(255,0,0))
screen.blit(scoreSurf,(850,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