Linked Questions
10 questions linked to/from How to properly implement message handling in a component based entity system?
2
votes
1
answer
5k
views
Entity component system, Communication between components [duplicate]
I am trying to implement ECS for my simple 2D game. I would like to ask a question about how components should communicate between themselves and with entity.
I tried to implement few components, ...
120
votes
10
answers
22k
views
How does entity communication work?
I have two user cases:
How would entity_A send a take-damage message to entity_B?
How ...
9
votes
3
answers
4k
views
Component-based design: handling objects interaction
I'm not sure how exactly objects do things to other objects in a component based design.
Say I have an Obj class. I do:
...
9
votes
1
answer
7k
views
Intersystem communication in a ECS game
Apologies if this question has been answered before, but after relentless searching I couldn't find anything.
As many, I've recently jumped on the ECS-bandwagon, and I am currently killing some time ...
9
votes
4
answers
2k
views
Entity component system - game progression
I'm quite new to game development (but not to programming) and I'm trying to figure out what would be the best way to handle inter-world communication. What I mean is this:
I've been reading about ...
5
votes
3
answers
897
views
How can I achieve strong typing with a component messaging system?
I'm looking at implementing a messaging system in my entity component system. I've deduced that I can use an event / queue for passing messages, but right now, I just use a generic object and cast out ...
2
votes
2
answers
1k
views
How to convert and handle (controlling) OOP game objects via ECS?
I'm having hard time converting OOP game objects to Ashley ECS framework. I have a character, gun & a bullet class. The character uses the gun as weapon, the gun class has a fire method that ...
0
votes
0
answers
1k
views
Events and Entity Component Systems?
What are common ways to implement Events in an entity component system ?
Most games typically have following events :
Damage Events
Collision Events
Area of interest Events
Entity Died/Respawn events
...
2
votes
1
answer
397
views
Making more complicated systems(entity-component-system model question)
I'm using a model where entities are collections of components and components are just data. All the logic goes into systems which operate on components. Making basic systems(for Rendering and ...
1
vote
0
answers
219
views
Events with Entity Component Systems [duplicate]
I'm currently working on an HTML5 top-down simple RPG game, and as a learning experience I'm building my own little engine from scratch. After reading around a little I decided to go with the Entity ...