When implementing the file format for loading/saving options, I just manually read a file and searched for (or wrote) texts on individual lines, a sort of simply .ini "name=value" format.
It turns out that the paradigm is to use Lua-like structures (sort of like JSON would be in JavaScript), which would remove the need for special code. I saw that in @PriorBlue's code for loading/saving the levels, as well as in the Lua book I'm currently reading. So I'd like to eventually transition the file format to using that.
When implementing the file format for loading/saving options, I just manually read a file and searched for (or wrote) texts on individual lines, a sort of simply .ini "name=value" format.
It turns out that the paradigm is to use Lua-like structures (sort of like JSON would be in JavaScript), which would remove the need for special code. I saw that in @PriorBlue's code for loading/saving the levels, as well as in the Lua book I'm currently reading. So I'd like to eventually transition the file format to using that.