Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

mozdevs/webfont-preloading

Repository files navigation

webfont-preloading

This is a collection of demos showing different techniques to preload CSS webfonts and use it in your games. Here we are using Phaser as a game engine/framework.

You can see these demos online here.

How to run the demos

You can also clone this repository and run them locally, but Phaser needs a server to be able to load assets. This means that just opening index.html will not work. There are several quick ways to run a local server:

With Python:

python -m SimpleHttpServer

With npm and http-server:

npm install http-server -g
http-server

About

CSS Webfonts preloading working in Phaser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published