How to get text width in pygame?

前端 未结 0 1019
if score == 10:
  myFont = pygame.font.SysFont("times new roman ", 35)
  white = (255,255,255)
  text2 = ("You win! Congrats!")
  label2 = myFont         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题