I am a little stuck on web fonts with typescript. I tried following this example without much luck.
http://labs.phaser.io/edit.html?src=src\game%20objects\text\static\custom%20webfont.js
I am loading the css in my html file that creates the web font and If keep the game from initializing and just put text on the screen, my web font show up correctly.
If I then have the game start up again and use this.add.text with the font family name, the text just shows up in the system font. Not sure what I’m doing wrong