DeliriousRhino Posted June 12, 2014 Share Posted June 12, 2014 In Phaser is it possible to for states to have sub states? I am asking because I am build a children's game where the child will be presents with a series of mini games that are part of a larger game.I want to know what is the best way to encapsulate each game while also been able to show the mini game on part of the larger games screen. Link to comment Share on other sites More sharing options...
ragnarok Posted June 13, 2014 Share Posted June 13, 2014 I haven't figured out how to do this, but I'm trying. My only idea so far is: Starting another game state, offers the option to give parameters to the next gamestate. I'm trying to use an object with enough infos to recreate the current game state as a parameter to the next gamestate. http://docs.phaser.io/Phaser.StateManager.html#start Link to comment Share on other sites More sharing options...
Recommended Posts