---
name: ferret
description: Start here for any work with the Ferret game engine (TypeScript over Babylon.js, runs on OS Beroun and in browsers). Maps a task to the skill that covers it: game setup, levels, characters, AI, UI, net, editing by commands, Unreal porting, and the physics capabilities.
---

# Ferret: where to start

A game is a canvas, `createGame`, a level and `game.start()`. Everything the engine does is also a named **command** on `world.commands`.

## Pick the skill

| Task | Skill |
|---|---|
| Install, build, first game | `ferret-getting-started` |
| Entities, components, services, events | `ferret-world` |
| A level manifest, travel, environment | `ferret-levels` |
| Generated landscapes, rivers, ice | `ferret-terrain` |
| Weather, clouds, storm sea | `ferret-weather` |
| Where a camera may go | `ferret-camera-limits` |
| `.ferret` packages, signing, encryption, caches | `ferret-packages` |
| `.fmdl` models: find, place, dock, make from glTF | `ferret-models` |
| Screen, device class, quality tier, saved state | `ferret-platform-display` |
| Actions, bindings, touch, HUD, menus | `ferret-input-ui` |
| Player movement, camera | `ferret-character` |
| Animation graphs, montages, retargeting | `ferret-animation` |
| NavMesh, NPC walking, behaviour trees | `ferret-ai-navigation` |
| Doors, levers, pickups, zones | `ferret-interaction-zones` |
| Audio, video and web pages in the world | `ferret-media` |
| Speech: TTS, STT, mic | `ferret-speech` |
| Swapping a character's look | `ferret-transform` |
| People, faces, clothes, species, glb bake | `ferret-humans` |
| Idle people: gestures, gaze, fidgets | `ferret-micromotion` |
| Figures change pose, aircraft fly and morph | `ferret-morph` |
| Things that break: cars, glass, bricks | `ferret-destruction` |
| Fire, smoke, explosions, splashes, energy | `ferret-vfx` |
| Crowds of animated characters | `ferret-crowd` |
| Far objects drawn cheaply | `ferret-perspective` |
| Replication, backends, voice, sign-in | `ferret-net-accounts` |
| Building or changing a level by commands | `ferret-level-editor` |
| Inside a game, tests; all cores | `ferret-debugging`, `ferret-ferretic`, `ferret-scheduler` |
| A video of a running game, in real time | `ferret-recording` |
| A UE5 level into Ferret | `ferret-unreal-porting` |
| A ported level that looks wrong | `ferret-unreal-level-look` |
| UE characters, NPCs, clips, AnimBPs | `ferret-unreal-characters` |
| A game into a UE5 project (`ue_build`) | `ferret-unreal-build` |
| Anything realistic: physics | `ferret-physics-recipes`, then `ferret-physics-host` |
| People on decks, quays, ships, sand | `ferret-physics-walkers` |
| Rotor or fan wash on the ground, water | `ferret-physics-response` |
| A scene needs a thing or a mechanism: library first | `ferret-scene-from-library` |
| A scene's logic: the game language | `ferret-motion` |
| Change light, places, params, see it at once | `ferret-live-edit` |
| Before "done": frame beside the reference | `ferret-frame-check` |

## First steps

`reference/getting-started.md`, the skill above, the references it names.

## Rules that hold everywhere

- **Every scene rests on the engine's physics unless it says otherwise**: nothing in the air, below a deck or in a hull; never a hand-set height (`ferret-physics-walkers`).
- **A scene's logic is written in the game language.** A missing mechanism is a module in it (TS externs where needed), never in the engine.
- Game logic goes in `onFixedUpdate` (fixed 60 Hz step); only presentation in `onUpdate`.
- Bind **actions**, never keys; the console has a cursor, A and B and no mouse look.
- A level's manifest refers to glTF nodes **by name**, so re-exports keep the wiring.

## Check afterwards

The test of what changed passes, never a full run or build for one edit. Faults: a key instead of an action; simulating in `onUpdate`; a renamed manifest node.

## Files

- `reference/index.md` — What Ferret is, what it runs on, and how this documentation is organised.
- `reference/getting-started.md` — Install, build, run the samples, write a first game, run the tests, build this documentation.
