ECS #

Entity-Component-System is a game development paradigm that has become very popular recently. It allows very clear separation of behaviour from state.

Key ideas #

Components #

A component is a data type that can be associated to an entity. See here.

Entities #

An entity is just a “spawned” set of component values.

Systems #

Queries #

Commands #

Events #

  • It would be an interesting experiment to write an ECS to simulate everyday life.