Family Zoo Tutorial

Family Zoo builds a small zoo adventure in 17 steps. Each step adds one concept — by the end you'll have a complete game with rooms, objects, NPCs, puzzles, timed events, and scoring.

The Game

Seven rooms: Zoo Entrance, Main Path, Petting Zoo, Aviary, Gift Shop, Supply Room, Nocturnal Exhibit

Key objects: zoo brochure, zoo map, animal feed, souvenir penny press, flashlight, disposable camera, backpack, lunchbox

NPCs: a patrolling zookeeper ("Sam"), a squawking parrot, pettable goats and rabbits

The goal: Earn 100 points by visiting exhibits, feeding animals, pressing a souvenir penny, taking photos, and staying after hours.

The Steps

#TopicWhat You'll Learn
1A Single RoomStory interface, entities, traits, placing things
2Multiple RoomsRoom connections, exits, compass directions
3ScenerySceneryTrait, non-portable objects, aliases
4Portable ObjectsItems, inventory, taking and dropping
5ContainersContainerTrait, SupporterTrait, capacity
6OpenableOpenableTrait, closed containers, hidden contents
7Locked DoorsLockableTrait, DoorTrait, keys, exit via
8Light & DarkDark rooms, LightSourceTrait, SwitchableTrait
9ReadableReadableTrait, read vs examine
10SwitchableSwitchableTrait standalone, device patterns
11NPCsNpcTrait, behaviors, patrol, custom behaviors
12Event HandlersReacting to actions, chain events, item transformation
13Custom ActionsFour-phase actions, grammar extension, language
14Capability DispatchPer-entity behaviors, custom traits, dispatch
15Timed EventsDaemons, fuses, SchedulerPlugin
16Scoring & EndgameScore ledger, victory conditions, event chains
17Putting It All TogetherMulti-file organization, entity helpers, language layer

Prerequisites

Use the numbered tabs on the left to step through the tutorial, or start with Step 1.

Resources