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.
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.
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.
Dream Mix
2023-10-28 00:15:55 +0000 UTCDream Mix
2023-10-28 00:01:21 +0000 UTCGenericBruh7
2023-10-27 18:53:22 +0000 UTCGenericBruh7
2023-10-27 18:50:25 +0000 UTC