I'm creating a game which will target HTML5 for use both on Windows/Mac desktop machines in the browser (Chrome or Safari) as well as mobile in the browser (iOS with Chrome or Safari).
I have a .ttf font file I'd like to use for drawing text in the game. I installed the .ttf font to my Windows 10 development machine. I then created a font in the assets window in GameMaker and picked that installed font along with a desired size. In the game, I used draw_set_font() and draw_text().
I...
using a custom font in GameMaker when targeting HTML5
I have a .ttf font file I'd like to use for drawing text in the game. I installed the .ttf font to my Windows 10 development machine. I then created a font in the assets window in GameMaker and picked that installed font along with a desired size. In the game, I used draw_set_font() and draw_text().
I...
using a custom font in GameMaker when targeting HTML5