The entity-component tag has no wiki summary.
1
vote
1answer
99 views
Need opinions on my component based design [on hold]
I have an Entity class and a Component class. The Entity class has a list of attached components, and each component also has a member variable that is a reference to the entity that it is attached to ...
7
votes
3answers
283 views
Advices on Linking Between Entity Component System in C++
After reading a few documentation about entity-component system, i decided to implement mine. So far, I have a World class which contains the entities and the system manager(systems), Entity class ...
8
votes
3answers
322 views
Grouping entities of the same component template to linear containers
EDIT: Looks like people are actually doing this!
http://www.randygaul.net/2013/05/20/component-based-engine-design/
Another example of using this data accesing pattern.
I've done a lot of research ...
2
votes
0answers
92 views
Box2D Joints in entity components system
I search a way to have Box2D joints in an entity component system, here is what i found :
1) Having the joints in Box2D/Body component as parameters, we have a joint array with an ID by joint and ...
1
vote
2answers
170 views
Singletons & Entity Component Model, Global Engine Class
I am in the process of writing an entity component model game engine and I wanted to ask you a bit about the best way to lay out the code. I have run into an issue that I know will quickly cause me to ...
4
votes
2answers
621 views
Entity Component Systems with C++ - Accessing components
(What I'm describing is based on this design: What is an entity system framework?, scroll down and you'll find it)
I'm having some problems creating an entity-component system in C++. I have my ...
2
votes
1answer
209 views
Different kinds of movement in component based entity system
I am writing a pong clone with a component based entity system.
But I am having trouble with the different kinds of movement in the game.
The problem is the following: My paddles will just move up ...
3
votes
0answers
140 views
Techniques for incorporating physics engines like Box2D into a Component-based Entity System
Currently i'm working with my own physics engine, however given the fact that the emscripten ports have gotten incredibly good, i wanted to try and incorporate Box2D into my entity system for the next ...
3
votes
2answers
354 views
Handling movement using an Entity Component-based System Architecture
I have seen various descriptions of how to handle movement in a component-based entity framework. The most common I've stumbled across is the idea of using components called Controller, Physics, ...
7
votes
1answer
562 views
How to handle materials in an Entity/Component system
My E/C implementation is the basic one where Entities are just ID's, Components are data and Systems act on the Data. Right now I'm having trouble with object materials and rendering in general. For ...