lean / phaser-es6-webpack

A bootstrap project for create games with Phaser + ES6 + Webpack.
MIT License
1.28k stars 316 forks source link

Remove loading of bangers font by default in main boot class. #62

Closed JakeLaCombe closed 6 years ago

JakeLaCombe commented 6 years ago

I was looking through the code of the Boot state, and saw that it was trying to load the bangers font family. (https://github.com/lean/phaser-es6-webpack/blob/master/src/states/Boot.js#L14). Lately, the font has been taking a while to download, causing this game to to freeze on the loading fonts page.

Since this is the starting template for a game to build using webpack and phaser, perhaps it could be ideal if we remove the default behavior of loading a font library?

lean commented 6 years ago

thanks for the suggestion. Done https://github.com/lean/phaser-es6-webpack/commit/5e01f3dbf5e75d685ee59b91b45b90ec17d5faeb

JakeLaCombe commented 6 years ago

Thanks man!