【发布时间】:2019-01-11 02:59:23
【问题描述】:
我试图在屏幕的左上角得分,但它返回错误。
我已经在网上搜索并按照确切的步骤操作,但仍然返回错误。
def score(rounds):
font = pygame.font.SysFont(None, 25)
text = font.render(f'ROUND {rounds}', True, size=25)
game_display.blit(text, (0,0))
render() 不接受关键字参数 我尝试将 True 设置为 False,但这没有用。 顺便说一句,中间参数 True 是做什么的?
【问题讨论】:
标签: python pygame pygame-surface