是。可以在pygame中绘制文本:
# initialize font; must be called after 'pygame.init()' to avoid 'Font not Initialized' errormyfont = pygame.font.SysFont("monospace", 15)# render textlabel = myfont.render("Some text!", 1, (255,255,0))screen.blit(label, (100, 100))
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)