Legend Maker 10-27 [DOWNLOAD] - New Dungeon Themes! Save/Load Massive Update!
DOWNLOAD
Goodmornin' everyone! Let's start the day out by planning our forest & ice dungeons. Oh, and that'll be a lot easier now since saving & loading is almost instant. Compare that to what it used to be. Saving sometimes felt like forever. If you're interested in why, & what I did to fix that, read the longer text at the bottom, but let's get right into the meat of what is coming in this update.
Features:
- Forest Dungeon Theme
- Ice Dungeon Theme
- Completely Revamped Save/Load System
Fixed/Changed:
- Fixed Texture Swapping. Now it's more efficient & future proofs against loading crashes
- Fixed moon wand doesn't go over lower walls.
- Fixed Froggaus spam-able damage
- Fixed spamming mode switch button freezes game
- Fixed Froggaus boss death looks goofy
- Fixed Foresight boss death looks goofy
- Fixed big key door subtracting small keys
- Fixed not being able to interact with objects on lower layers
Working On Next Month!
- Foresight Boss Complete revamp
- Frog Leg Action Item (Jumping)
- Rolling
- Water Dungeon Theme
- Ice Puzzle Objects
- Custom Culling System (more strict than Unity Frostum Culling, since it still makes a big performance hit, even if there is no code running)
Long Save/Load Explanation
In Legend Maker, I can't just save the entire scene & load it with everything in tact. If I could, that would be great, but instead, I have to get and save every single object, it's position, it's prefab path, all extra object options, every single tile position, it's prefab path, which tilemap (layer) it is created on, every event/trigger, it's prefab path, it's position, & it's options, the background, all camera splits, how large they are, & then load all of those things in a huge loop, apply all options, change positions, etc... Then I have to save all map options! Then I have to save all warps, their positions, the warp map & position that each warp is connected to, a screenshot of the warp with a custom camera system. Before, when I was saving
Before, I was saving all of those things to a separate save file in a folder (for eg. Objects), then I was loading each file to see how many objects I had to create, & loading options, positions, etc from those files. Each file I would have to open & close individually. Then I was doing some un-optimal things to create the objects, like having to use resource load for each object individually.
The Optimization / Redoing the Saving & Loading Completely (While Allowing Old Map Conversions)
Now, I save Legend settings to a file, then map settings to a file, & lastly objects, tiles, backgrounds, etc to one file. I have little strings (words) to let me know if the loop needs to move to the next object (I use "*end" to signify the skip). For each object type, I just write "*Objects", or "*Tiles*", etc to a line. This allows me to just load every line in an array, loop through that array, & do some checks to make sure it's loading as optimally as possible & isn't loading more than it needs to. All together, this revamped save-load system allows me to load maps almost instantly. Warping between maps feels so much better, & generally takes under a second, even if the map is huge.