Nesteris wrote:It's impossible for layouts to be within layouts, or for them to be inter-connected in anyway, e.g. multi-layout editor, in Construct 2.
If you look back enough there's several threads I and other people made asking for Multi-layout editors and such but Ashley said it's impossible with the current architecture of the engine.
it's possible in Construct 3 since we'll be getting an editor SDK, but even then it's up to some genius to make it possible and not Ashley.
Your best bet is to make a save state of the game when switching to the pause menu and just loading the state when you exit the menu.
Rather than using save states I'll use an array to store the progress of the game, because save states won't do what I need it to.
So two layers can't run side by side... It seems like it'd be an easy task. Set up a layer that connects to a layout in the GUI and make the script that'd run the other layout run at the same time the layout you're actually on runs. The GUI would tell the engine to include the objects from one layout in the other, so you could include the event sheet that the other layout uses within the event sheet of the one you're actually on.
I'd have to take a look at Construct 3 later to see how that'd work though.
I also had the idea of just throwing all the objects I need for the menu in a folder and when I create a layout that uses the menu, create an event sheet that controls the object's positioning and then make them invisible when the menu isn't open, but that might become pointless.
I'll just go with your suggestion...