Launching one game from another
wsquires
30 Apr 2008, 13:50Is is possible to get the player app (Quest Pro, under control of the .asl/.cas file) to load a new .asl or .cas game file, and purge the old one (as opposed to simply launching a new game window while the old one is still open)?
I'd like to 'modularize' a rather large scenario so I can playtest each piece, and so the QDK Pro won't slow down so much having all those rooms, objects, and scripts floating around in the currently loaded .asl file. Plus, each new game "module" creates a new namespace, easing the problem of coming up with clever unique names for things!
This way, I can make a sort of 'cutscene'-type of effect as the player 'wins' the first area, they're then transported to the next area (represented by the new .asl/.cas file). I'd prefer to not have to rely on the player having to manually load the next file in the series!
I'd like to 'modularize' a rather large scenario so I can playtest each piece, and so the QDK Pro won't slow down so much having all those rooms, objects, and scripts floating around in the currently loaded .asl file. Plus, each new game "module" creates a new namespace, easing the problem of coming up with clever unique names for things!
This way, I can make a sort of 'cutscene'-type of effect as the player 'wins' the first area, they're then transported to the next area (represented by the new .asl/.cas file). I'd prefer to not have to rely on the player having to manually load the next file in the series!
Alex
30 Apr 2008, 20:45There's no direct way to do this, but you could use the "shell" command in ASL ("Other" category, "Run an external file" in QDK) - although this will launch the game in a separate Quest window.
Alf
08 May 2008, 13:16Hi Alex. Is this something that could be worked into a later version of Quest? It would be nice to launch another "chapter" of a game, especially if you could have some shared variables between them (user name, game parameters, etc.). Just something to ponder in your copious spare time. - Alf