Skip to content

The examples

Each is a Flutter app in examples/ of the repository, with its own tests. To run one, clone the repository and run flutter run -d macos in its folder. In a clone the engine is built from source, so you need Rust, and the first build takes a few minutes.

Example What it is
hello One turning cube, the smallest game
roll Roll a ball, take the gems: physics, a camera kept out of walls and a HUD (the tutorial)
starfall A portrait phone game: catch falling stars by touch, pooled objects and sparks, Flutter screens, a saved best score (the tutorial)
pocket_hole A portrait block-collecting game with touch controls, progression and mobile projects
garden A character in a garden, loaded from models; an orbit camera
coins Walk about picking up coins, level after level; triggers and a Flutter HUD
arena A small top-down game: waves, health, signals, tweens, pause
sheepdog A whole game that feels like an app: a title screen, pause menu, settings, rebindable keys, levels and a minimap
bowling Ten-pin bowling on physics: rigidbodies, a mesh collider, gestures
lab One scene per feature, with buttons and sliders to try it by hand
scale Not a lesson: 10,000 objects, to measure speed