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

Implement saving and loading #37

Open
8 tasks
numpad opened this issue Nov 7, 2020 · 0 comments
Open
8 tasks

Implement saving and loading #37

numpad opened this issue Nov 7, 2020 · 0 comments
Labels
engine engine improvements, nothing the player will really notice. feature A new feature to be implemented.

Comments

@numpad
Copy link
Owner

numpad commented Nov 7, 2020

The player should be able to continue playing exactly where they left, this requires the whole World and everything in it (and possibly much out of the Worlds scope) to be completely serializable.

  • All components
  • All systems
  • All events (?) [1]
  • Terrain
  • Camera (?) [2]
  • AssetManager (?) [3]
  • All entities (the registry)
  • Settings (Controls, Graphics, Audio)

[1]: Does this make sense? The only case I can currently think of is enqueued events that are buffered until next frame.

[2]: This probably makes sense. Maybe for saving while in a cutscene or something similar.

[3]: Definetly makes sense, but maybe not part of AssetManager? To load all previously active Assets. Maybe this will be handled differently.

@numpad numpad added engine engine improvements, nothing the player will really notice. feature A new feature to be implemented. labels Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine engine improvements, nothing the player will really notice. feature A new feature to be implemented.
Projects
None yet
Development

No branches or pull requests

1 participant