Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overwriting game saves is buggy #612

Open
Helenah2020 opened this issue Aug 17, 2023 · 0 comments
Open

Overwriting game saves is buggy #612

Helenah2020 opened this issue Aug 17, 2023 · 0 comments

Comments

@Helenah2020
Copy link

Helenah2020 commented Aug 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant