-
Notifications
You must be signed in to change notification settings - Fork 157
Overwriting game saves is buggy #612
Description
Preamble for Improvements
Looking at the file and directory structure of the engine's route directory or as you've named it in the code base "base_path". Compiling and/or running the game has created the directories:
- resource
- scripts
However you could also benefit from just creating the following directories too:
- data
- save
Onto the actual problem
While saving seems to work, loading seems to not. When loaded, I just end up at the level 1 initial position in the game, I have also tried loading other levels (2 and beyond) of the game and then saving, same result, taken to level 1 initial position.
Upon investigating the save file
I have noticed that the content of the save file is set to load he level 1 map, I thought "Why always level 1? I mean there is level 0, why not there?" so I investigated further, I went into level 2, created a brand new save file with a different name and it saved successfully and loaded the correct state when loading.
Conclusion
I have made the conclusion that overwriting of game save files either is not being done or is failing.
If you need further information, please let me know.