Open Twinklebear opened 11 years ago
Done so far:
There is also the JsonHandler class available for usage for simplifying interactions with json files.
Working on cleaning up loading, Image, AnimatedImge and LuaScript now just load from filenames and can be saved as filenames. Save() still exists but will be migrated to being used for saving entities to seperate JSON files from the editor so DO NOT USE IT for Image/AnimatedImage. Unless you're adding in saving editor created data, but that's a ways off.
Images/Animations should be described through their own json file that would be loaded as needed, instead of directly in the state's json file
Loading/Saving changes system
Need to be able to save/modify the image data files in the editor
Entities should be in their own json files and loaded through file links in the state's json file
Maps should be described in their own json file
Tilesets should have an associated json file describing additional tile properties, which image to use and which tile goes with which clip
I think the various entity/map/etc. json files should be built into a single state file when exporting a build though, to reduce the amount of I/O operations needed to load a map.