Saves - Richardng12/Terra_Tales GitHub Wiki
An automatic save has been implemented in our system where the player unlock status, past achievements, and past high score. This has been created in an attempt to help restore state between game plays. This avoids the frustration that stateless games have where the user must pass through the required menu and unlock the required levels on every instance. By removing this frustration, we are able to promote a more frictionless experience which we hope will promote our game and improve its reception to the general audience.
High scores are also saved between instances, giving the player an opportunity to view his past records. This is hoped to provide the player with references to past game play performance with which he can improve upon. This also allows the player to see his progression and should the player wish to improve his score, there are multiple avenues, from increasing the number of actions taken within a level to the level selection. By keeping the high score persistent, we are able to challenge other players and view our own progress over time.
Similar to high scores, the achievements are also saved between instances so the player can record their current progress, close the game and be reintroduced to the past achievements he has unlocked. He can then improve on his achievements and try to unlock them all without completing the already completed achievements.
The functionality is found within the SaveValues class, and called every 20 seconds to ensure everything is kept up to date. This should prevent unseen crashed from impacting the players ability to continue his gameplay.