How to keep my state active even if moved to next state?


Hi All,
I am new to phaser2 and going through it and i came across state in phaser2. I need to know if i can maintain my previous state active in the background so that i can be able to handle assets loading in the active state without getting caught in the Phaser.cache.getImage error.

Thanks in advance,



This can’t be done in Phaser 2. States are exclusive and only one can be fully active at once (it’s why I redesigned them in Phaser 3 so they can run in parallel)




Okay, so is there a way to load all the assets in asynchronous format. If so can you please share some examples.