Conflux Posted February 2, 2017 Share Posted February 2, 2017 Is it called once, after preload, or on each frame like the update function? Is it a good idea to put a game state switch on it? Link to comment Share on other sites More sharing options...
paquiquinho Posted February 2, 2017 Share Posted February 2, 2017 I believe the create function is called only once after preload, as you stated. Link to comment Share on other sites More sharing options...
samme Posted February 3, 2017 Share Posted February 3, 2017 Yes, you can put a state switch there. Link to comment Share on other sites More sharing options...
3ddy Posted February 7, 2017 Share Posted February 7, 2017 init -> preload -> createhttps://phaser.io/docs/2.6.2/Phaser.State.html#methods you can learn more here, I think there was some Phaser StateManager ebook or smth like that and there was some nice diagram showing what is called in order Conflux 1 Link to comment Share on other sites More sharing options...
Recommended Posts