All Questions
Tagged with entity-system entity-component
5 questions with no upvoted or accepted answers
2
votes
0
answers
135
views
Properway to pass information from one system to another in an entity component system design
After having read some example programs (namely Pong, Snake and Pacman) I am now experiencing with ECS. I am wondering where to put the elements for a reward flow. Do you know good practices for ...
1
vote
0
answers
867
views
How do you handle entity parent-child relationship in Ashley ECS?
In the below code example, is a parent-child relationship of an entities. Now every child should follow its parent position, and the child could be re-positioned anywhere.
...
1
vote
0
answers
375
views
How do I pool a bullet in libgdx ashley ECS approach?
I'm having problem creating bullet pool in ashley ECS approach, because i'm using PooledEngine, everything is pooled. So I've done is I just use ...
1
vote
0
answers
536
views
What is the proper way of creating bullet in libgdx ashley ecs framework?
I'm still thinking, how do I properly pool a bullet in libgdx ashley? Because the PooledEngine is available, which the Entities, ...
0
votes
1
answer
354
views
How would you implement and differentiate between input actions and input states?
Im currently trying to setup my game and Ive started to implement input. It works like this:
I have an Input class who notifies the ...