Guide¶
This section explains the current architecture of Arepy from the outside in.
Recommended order¶
- Engine Lifecycle explains the frame loop and world switching
- Engine Services explains the shared tools you get with the engine
- ECS Basics explains entities, components, systems, and builders
- Queries explains filters and fast iteration APIs
- Resources and Systems explains dependency injection into systems
- Built-in Bundle summarizes the reusable components and systems shipped with the project
- Math Helpers covers the vector primitives used throughout the engine
Design themes you will see repeatedly¶
- components are data containers
- systems are plain callables grouped by pipeline
- queries are signed from type annotations
- resources are injected by type name at runtime
- examples favor small, direct system code