Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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))
 
PREVIOUS NEXT
Tagged: #blit #text #pygame
ADD COMMENT
Topic
Name
2+8 =