Tutorial basics¶
Eight chapters covering the minimum you need to build something non-trivial. Read them roughly in order — each chapter assumes the vocabulary introduced in the previous one.
| # | Chapter | Topic |
|---|---|---|
| 1 | Components | Why components are records, field rules, markers |
| 2 | Entities | spawn / despawn, Entity handles, archetype formation |
| 3 | Systems | @System methods, class registration |
| 4 | Queries — @Read and @Write |
The hot loop API, Mut<C> |
| 5 | Resources | Res<R> / ResMut<R> |
| 6 | Change detection | @Filter(Added/Changed) |
| 7 | RemovedComponents |
Per-reader watermark drain |
| 8 | Commands — deferred edits |
Spawn/despawn from inside parallel systems |
When you're done, move on to the advanced section or jump straight to relations if that's what you came for.