Skip to content
Artyom Romskiy edited this page Oct 9, 2026 · 6 revisions

DeltaECS Wiki

This guide follows one small game idea: a clockwork arena where goblins, dwarves, humans, elves, and golems join a squad, move together, fight automatically, and can be recruited or knocked out.

Each page answers a gameplay question and then shows the DeltaECS operation behind it:

  1. Quick start — create and move one arena scout.
  2. Components, Tags and Queries — describe units and select the squad that can act.
  3. Create, Add, Remove, Destroy — recruit, equip, mark, remove, and despawn units.
  4. Entity Component Iteration — update movement, find targets, and reuse one generic functor for runtime-selected component types.
  5. Caching Operations — build a reusable operation once and invoke it from each update.
  6. Component Type Visitors — dispatch a registered ComponentId to a typed visitor, including interface-constrained routes.

Clone this wiki locally