— - Nice method for that.
But I have my own solution for a "mid-game" layout loader:
- Create a new layout as the loader
- Create an animated sprite for the loading indicator inside the layout
- Create a variable for the sprite and name it "load" or anything you think best
- Create a global text variable and name it "target_layout" or anything else
Then, add these events to the layout's event sheet:
== loader.load < 6000
--- Add fps to loader.load
== loader.load >= 6000
--- Go to layout "target_layout"
Finally, in the event when it should go to the loader and load the desired layout, set the "target_layout" variable to the name of the layout you want to enter, and go to the loader layout.
I hope it could work.