Serializer and Serializable #102
Labels
No labels
1. Balancing
1. Bug
1. Clean-up
1. Feature
1. Game Design
1. Improvement
2. Deliverable
2. Epic
3. Duplicate
3. Invalid
3. Need Design
3. Question
4. Battle System
4. Content
4. Debug Menu
4. Internals
4. Menus
4. Overworld
4. Sideview subgame
4. Subgame other
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: game-projects/sonic-radiance#102
Loading…
Reference in a new issue
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?
For the moment, serialized files (gamesave, options and metadata) are handled by specific class using binser. It would be simpler to create parent class that would handle that, especially as with time we will add more options and feature to the game.
The following parent class could be that:
This would cleanup a LOT of our code, and simplify a lot data saving. Metadata could be handled by a second serializer, that would read data from the game class and serialize/deserialize iteself each time the class save.