You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to write a game by only writing ECS code.
The interface between your game and the engine is world. That's it.
Each context should have a fn reconcile(self, world: &mut World) method that reconciles any deltas between that context and the World.
wrinkle: This could be implemented as a trait, but since our Contexts are known statically at runtime, there's probably no point. Though, perhaps users could someday provide their own contexts, or disable ones they don't need?
Background
world
. That's it.fn reconcile(self, world: &mut World)
method that reconciles any deltas between that context and theWorld
.Context
s are known statically at runtime, there's probably no point. Though, perhaps users could someday provide their own contexts, or disable ones they don't need?TODO
PhysicsContext
ECS driven #379InputContext
ECS driven #380asset_importer
ECS driven #381AudioContext
entirely ECS driven #382The text was updated successfully, but these errors were encountered: