Packages
Package Overview
Section titled “Package Overview”| Package | Role |
|---|---|
@yagejs/core | ECS, math (Vec2, Transform, MathUtils), events, scheduling, component base class |
@yagejs/renderer | PixiJS v8 rendering pipeline, sprites, graphics, cameras |
@yagejs/lighting | Radial lights, light-level queries, and lighting renderers |
@yagejs/physics | Rapier 2D integration — rigid bodies, colliders, joints |
@yagejs/input | Keyboard, mouse, gamepad, and touch handling |
@yagejs/audio | Sound loading, playback, and channel mixing |
@yagejs/particles | Particle emitters and visual effects |
@yagejs/tilemap | Tile-based map loading and rendering |
@yagejs/pathfinding | Grid A* pathfinding, with an adapter for tilemaps |
@yagejs/level | Level documents: read, validate, and load into a scene |
@yagejs/ui | In-game UI layout and widgets |
@yagejs/ui-react | React bindings for building game UI with JSX |
@yagejs/debug | FPS counter, entity inspector, and dev overlays |
@yagejs/save | Serialise and restore game state |
@yagejs/core is the foundation — every other package depends on it.
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages.