7 hours ago, Oberon_Command said:
The entity that binds the "event component" is the entity (or entities) to which the event applies.
I'm not sure how you are going from the singular entity that binds to the potential multiple binded entities. I suppose the component could allow specification of multiple topics. But, anyway, it imposes an asymmetricity that I don't like. I want my entities to contain data (so components) that concerns them only.
I'm working towards an architecture where entities have only their own components, and, of course, specific systems only work on the components that they care about. Then a higher level - the gameplay level - has its own systems, components and entities (scripted couplings in the form of interactions, and the ad-hoc triggering of these interactions, in the form of events).
The entire discussion started because I was wondering why make a new structure for these events when I can just use the existing entity component framework... So far, there are reasons for both, and I am still undecided.
7 hours ago, Oberon_Command said:
I've been assuming that if you're using ECS, you're already using a dynamic collection of components, probably arranged such that components are in homogeneous sub-collections. If you're not doing that, ECS is kind of pointless, because In my view the dynamic nature of ECS is one of its greatest benefits (the other being that designers can glue behaviours together somewhat arbitrarily). If that's an issue, I wouldn't be using ECS.
I've been assuming that this wasn't an either/or case... I'm using ECS in the places that it makes sense for my program - and I'm having this discussion to clarify those places
To be clear, I didn't decide on an ECS architecture. I simply arranged the program in a way that seemed logical, refactoring as I went. It is only when I am looking for advice or information about specific questions or problems that I have to force my architecture in to an established paradigm - because paradigms seem to be the primary vocabulary for discussing this things - with all the added confusion that that brings.