A guide to use the Google WebFont Loader

Article by Richard Davey. Posted on 27th Aug 2015.   @phaser_


From the Amphibian Abstracts blog: "Putting text on a canvas is not trival, but Phaser makes it appear as if it were. To do the magic, Phaser is actually rendering the text to a hidden canvas and using that canvas to get the bitmap image to display in your main game canvas. The catch? Any font you use has to be already loaded and ready in the browser. Not a big deal if you want plain, boring text. But I wanted to use my comic's go-to font Sniglet."

Read Tutorial