Code that contains the problem:

score_value = 0
font = pygame.font.SysFont('freesansbold.ttf', 32)

error:
in font_constructor  font = Font(fontpath, size)
pygame.error: font not initialized
Can someone explain why it's saying font not initialized and provide a
solution?
I have tried typing in the direct file path of the font but that didn't
work, nor did using SysFont
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to