cara menulis font di pygame
font = pygame.font.SysFont(None, 24)
img = font.render('hello', True, BLUE)
screen.blit(img, (20, 20))
Bored Bat
font = pygame.font.SysFont(None, 24)
img = font.render('hello', True, BLUE)
screen.blit(img, (20, 20))
font= pygame.font.SysFont('Comic Sans MS', size)
textsurface = font.render(text, False, color)
win.blit(textsurface,(x,y))