Savegame: two-phase data migration bug #88
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SketchyMaze/doodle#88
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
When you beat new high scores on levels: it first goes in your savegame.json file "the old way" naming the levelpack and filename of the level.
And then on next return to title screen, the game will migrate that old data format to the new one: mapping them by level UUIDs.
This two-phase system should be cleaned up and just save them the new way to begin with, but it's good to know the game is backwards compatible that it reads data from both places.