Hi, I'm not sure that I fully understand how the memory management works. So maybe my question or thoughts are just crazy and wrong.. :)
If I have understood the memory management correctly then everything on a layout is loaded into ram when switching into the layout, and then you also unload the previous layout. When you then go back to the first layout the same thing happens, you unload the current layout and loads the first layout into memory. (Images, sounds, etc)
If I create a game which just two layouts, is it possible to deactivate the memory management so that you load the entire game directly on the loading screen? So you don't need to unload and load everytime. Since I guess this would avoid the delay when changing layout. And also everything would actually fit into ram just fine.
One more detailed example is a "multi-card game" I create. Every different game uses its own layout, but the layouts contain the same stuff. (hi res bg, music, and high res deck of cards). I also have a menu screen.
With the current functionality, everything would be unloaded and loaded every time you switch from one game into menu and then into next game. Since every game basically uses the same assets it seems "bad" to unload and load the same stuff all the time.
I know there are some events to load and unload stuff manually, would it be good to use those in the above example?
But as I said in the beginning, maybe I have just misunderstood this all. :D