hello! I've been trying to include a custom font in my game — using a 'fonts' folder, referring to it properly, all that — but while this method worked perfectly well for other fonts (even within this project), no pixel font I've tried seems to show up when playing, even after opening the game directly from the .html file. bit problematic, since that's the style I'm working in and I'd like the text to mesh well with it!
here's the code at the top of my stylesheet, for reference:
@font-face {font-family: Pixeloid Sans;
src: url("fonts/PixeloidSans.otf")format("opentype"));
}
I'd be very grateful if anyone could provide some help with this :) thank you for reading, and have a good day!