Game Folder Structure - e-ucm/ead GitHub Wiki
eAdventure games follow the next folder structure:
|-game.json
|-scenes
|- onescene.json
|- anotherscene.json
|- ...
|-atlas
|- onescene.atlas
|- onescene.png
|- ...
|-images
|- bg.png
|- ...
|-subgames
|- subgame1
|- subgame1.json
|- scenes
|- atlas
|- images
|- subgames
|- subgame2
...
NOTE: All json files (can o must? Revisar) can follow a simplified json notation with no double quotes.
game.json contains a Game, following the Game JSON Schema.
The folder scenes contains all the Scenes of the game, defined according the Scene JSON Schema.
This specification supports recursion as well. Under the 'subgames' folder there can also be other games stored each one in a separate subfolder following the same scheme. This allows reusing game pieces across games.
NOTE: The recursive specification of games through subgames is not implemented yet.