Hi,
I’m trying to solve this issue with collection proxy: I have a main menu and a game proxy that get loaded/unloaded from a handler script. Standard Defold pattern as per manual.
Now in my main menu collection I have a logo collection with go correctly placed.
In the init of the logo collection I move the element outside the screen and then animate them in with go.animate.
So far so good. Now the issue is that when I move back and forth between the main menu and the game proxies, I can see a flash of the main menu with the elements arranged as per editor before the init function takes over and does its bit of behaviour.
I’ve tried in my controller script first an “init” message and then a one frame late “enable” with no luck as per manual:
This message tells the collection proxy component that all the game objects and components that has been instantiated should be initialized. All script init()
functions are called at this stage.
Am I missing something obvious?
Thanks