Archetype ECS Lib¶
A tiny archetype based ECS (Entity Component System) for TypeScript.
This documentation is split into 4 parts :
- Explanation of the general operation of the library
- Find information in the Reference
- Target a specific goal using the How-To Guides
- Learn through the Tutorials: step-by-step guidance
Install¶
Quick start¶
Note:
SystemFnis typed as(world: WorldApi, dt) => void.
Checkout the tutorials for more!
Notes & limitations¶
- This is intentionally minimal: no parallelism, no borrow-checking, no automatic conflict detection.
- Query results use
c1/c2/...fields for stability and speed; you can wrap this in helpers if you prefer tuple returns. TypeIdassignment is process-local and based on constructor identity (WeakMap).
License¶
This code is distributed under the terms and conditions of the MIT license.