Is it possible to change fonts on pygame?
ETHANSIAO

I've been attempting to successfully change the font for my game in pygame, but it seems that it's not working.

I'm comepletely open to the idea that I'm just not doing it right, so please feel free to give me some pointers regarding how to change fonts successfully.

Thanks!

-E.S.

You are viewing a single comment. View All
ETHANSIAO

@ArchieMaclean that's not the correct font that it was supposed to display.

Try using the comic sans program, and you'll see it doesn't display comic sans either. The following is an image of what the result is supposed to be:
https://storage.googleapis.com/replit/images/1554490465056_de1c8ebb56611be7fe93c957cf5faa81.pn

This repl that exact same code, but it's still the same default font.
https://repl.it/@ETHANSIAO/Comic-Sans-Tester , and definitely not comic sans, (the image above.) Also notice that it's the result of the repl is the exact same font as what you got, meaning you also got the default text as well, just as I did when I ran that program. What needs to happen for that to change? Or is it simply not possible at the moment?