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
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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.