Tagged Questions
2
votes
1answer
127 views
Selecting the entities needed for rendering [duplicate]
Currently I'm sorting and looping every entity on my level but I really don't need to. Only a small subset would be on screen.
If I could extract a list of entities from my main list that are on ...
1
vote
2answers
157 views
Benefits of implementing systems like classes instead of just functions
In an Entity System I am making, there is a central class called World, which stores all component instances. It's a dictionary-of-arrays, and entity ids are indexes for the arrays.
To access a ...
1
vote
2answers
444 views
Entity manager loop opinions
This days I'm refactoring code and one of the things I want to improve is my entity manager code. More precisely, the update funcion where entities are updated. My engine is a 2D tile based engine ...