Open Lamby777 opened 1 year ago
For what it's worth, this also exists for player settings: https://docs.godotengine.org/en/stable/classes/class_configfile.html#class-configfile
So you can separate settings from your save file...
Probably gonna use bincode
for serialization just like I did for dg, and then use godot methods to write it to a file. That is, unless I want to support future versions. Probably gonna stick to JSON for a while into development actually, just so old save files continue to somewhat work in new versions.
Yeet.
This is more of a long-term thing, but save files should be saved/loaded with a binary format to be more efficient. For now, though, they're gonna be JSON or some other human-readable format for easier debugging.