Staging/Running Architecture #41
minecrawler
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, sim-ecs tries to prepare all resources as early as possible, which means instancing registered types right from the start. This makes things, like adding systems later on, hard because it means keeping track of old and new instances and where they are in use.
That's why I want to change to a 2-phase architecture, where we only work with prototypes in the staging part, and when we start a run, all of the initialization is done and we work with instanced objects, referenced by their types (as we do it at the moment)
I see a few benefits:
maintain())The API-impact would be small, which is always a good thing
Beta Was this translation helpful? Give feedback.
All reactions