S
Shadowblitz16
Guest
hello I recently bought @YellowAfterlife 's apollo lua extesion
but I was wondering how to loop though the base directory and all its sub directories and populate the game with objects with json and lua files?
basically the way I want it to work is that I have a base folder which contains all the default code for the game.
and then I have a worlds folder where the users can override or add objects and scripts.
worlds would be for the overworld and levels
the format would go something like this...
can someone give me a step by step process on how to do this?
I also might need help with those individual steps
but I was wondering how to loop though the base directory and all its sub directories and populate the game with objects with json and lua files?
basically the way I want it to work is that I have a base folder which contains all the default code for the game.
and then I have a worlds folder where the users can override or add objects and scripts.
worlds would be for the overworld and levels
the format would go something like this...
Code:
\worlds folder
-\actual world folders with unique name
--\world file and level files
--|level folders with same name as level files
---\overridden base
----\...
can someone give me a step by step process on how to do this?
I also might need help with those individual steps