deletedacc Posted September 17, 2015 Share Posted September 17, 2015 http://phaser.io/docs/2.4.3/Phaser.GameObjectFactory.html shouldn't it have an entry for state? saw some code for: game.state.add and it took three parameters (third being a boolean) wondered what it was.... Alex Link to comment Share on other sites More sharing options...
drhayes Posted September 18, 2015 Share Posted September 18, 2015 game.state.add is from the StateManager. The third parameter is "autoStart", i.e. should the state manager switch to this state immediately. Link to comment Share on other sites More sharing options...
Recommended Posts