I have made a fluxogram explaining how the data-files and resource-files work::
Features:
- A data-file can point to more than one resource-file, also can point to a resource-file already pointed by another data-file;
- A data file can point to another data-file, this way, the game engine can also load into memory the pointed data-file;
- The previous feature allows the use of many data-files. A main data-file is created, and it point to the others data-files;
- While data-files store information, the resource-files store files itself;
- Data-files can be created and loaded at run-time. So, they can be used as *.sav files. You cound store information of an object, or a entire may, for example.
Screenshot of MEMaker(The previous game editor was discarded) loading a picture:
Look that in the field "Stored In" the developer can tell in which resource-file("ResFile" in this case) the picture will be stored. But, as you can see, the picture("PTileset001") information is inside the data-file "MainData".
... Now I'm working on the room-editor(the most important part of this game editor, of course).
Bookmarks