1
SFML projects / Re: Feather Kit - A C++ Game Framework
« on: March 06, 2014, 10:09:11 am »
Yeah there are a lot of ECS terminology/architecture/implementation hehe
What i mean is that you've put the behavior & data in the components and i wanted to know if that was originally intended and if something prevented you from decoupling data (into components) and behavior (in systems) and let the different Systems/Controllers iterate over the entities it's interested in (using bitmasks or keepEntity()-like fonctions to check if it has the right components like you did).
That's just a bit of curiosity on constraints encountered while implementing something like that, I have done a very simple one for learning purpose but never tried to layout the underlying type in order to avoid cache misses and optimize the performances. Your implementation seems to be very flexible and that's why I am very curious about the difficulties/choices happening during the development.
Maybe i am a little bit off-topic just let me know if that's the case,
Rexou.
EDIT : Nevermind, just saw your post on your blog explaining this part !
What i mean is that you've put the behavior & data in the components and i wanted to know if that was originally intended and if something prevented you from decoupling data (into components) and behavior (in systems) and let the different Systems/Controllers iterate over the entities it's interested in (using bitmasks or keepEntity()-like fonctions to check if it has the right components like you did).
That's just a bit of curiosity on constraints encountered while implementing something like that, I have done a very simple one for learning purpose but never tried to layout the underlying type in order to avoid cache misses and optimize the performances. Your implementation seems to be very flexible and that's why I am very curious about the difficulties/choices happening during the development.
Maybe i am a little bit off-topic just let me know if that's the case,
Rexou.
EDIT : Nevermind, just saw your post on your blog explaining this part !