I'm still very beginner with Python coding, but I've been working with the pygame demo. I've tried everything, but I can't seem to define fonts. It's driving me literally crazy, so I worked up the courage to ask the gurus here. I figure this is a silly error on my part, like misplacement, or a misunderstanding of renpygame's call codes ...
Code: Select all
pygame.font.init()
MY_FONT = pygame.font.Font("SUPERHEL.ttf", 15)Code: Select all
File "config.py", line 60, in <module>
File "C:\...\Ren'Py\renpygame-demo\renpygame\font.py", line 35, in Font
error: font not initializedI've been reading the "aliens.py" from the demo like a bible, which helped for other instances, but not with fonts yet.
Any insight would be very, very much appreciated.