Tag Info

New answers tagged

1

Unfortunately most of the tutorials you'll see will teach you some bad habits as far as state management goes. What you'll want to do here is avoid the object literal state declaration in favor of adding states from separate JS files in your index.html. (Don't forget to include them as <script>'s as well.) var game = new Phaser.Game(800, 600, ...



Top 50 recent answers are included