Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Chosim on Sun 11/09/2011 01:40:47

Title: Smaller Game in 1 or 2 .exe files?
Post by: Chosim on Sun 11/09/2011 01:40:47
Hi. Is it possible to pack a smaller game in one .exe file (Except the Setup maybe)?
Title: Re: Smaller Game in 1 or 2 .exe files?
Post by: pcj on Sun 11/09/2011 03:20:39
Well, considering the default game creates one .exe file when you compile it, I would say yes.
Title: Re: Smaller Game in 1 or 2 .exe files?
Post by: monkey0506 on Sun 11/09/2011 04:09:20
AGS always creates one executable for your game, a copy of winsetup.exe that specifically links to your game EXE, and the configuration file that your game uses to store things like graphics driver, filter, etc. So I'm not sure what the question is here.

If you're wanting perhaps to launch a smaller game within a larger game (i.e., a "minigame"), you could look up the RunAGSGame function which allows you to launch a separate AGS game executable from within a currently running AGS game. You could then use the same function to return back to the main game as appropriate.