FERRETGame engine over Babylon.js
Ferret

Ferret: where to start

Skill ferret · download all skills · SKILL.md

Ferret is a game engine (pnpm workspace). 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#

TaskSkill
Install, build, first gameferret-getting-started
Entities, components, services, eventsferret-world
A level manifest, travel, environmentferret-levels
Generated landscapes, rivers, iceferret-terrain
Weather, clouds, storm seaferret-weather
Where a camera may goferret-camera-limits
.ferret packages, signing, encryption, cachesferret-packages
.fmdl models: find, place, dock, make from glTFferret-models
Screen, device class, quality tier, saved stateferret-platform-display
Actions, bindings, touch, HUD, menusferret-input-ui
Player movement, cameraferret-character
Animation graphs, montages, retargetingferret-animation
NavMesh, NPC walking, behaviour treesferret-ai-navigation
Doors, levers, pickups, zonesferret-interaction-zones
Audio, video and web pages in the worldferret-media
Speech: TTS, STT, micferret-speech
Swapping a character's lookferret-transform
People, faces, clothes, species, glb bakeferret-humans
Idle people: gestures, gaze, fidgetsferret-micromotion
Figures change pose, aircraft fly and morphferret-morph
Things that break: cars, glass, bricksferret-destruction
Fire, smoke, explosions, splashes, energyferret-vfx
Crowds of animated charactersferret-crowd
Far objects drawn cheaplyferret-perspective
Replication, backends, voice, sign-inferret-net-accounts
Building or changing a level by commandsferret-level-editor
Looking inside a running game, testsferret-debugging
A video of a running game, in real timeferret-recording
A UE5 level into Ferretferret-unreal-porting
A ported level that looks wrongferret-unreal-level-look
UE characters, NPCs, clips, AnimBPsferret-unreal-characters
A game into a UE5 project (ue_build)ferret-unreal-build
Anything realistic: physicsferret-physics-recipes, then ferret-physics-host
People on decks, quays, ships, sandferret-physics-walkers
Rotor or fan wash on the ground, waterferret-physics-response
A scene needs a thing: library first, then makeferret-scene-from-library
Change light, places, params, see it at onceferret-live-edit
Before "done": frame beside the referenceferret-frame-check

First steps#

reference/getting-started.md, then the skill above and only the reference file it points to (signatures: reference/api-<package>.md).

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 missing mechanism goes into the game's own code, never 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#

pnpm typecheck and the change's single tests pass, the sample loads, the commands answer. Usual faults: a key instead of an action; simulating in onUpdate; a renamed manifest node; a hand-set height.

Files#