Repository navigation
Home
Artyom Romskiy edited this page Oct 9, 2026
·
6 revisions
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:
- Quick start — create and move one arena scout.
- Components, Tags and Queries — describe units and select the squad that can act.
- Create, Add, Remove, Destroy — recruit, equip, mark, remove, and despawn units.
- Entity Component Iteration — update movement, find targets, and reuse one generic functor for runtime-selected component types.
- Caching Operations — build a reusable operation once and invoke it from each update.
-
Component Type Visitors — dispatch a registered
ComponentIdto a typed visitor, including interface-constrained routes.