3 ms·
I could possibly get you an example of both if you were interested. Most of the people using Phaser are using Tyepscript and doing multi-module management with
by georgefrick 11y ago
I could possibly get you an example of both if you were interested. Most of the people using Phaser are using Tyepscript and doing multi-module management with that. I use Browserify (and bring in Phaser separately).
If you have a state that loads levels, you change the level targets and restart the state so that the preload runs again and gets the new resources. Or you can load everything up front and approach multiple levels that way.
- kelukelugames 11y agoyes please teach me!
- georgefrick 11y agoHere is a multi-module project I wrote back in January: https://github.com/georgefrick/PhaserJsDemoGame https://github.com/georgefrick/PhaserJsDemoGame