Posted October 14, 2023 by NonEuclideanOtter
Sorry its been so long since my last update! Got a little burnt out, started working on another project with friends, then the Unity pricing changes drama happened, which kinda killed my motivation.... but yesterday and today I managed to tackle a couple big longstanding issues.
Save files on WebGL should now persist across new versions of the game! If you run into any issues surrounding this, please let me know~
Save points have been functionally changed. You will now autosave and heal when walking over them, but you will not automatically rest at the camp (now known as setting your haven.) Resting at camp will set it as your new Haven, the spot you'll return to in the event of a game over, or when loading your save file. In addition, major events such as picking up power ups, defeating bosses or key enemies, or completing difficult platforming challenges will trigger an auto save. This means no progress will be lost upon dying. (Still being integrated)
Some considerations have to be made around this system to avoid unintended sequence breaks via death/reload-warping, such as key events forcing your Haven to update to a new location, etc.
Checkpoints function similar to auto saves with some differences. They save your location, and will be used for things like retrying a boss fight without having to run back from the savepoint... or a "Save and Exit" option that will save exactly where you are, to continue from later. The code for this feature is written and working, just needs to be integrated into various other systems.
Other notable changes in this version:
This is kind of an in-between update, theres still a bunch to do with these new saves systems, but I needed to upload here as a final test for the cross-version saves, so enjoy!