source code

[Tutorial] How to import a custom webfont in Phaser and use fontSquirrel

Jump to the part you need: Loading fonts from remote urls Phaser Example Improving Phaser Example Loading fonts from local urls Using the improved Phaser Example Loading webfonts when offline Using CSS Using Phaser States Additional Information Non-English Languages How to use fontSquirrel BitMap fonts Final notes Many times I’ve struggled on how to implement […]