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
  • Teleport Event/Command
  • ...

How are those typically implemented into an ECS ? As "Event" Entities ? Components ? Or just regular method calls by an "Event pipeline" ?

What are the pros and cons ? What would you choose and why ?



You must log in to answer this question.

Browse other questions tagged .