Skip to content

Phaser 3 Native Custom Fonts Demo

Latest
Compare
Choose a tag to compare
@scottwestover scottwestover released this 15 Nov 10:43
· 1 commit to main since this release
4af1714

A quick demo of how you can easily use custom fonts in Phaser 3 by using the new FontFile Loader! This new loader is available in Phaser 3.87.0, and it has support for TTF/OTF out of the box, so you no longer need to use a 3rd party font loader.

To learn more about this example, you can watch this video on YouTube here:

This release contains 2 additional zipped folders:

native-custom-fonts-start.zip: This zipped folder contains the initial code for this example.
native-custom-fonts-finished.zip: This zipped folder contains the completed code example.

Link to live demo:

Custom Fonts

Credit

The custom fonts that were used in this demo were created by Kenney and CodeMan38.