Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to write a font in pygame

font = pygame.font.SysFont(None, 24)
img = font.render('hello', True, BLUE)
screen.blit(img, (20, 20))
Source by pygame.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #write #font #pygame
ADD COMMENT
Topic
Name
2+8 =