ECSpresso Examples
Documentation home · API Reference
Start with the introductory sequence, then explore a feature or a complete game.
Focused features
- Mutation and Change Tracking (Writes and No-Ops)
- Behavior Tree Basics (Selector, Sequence, Two Behaviors)
- Entity Hierarchy (Solar System)
- Camera Follow (Smooth Tracking, Shake, Bounds)
- Camera Zoom (Cursor-Centered Scroll Zoom)
- Isometric (Projection, Depth Sort, Camera)
- Isometric (Cursor-Centered Scroll Zoom)
- Isometric 3D (True 3D with Orthographic Camera)
- State Machine (Patrol / Chase / Attack)
- Tweens (Easing, Sequences, Loops)
- Screen Manager (Menu, Playing, Pause, Game Over)
- Audio (Channels, SFX, Music, Volume Control)
- Coroutines (Generator-based Scripted Sequences)
- Sprite Animation (Loop Modes, Named Clips, Speed)
- Particles (Presets, Burst, Continuous, Pooled)
- Viewport Scaling (Fit / Cover / Stretch + Pointer Conversion)
- React UI Overlay (ECS→React Hooks, HUD, Events)
- Patrol & Chase (Detection → State Machine → Steering)
- Flocking / Boids (Separation, Alignment, Cohesion)
- Behavior Tree (Advanced Villager Simulation)
- Tilemap (Runtime Map, Auto Collision Strips)
- UI / HUD (Anchored Labels, Panels, Progress Bars)
- RTS Movement (Box Select, Move Orders)
Diagnostics
Stress tests measure performance. The gamepad tester requires a physical device.