Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: fratello Manu on Wed 17/07/2024 08:09:46

Title: "conditional" or partial compiling
Post by: fratello Manu on Wed 17/07/2024 08:09:46
Hi everyone!

Is it possible to exclude from final game compiling all the "un-used" resources?
Use case: I want to create a "game series" which will share many common resources (characters, rooms, etc)
So I was thinking about managing all games into a single project, sharing all common resources and scripting separated plots, etc.

Is it possible to insert some "tags" in code to define a part which belongs only to a certain game?
In order to avoid including also the un-used resources while compiling a particular game.

Sorry If I didn't make myself clear... In my head it's simple but maybe not so simple to explain.

thanks!
Title: Re: "conditional" or partial compiling
Post by: Khris on Wed 17/07/2024 11:31:54
I'm reasonably sure that you can add/remove rooms from a game by simply moving the files (.crm & .asc) inside/out of the game folder (while the editor is closed of course).

That should be enough to reduce the compile time. Other resources like audio files and sprites cannot be split anyway afaik.
Title: Re: "conditional" or partial compiling
Post by: fratello Manu on Thu 18/07/2024 09:02:11
Hi! Thanks for your answer! actually my aim is not only to reduce compile time, it's reduce game size. Thanks!