New answers tagged component-based
How do I keep entity attributes modular, and avoid adding every attribute in the game to the Entity object? If you embrace the "entity is just a bag of components" concept, then this can be fairly simple. You package up related attributes into a component, and attach that component to certain entities but not to others. Attaching the component can be as ...
Top 50 recent answers are included