New to Phaser 3 in general, and coming from briefly using Unity. In Unity, a common pattern is to use a Singleton Game Manager to manage state, and can use “Don’t Destroy on Load” to keep it active among scenes. Any tips to recreate a similar pattern in Phaser?
I have an inventory that needs to be updated globally, but I switch scenes constantly to explore an environment, as each section of the environment is its own scene.
I’ve briefly looked into the data section, it seems I can use this / attach my own objects to this (?). Anyone encounter a similar problem / have a good solution? Thanks.