"conditional" or partial compiling

Started by fratello Manu, Wed 17/07/2024 08:09:46

Previous topic - Next topic

fratello Manu

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!

Khris

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.

fratello Manu

Hi! Thanks for your answer! actually my aim is not only to reduce compile time, it's reduce game size. Thanks!

SMF spam blocked by CleanTalk