4 ms·
Almost right. You wouldn't necessarily have a separate rendering system for entities that require movement and those that do not. Instead you would likely have
by dyarosla 9y ago
Almost right. You wouldn't necessarily have a separate rendering system for entities that require movement and those that do not.
Instead you would likely have an additional system that operates on entities that have both position and render components and propagates updates from position to render data. The render system for all entities with just a render component would then remain the same.
This can be imagined as systems that work on signatures (a component set or aspect that specifies whether an entity's components match the system's criteria).
A render system would have an aspect of say [RenderComp] and a positionRender system would have an aspect of say [RenderComp, PositionComp]. Note that the positionRender system would not actually render anything, only serving as a propagater of data.