gosu
gosu copied to clipboard
Load settings from json
Currently the game loades settings from hard-coded consts and bare "txt" file. With using json file, we can easily utilize settings.
I first loaded config from json file and set values using loaded config.
keys.txt
is for letting users set their own key settings temporarily. I agree that it needs to be more exquisite, but I guess changing the file from .txt
to .json
with additional struct only for config is premature at this stage.