For that use case there is the export option
Game Data Only (iPhone, iPad or game level without the executable engine). Use that to export the different levels. Then you have to use LoadGame();
(LoadGame on GE Script Reference) function to load the game from that file to be executed.
Let's say you have your main game.ged exported as game.exe and then you have your level1.ged exported as level1.dat. Here's how to use the LoadGame(); to switch between the games:
This code goes to the event where you want to move to level1:
- Code: Select all
LoadGame("level1.dat");
And this code goes to the event where you want to change back to game.exe:
- Code: Select all
LoadGame("game.exe");
Hope this helps. If you don't understand something, just ask and I'll try my best to answer you.

(Also, just in case you're wondering, yes, the function name looks like it has something to do with loading saved games (player's saved progress in a game), but no, the function doesn't have anything to do with those, it's just named a bit badly.

Should probably be something like "RunGame" or "ExecuteGame" instead.)