Rendering order in an Entity System
- by Daedalus
Say I use a basic ES approach, and also inside Systems I hold lists of all entities that Systems are required to process.
How do I maintain this list of entities in desired rendering order, i.e. for a dumb 2D RenderingSystem?
I saw this discussion, and what they suggest is to do something like Z ordering - what I would probably do is just to…