pygame文字设置未成功:FileNotFoundError: No file ‘simHei‘ found in working directory ‘D:\pyprogect\练习文件‘.

myfont = pygame.font.Font('simHei',100)

改成:

myfont = pygame.font.SysFont('simHei',100)

你可能感兴趣的:(pygame,python)