Refractor the save.json
and the code which come with him
#11
Labels
enhancement
New feature or request
save.json
and the code which come with him
#11
before
After
After #14 done, we need to rewrite how to save the player data.
We need to store the file into
%AppData%
for Windows environment and~/.SuperMarioBros.3
for Linux environment because before thesave.json
is stored intores
of game code source and we don't have the possibility to had different save between computer or between user (It do to delete thesave.json
intores
, not really user friendly)As the
MapsGenerator
, maybe thejson
format is to heavy.Had a text file is better to fast read.
Render
save.json
to oriented objectinventory.py
state.py
position.py
save.py
The text was updated successfully, but these errors were encountered: