NSSTC / sim-ecs

Batteries included TypeScript ECS
https://nsstc.github.io/sim-ecs/
Mozilla Public License 2.0
84 stars 12 forks source link

Add resources to save file #23

Closed minecrawler closed 1 year ago

minecrawler commented 3 years ago

When saving a world, there should be a way to include all resources, so saving and loading a world is always restoring the whole state, not only entities.

I imagine that this can be disabled using an option, in case the resources should be freshly created.