Update 0.15.0 - Devlog 5 - Auto Save and Loading Screen
- Developer
- 3 days ago
- 2 min read
Omg, finally got this almost working!!
Don't want to being silent for too long. Wanted to show this since last week but keep run into bugs and issues.
Nothing fancy, but probably one of the most basic and crusal system yet hardest to get right.
Added working temp loading screen and Auto save system. Including both save and load game menu.
The design are very generic and tempory for now. I have a different design in mind but to do that will take some experimentations and times, so I will leave the design for the future as the functionality is more important at the moment, since after this I can start working on more gameplay elements!
--------------------------------------------------------------------
Little bit of a tech talk below:
Took a while as there are many test and issues to fix since with each newly added features such as the emotion system, I need to make sure it link to the save system properly. As well as anything that didn't save or over-saved.
Not only that, in order to make the saving more optimised, I had to split the scene into multiple additive scene. Sounds simple enough, yet the implmentation is a pain as now I am having to deal with reference being lost cross scene, and loading priority conflicts. End up having to create multiple loading managers to deal with race conditions. And then there's also unity not allowing multiple event system and audio listener active at the same time, so need to add managers to manage them as well.
The good news is I think its almost done. Theres a couple more bugs that I need to fix and need to probably add in a spawner manager as well. Once those are done in the next couple days then I can start focus on the gameplay elements again. --------------------------------------------------------------------
In the future probably one of the biggest thing I need to watch out for espcially after demo is released is save file breaking changes. Don't want my players to lose their game progress. But probably the hardest to get it right.
Stay tuned~~