Open mattjennings opened 3 weeks ago
I'm into this, I'm leaning towards #1 because re-adding systems seems really rough... but on the other hand that's only once?
I agree, i feel like you'd need to expose the default systems somewhere to they can be spread in. Here's 2 more ideas:
// proposal 3
new ex.Engine({
world: {
systems: [...ex.DefaultSystems, MySystem],
}
})
// proposal 4
new ex.Engine({
world: {
setup(world) {
world.systemManager.addSystem(MySystem)
}
}
})
Context
It would be helpful to configure the default systems to be used for all scenes. This spares having to make a base scene class with the system added if I want to make sure it's always used.
Proposal