Packages
Package Overview
Section titled “Package Overview”| Package | Role |
|---|---|
@yagejs/core | ECS, math (Vec2, Mat3), events, scheduling, component base class |
@yagejs/renderer | PixiJS v8 rendering pipeline, sprites, graphics, cameras |
@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/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.