Answers for "pygame screen.blit text"

0

how to blit text in pygame

font= pygame.font.SysFont('Comic Sans MS', size)
textsurface = font.render(text, False, color)
win.blit(textsurface,(x,y))
Posted by: Guest on April-27-2021

Python Answers by Framework

Browse Popular Code Answers by Language