# Tidewater 1.2.22: water for Zero games
Oceans, lakes, ponds, swimming pools, rivers, streams, waterfalls, puddles and wet streets,
shorelines and the view under the surface, plus the little water effects that make it feel
real. Every kind of water comes in **seven looks** (realistic, crystal clear tropical, cartoon,
painted ink, low-poly retro, pixel art and toy plastic), and they all work the same way, so a lake becomes a
cartoon lake, or a pond becomes a river, by changing **one setting**. The Zero engine ships no
ocean of its own: Tidewater is the water, and the engine floats things on every kind of it
natively (`FluidForces` on any water `Physics.defineWater` declares; Tidewater declares them all).
## An ocean in your world in five minutes
1. **Install Tidewater.** In the editor's ZeroMind panel search for "Tidewater water kit" and
press Install, or in the agent shell run
`zero zeromind installAsset 59484771-e730-4d73-ab7b-6afb09ab129e` (that is Tidewater's guid).
The splash and ripple effects (`tidewaterFx`) come with it. The ready-made scenes are a
separate package, `tidewaterScenes`, because they dress the water with other kits' props and
materials; install it as well only if you want them (see "Ready-made scenes").
2. **Add the sea.** A new world starts with a `main` scene; use it, or make another (in the agent
shell, `zero scene create sea flat --opts '{"startup":true}'`). The flat template's ground sits at
height 0, right on the waterline, so the sea's shore foam washes over it. The ground is made
by the scene's `build.luau`: delete its `ground` lines there, or lower its `localPosition`, for
open sea. Then, in the editor, select any entity (or make an empty one at height 0), press
*Add component* and pick **WaterBody**. Set `kind` to `ocean` and `preset` to
`tropicalLagoon`. The sea appears out to the horizon at once. (From the agent shell, use the
code below instead: there is no shell command for *Add component*.)
3. **Float something.** A box with a dynamic body (`Physics` with `kind = "dynamic"`) and a
collider (`BoxCollider`), plus the **Buoyancy** component (`tidewater.components.Buoyancy`, `density = 0.5` floats it half
under). Press Play: it rides the waves, and it splashes when you drop it in. Add the **Wake**
component and it leaves a foam trail as it moves (from about 1.5 m/s; `width` sets the trail
width).
4. **Change the look.** Set the WaterBody's `look` to `cartoon`, `crystal`, `painted`,
`lowpoly`, `pixel` or `toy`. Change `kind` to `lake` and give it a `size` for a lake instead: the
entity's height is the lake's surface, and its sculpted bed is drawn, not solid, so add a
collider under it if players or boats can reach the bottom (the dock guide's `lakeFloor`).
The same in code. A scene made with `zero scene create` builds itself in its `build.luau`, inside
`function content()`; put these lines there (`entity.spawn` in a build is saved with the scene):
```lua
-- in your scene's build.luau, inside content()
local sea = entity.spawn("Sea")
sea.component.add("tidewater.components.WaterBody", { kind = "ocean", preset = "tropicalLagoon" })
local lake = entity.spawn("Lake", { position = { 120, 4, 0 } })
lake.component.add("tidewater.components.WaterBody", { kind = "lake", look = "realistic", preset = "alpineClear", size = { x = 60, y = 40 }, depth = 6 })
-- later: lake.component.get("tidewater.components.WaterBody").look = "cartoon"
-- or: lake.component.get("tidewater.components.WaterBody").kind = "pond"
-- a boat on the lake: a dynamic body, a collider, Buoyancy and a Wake
local boat = entity.spawn("Boat", { position = { 120, 4.5, 0 } })
boat.component.add("Physics", { kind = "dynamic", mass = 160, angularDamping = 0.5 })
boat.component.add("BoxCollider", { half = { 0.7, 0.3, 1.7 } })
boat.component.add("tidewater.components.Buoyancy", { density = 0.4 })
boat.component.add("Wake", { width = 1.4, length = 3.4 })
```
From a script that runs in play (not a build), use `entity.spawnSynced` instead, so every player
gets the same water and boat.
After editing `build.luau`, run `zero scene reload scenes.main` (your scene's name) before pressing
Play, so the saved scene carries the new lines.
**Float a ragdoll** (or any set of jointed bodies: a chain of barrels, a broken raft). Each part
needs a dynamic `Physics` and a collider; one call floats them all, face down and bobbing, and a
river carries them:
```lua
local Water = require("tidewater.modules.water")
Water.floatBodies({ torso.id, head.id, armL.id, armR.id, legL.id, legR.id }) -- density 0.95 by default
```
**Let players swim.** Swimming is its own package, **tidewaterSwim**: in the agent shell run
`zero zeromind installAsset e447ad18-35ce-4b6c-8331-0800d3626a4f` (about 35 s; climbKit comes with
it), then add one line where your scene's build makes the player prototype's `body`:
```lua
body.component.add("tidewaterSwim.Swimmer", { feel = "arcade" }) -- or realistic, heavy, cartoon
```
Every player who joins can then wade, swim, tread water, dive and climb out. Its guide, *How to let
the player swim*, has the controls and the ways out of the water.
## What you get
| Kind | What it is | Presets |
|---|---|---|
| `ocean` | The spectral FFT sea out to the horizon: calm glass to a gale, foam where waves break and along the shore, a seabed seen through it, shoaling turquoise over a reef. Can also be a bounded tile (`extent`). | calmClear, darkChop, darkRolling, heavySwell, whitecapped, murkyGrey, paleSwell, glassyDark, gale, tropicalLagoon, northernGale, harbourCalm, moonlitSwell |
| `lake` | A still sheet in any outline over a sculpted bed: clear turquoise shallows to dark deep water, sky, sun and surroundings reflected, the bed and its caustics seen through it, shore foam. | alpineClear, tropicalLagoon, murkyPond, glacierMilky, darkPeat, nightStill |
| `pond` | The small, murkier lake. | lilyPond, murkyPond, greenAlgae, koiPond, swampy, clearSpring |
| `pool` | A tiled swimming pool with coping, deck, strong caustics and optional underwater lights. | outdoorPool, backyardPool, indoorPool, nightPoolLit |
| `river` | A ribbon along a `path` that visibly flows downhill, faster where steeper, white water through rapids; its current carries what floats. | forestRiver, mountainRapids, lazyLowland, muddyFlood, glacialMeltwater, canal |
| `stream` | The narrow, shallow, clear river with pebbles and riffles. | brook, mossyCreek, alpineRill |
| `waterfall` | A sheet falling from a lip, tearing into streaks, into a churning plunge pool with mist, spray and drips. | tropicalCascade, grottoVeil, alpineRibbon, wideCurtain, trickle |
| `puddles` | Puddles that form only in the low spots of a street while it is wet, mirror-like, ringing in the rain, drying away after. | cityStreet, muddyTrack, cobblestone |
| `shoreline` | Water meeting a long, gentle beach, a slow swell lapping up the slope and a wide band of surf wash along the waterline. | sandyBeach, pebbleCove, rockyShore |
| `hotspring` | A small mineral basin of milky warm water with steam rising off it. | milkyBlue, emeraldSpring, mineralTerrace |
| `underwater` | A deep basin made to be swum in: strong underwater fog, caustics on the floor, light shafts and bubbles rising from the bed. | kelpCove, deepBlue, murkyHarbour |
Eleven kinds, seven looks: **77 combinations**, shown side by side in the `gallery` scene.
**Looks:** `realistic`, `crystal` (tropical crystal clear: low absorption, turquoise
shallows, the bed sharp through it), `cartoon`, `painted` (ink linework over a colour wash),
`lowpoly` (flat-lit facets, retro), `pixel` and `toy` (glossy moulded plastic for toy-style games: two candy bands, a hard glossy highlight; also `plastic`, `toybox`, `bathtub`). The environment kits' names are accepted too
(`real`, `tropical`, `clear`, `toon`, `painterly`, `retro` and friends).
**Underwater**, for every kind: murky fog coloured by the water, moving caustic light on the
floor, light shafts, the surface rippling overhead, and a waterline split when the camera
straddles it.
**Effects** come from **Tidewater FX** (`tidewaterFx`), its own package that installs with
Tidewater and works without it: 15 effects, each in the seven looks. Tidewater's
`Water.splash` / `Water.ripple` and the `Wake` and `Splashes` components reach it, and other
kits can ask it for a ripple or splash with no dependency at all (see its README).
| One-shot | | Continuous (runs until stopped) | |
|---|---|---|---|
| `plop` | a pebble or thrown stone | `bow` | bow spray off a moving boat |
| `body` | a person or crate jumping in | `spindrift` | spray blown off breaking waves |
| `droplets` | a body climbing out, shaking off | `mist` | mist and spray rising off a waterfall or hot spring |
| `spray` | a burst of spray in the wind | `drips` | drips falling from eaves, a lip, a hull |
| `footstep` | a foot landing in a puddle or the shallows | `bubbles` | bubbles rising under water |
| `fishJump` | a fish leaving the water and falling back in | `wake` | the foam trail behind a boat or swimmer |
| `rainSplash` | one heavy raindrop: tiny crown and ring | `foam` | a drifting patch of foam in an eddy or under a fall |
**Splashes happen by themselves.** From the moment any Tidewater water exists, anything that falls
into it splashes, sized to what it is: a pebble plops, a person makes a big splash, something
climbing out drips. Each splash is played by the owner of the body and synced, so every player
sees it once. `Water.autoSplash(false)` turns it off for a game that plays its own.
## Floating, flow and asking the water
Every kind declares itself to the engine's water physics (`Physics.defineWater`), so the
engine's `FluidForces` and Tidewater's `Buoyancy` component float anything on any water, a
river's current carries it downstream, and `Physics.onWater` hears it splash in.
```lua
local Water = require("tidewater.modules.water")
Water.heightAt(x, z) -- the TOPMOST water's surface height there, or nil
Water.heightAt(x, z, y) -- the water at height y instead (a lower one of stacked waters)
Water.flowAt(x, z) -- { x, y, z } m/s: the river's current, the waves' motion
Water.normalAt(x, z) -- unit { x, y, z } the surface faces (tilted on a wave's face)
Water.surfaceAt(x, z) -- Surface? { height, flow, normal, depth?, water? } in one typed answer
Water.tideAt(x, z) -- TideState? { offset, rising, high, low }, nil where that water has no tide
Water.sample({ x, y, z }) -- the engine's whole answer: surface, depth, normal, velocity, floor, body
lake:heightAt(x, z) -- this lake's own surface there, nil off it (never another water)
lake:surfaceAt(x, z) -- also lake:flowAt, lake:normalAt, lake:tideNow()
e.component.get("tidewater.components.WaterBody"):heightAt(x, z) -- and :flowAt, :normalAt, :surfaceAt, for water saved with the scene
crate.component.add("tidewater.components.Buoyancy", { density = 0.45 }) -- floats 45% under, rides the waves
boat.component.add("Wake", {}) -- foam trail, bow spray, ripples
```
The module exports the types `Surface`, `TideState` and `Handle` (`Water.Surface` and friends
in strict code), and every `nearY` argument (the optional third one) picks between stacked
waters the way `heightAt`'s does. `normalAt`, `surfaceAt` and `tideAt` were added in this
round; `heightAt` and `flowAt` are unchanged.
Where waters overlap from above (a lake out over the sea, a pool on a ship's deck), `heightAt`
and `flowAt` with no height answer the top one, and a body asked about itself answers only for
itself: checked with a lake at height 10 over the showcase sea, `Water.heightAt` gives 10 over
the lake and the sea's height beside it, `heightAt(x, z, 0)` gives the sea under the lake, the
lake's own `heightAt` gives 10 over it and nil off it, and the sea's own gives the sea's height.
Measured: a 400 kg, 1 m box on the `tropicalLagoon` sea stays within 4 cm of the surface with
`Buoyancy` (6 cm with the engine's plain `FluidForces`); on a lake it settles 40% submerged, as
its density says. On rough seas `Buoyancy` holds a body to the water by itself: the rougher the
water under the hull moves, the harder it couples the hull to it (still water and gentle seas keep
the `damping` you set exactly). Measured over 60 s with a 1 m box at density 0.5: in a `gale` its
centre stays on average 0.15 to 0.45 m under the local surface and dips at worst 0.8 to 2 m in the
steepest troughs (before: 3 to 5 m); in a `northernGale` 0.16 to 0.29 m on average, 0.8 to 1.25 m
at worst.
## Puddles that follow the weather
Puddles fill in about ten seconds as the ground gets wet and dry away completely within `dryTime`
(75 s by default) after the rain stops, even when a weather kit leaves its wetness at 1: the
wetness falls in a straight line and ends at exactly 0, the sheet is hidden and no water is
declared. A dry street draws nothing. Measured with Cloudburst rain stopping on the showcase
street: coverage 0.85, then 0.49 after 24 s, 0.11 after 54 s (no physics water from here), and
exactly 0 by 73 s, while the rain kit still reported the ground 40% wet. Pictures of the same
street wet and dry are in `documentation/media/` (`puddles_wet.jpg`, `puddles_dried.jpg`,
`round19/puddles_dry_80s_after_rain.jpg`).
## Storms make the sea rough
An ocean follows the weather. Heavy rain (above 0.3, full at 0.8) or strong wind (above 5 m/s,
full at 15 m/s) from a weather kit, or from `Water.setWeather`, raises a storm sea: stronger wind
in the spectrum, bigger swell, choppier crests and more whitecaps. It builds over about 12
seconds and calms the same way when the weather clears. Every player runs the same weather from
the same clock, so every player sees the same storm sea. With no weather kit (and no
`Water.setWeather`) the sea never changes. Set `followWeather = false` on a WaterBody to keep a
sea exactly as its preset made it.
Measured on the showcase's calm sea, with the sea's own heights sampled every 13 m over 200 m:
calm spread (standard deviation) 0.21 m. A Cloudburst thunderstorm (rain 0.95) took it to
2.3 m in 12 s; clearing the weather brought it back to 0.21 m 13 s later. Pictures in
`documentation/media/round19/` (`storm_cleared_calm_sea.jpg`, `storm_thunderstorm_sea.jpg`).
## Moonlight on the sea
At night the sea lays a broad, glittering path of moonlight toward the scene's own moon light: a
day and night kit that lights the night with the moon (the world clock kit, Skyclock) makes the
moon the scene's directional light, and the sea reads a dim light that is cold (moonlight is
blue) or stands in a dark sky as the moon and widens its glitter into a path toward it, with the
light's colour and shadow. Day and dusk keep the sun's own glint. The path follows where the moon
is: a low moon lays a long column to the horizon, a moon high overhead puts the glitter on the
waves near you. A moon the sky only draws lights nothing, so it lays no path (the engine sky on
its own turns its light off once the sun is down): place a dim directional light for the moon,
or use the world clock kit. A scene with every light at zero has a black sea.
## Tide
An `ocean`, `shoreline` or `lake` can rise and fall like a tide. Two `WaterBody` fields:
`tide`, the range in metres from low water to high water (0 = none, the default), and
`tidePeriod`, the seconds from one high water to the next (600 = ten minutes, the default).
```lua
sea.component.add("tidewater.components.WaterBody", { kind = "ocean", preset = "harbourCalm", tide = 2, tidePeriod = 900 })
local t = Water.tideAt(x, z) -- { offset = metres above mean, rising, high, low }, nil without a tide
local t2 = handle:tideNow() -- the same for one water you made with Water.create / Water.attach
```
`Water.create` and `Water.attach` take `tide` as a number (the range, 600 s period) or a table
`{ range, period, phase }`. The tide follows the session's shared water clock
(`Physics.waterTime()`), so every player sees the same water at the same height and a late
joiner sees it where everyone else does; nothing is sent over the network. On the ocean the
drawn sea, the shoaling against the `ground`, the underwater pass and the physics water all
follow it; on a lake or shoreline the surface and its physics move while the bed and banks stay
put. The water follows in 2 cm steps, so a slow tide re-declares its physics only every few
seconds, and a water with no tide pays nothing. The maths alone is
`require("tidewater.modules.tide")` (`Tide.spec(value)`, `Tide.at(spec, time?)`).
A level a game drives itself goes through `handle:setLevel(offset)` (or the `WaterBody`
method of the same name): metres above or below the level the water was built at, added to any
tide. The drawn surface follows at once and the physics water in the same 2 cm steps, so it can be
set every frame. Each peer sets its own; drive it from the session clock or a synced value so every
player sees the same level. The floodKit package does this for flooding rooms and draining basins.
## Named varieties
Every kind has named varieties (`preset`); `Water.presets(kind)` lists them, default first, and
the kinds table above names them all. Plain words resolve too, matched without case, spaces,
dashes or underscores, the way a person asks for one:
| Kind | Plain words |
|---|---|
| ocean | glassy, calm, stormy / storm, rough, choppy, swell, grey, harbour / harbor |
| river | lazy, slow, rapids, whitewater, flood, meltwater |
| pool | backyard, garden, indoor, olympic, night, outdoor |
| waterfall | curtain, wide, ribbon, thin, veil, cascade, trickle |
| lake | alpine, clear, lagoon, murky, glacier, peat, night |
| pond | lily, koi, swamp, algae, spring |
| hotspring | onsen, milky, emerald, terrace |
| stream | creek, rill |
| puddles | city, mud, cobbles |
| shoreline | beach, sand, pebbles, rocks, rocky |
| underwater | kelp, deep, harbour |
`backyardPool` (an 8 x 4 m garden pool, 0.9 to 1.6 m deep, wooden deck) is new in this
round. A name a kind does not have falls back to its default with a warning naming the real ones.
## Rain and other kits
Tidewater needs nothing but the engine and Tidewater FX (which installs with it). Every other kit
is optional: it works with Tidewater when it is in the world, and nothing breaks when it is not.
None of them is installed by Tidewater, so the rain kit's large install stays your choice.
**Why the rain kit and the vehicles kit are optional, not installed with Tidewater.** A
dependency is installed into every world that installs Tidewater, including the many that only
want a lake. The rain kit's install brings about 29,700 files with what it depends on, and the
vehicles kit is about 55 MB with the controls kit beside it. Heavy extras inside the install are
also what once made Tidewater refuse to install in a fresh world at all. So Tidewater reads their
named values when they are there (rain, wetness, wind; any boat with a body floats) and works fully
without them. The swimming package is different: it is part of Tidewater and small, so it installs
Tidewater, the controls kit and the climbing kit itself.
| Kit | When it is in the world | When it is not |
|---|---|---|
| **Cloudburst** (rain and storms) | its rain rings lakes, seas, pools and puddles, puddles fill and dry with its wetness, and a storm makes the sea rough | no rings from the sky and no storm seas; `Water.setWeather({ rain = 0.6, wind = 12 })` drives the same thing from your own code |
| Any other weather kit | the same, if it writes the named values `weather.rain`, `weather.wetness` and `weather.wind` on an entity | as above |
| **Vehicles kit** (boats) | its boats float, bob and lay a wake on every kind of Tidewater water | any dynamic body with a collider and `Buoyancy` floats; `Wake` lays the trail behind it |
| **World clock** (day and night) | the water follows its time of day: dusk light, a moon path at night toward its moon | the water follows the engine sky's own time of day; the night sea is dark with no moon path unless the scene places a moon light |
| **Graphics Presets** | `quality = "auto"` follows its setting, battery saver included | `auto` picks by device; `Water.setQuality(...)` sets it from code |
| **tidewaterSwim** (swimming) | players wade, swim, dive and climb out | players walk on the bed and do not swim |
| **Tidewater Scenes** | six dressed starter scenes and the island demo | the gallery scene still comes with Tidewater |
Checked in a brand new empty world with none of these kits (2026-11-22): the sea and a lake build,
a boat and crates float, a jointed body floats, and with tidewaterSwim alone added the player swims.
Any kit can make rings and splashes without depending on Tidewater:
`Water.ripple(pos, strength)`, `Water.splash("plop", pos)`.
## Multiplayer
`WaterBody` fields replicate and every peer builds the same water from them; waves run on the
engine's shared water clock, so two players see the same swell. A floating boat is a synced
body (its owner simulates it, others see it where it is) and its wake is drawn on every peer
from its motion. Effects take `{ sync = true }`; automatic splashes are played by the owner and
synced, never doubled.
Checked live with two players in the showcase (2026-11-15, two clients in one play session,
readings taken at the same instants on the shared water clock):
- **Same waves:** the sea at a fixed point agreed within 0.7 to 2.4 cm.
- **Same boat height:** the rowboat's hull, owner against second player, at matched moments:
-0.055 / -0.019 to -0.048 m, +0.099 / +0.100 m, +0.171 / +0.177 m, +0.106 / +0.134 m (0 to
4 cm apart; the second player draws the boat the usual 0.1 to 0.5 s behind).
- **Two players, checked live:** a synced splash thrown on either client was received on the
other, and the second player's client draws the wake (5 foam segments in 18 s while the owner
rowed, after the fix; 0 before).
- **Checked again on 2026-11-16, twice, the second time after both players left play and came
back in** (the user's editor and a second client, one play session, the showcase rowboat rowed
out from its berth with W by the first player). Every frame both clients recorded the boat's
position against the shared water clock; the second player's track was then matched to the
owner's at the network delay that fits best (about 0.25 s):
- Run 1: 8 m rowed, 90 matched samples: heights 3.4 cm apart on average (horizontal 1.8 cm).
- Run 2, after the reload: 30 m rowed, 533 matched samples: heights 4.3 cm apart on average
(horizontal 3.4 cm). The largest single gaps (31 to 34 cm) come from sampling a 0.4 m swell at
3 to 6 frames a second on a busy machine, not from the boat being elsewhere.
- Wake on the second player: its client laid 35 wake foam segments of its own while the owner
rowed (run 2), and the wake shows in its view (`documentation/media/r11_second_player_wake_run2.jpg`).
- Splashes and ripples: a synced splash and a ripple ring thrown on either client arrived on the
other in both runs (run 2: 4 of 4 from the second player to the owner, 8 from the owner to the
second player). One single splash in run 2 arrived late, after more than 3 s, while the owner's
client was busy sending its own stream of automatic splashes.
- Three bugs this found are fixed: an idle boat nobody owned was simulated by no one and froze on
the waves (vehiclesKit now keeps an idle boat owned, sent upstream), the `Wake` loop stopped on
every player but the boat's owner (a refused status write ended it), and the wake's foam waited
behind 80 or more queued splashes on a player who had just joined, so it laid none (it is now
built on the spot, at most once a second per boat, until the pool is ready).
- **Boat height and attitude for every player (2026-11-22).** Another player's boat is drawn at
the session-clock moment the engine reports for its pose (`multiplayer.smoothing(e).stream.moment`,
0.22 s behind here) and carried on to session-now: across by the speed its poses move at, and up
by how far the sea under the hull rises between those two moments, read on the session-clock sea
(`Physics.water` at the session time), not on this peer's own water clock. The owner shares how
far its own water clock runs off the session clock (`Buoyancy.clockLead`, sent only when it moves
by 0.02 s or more). Measured with the user's client and a second client in one showcase play
session, both recording every frame and compared at the same session moments every 0.5 s:
- Before (round 19: the owner's freeboard smoothed over 3 s, drawn on each player's own sea),
61 moored samples: speedboat max 0.67 m, 68% over 10 cm; rowboat max 0.58 m, 49% over 10 cm.
- After, moored, 61 samples: speedboat max 6.2 cm (mean 1.5 cm), rowboat max 3.7 cm (mean
1.2 cm), none over 10 cm. Driven (speedboat circling at 3 to 6 m/s, 38 samples): height max
6.4 cm (mean 2.1 cm), none over 10 cm; pitch and roll within 0.05 degrees; horizontal mean
1.6 m, max 2.8 m, with the owner's client at 4 fps.
- Wake: over the same 46 s drive the second player laid 30 foam segments to the owner's 31, each
on the owner's track (mean 17 cm, max 1.6 m off) and laid within 0.12 s on average (max 0.59 s)
of the owner passing that spot. `Fx.wakeLog()` lists each player's segments with their
session times, so this check can be repeated.
- Limits: a peer drawing under 30 fps runs its water clock (and its sea) up to 0.5 s behind the
session in a sawtooth, because physics catch-up is capped at 2 steps a frame
(`physics.max_catch_up_seconds = 0.034`); a boat that peer owns rides that sea, and the other
player sees it up to about 30 cm off on a big swell. The tide's level also differed by 2 to 4
cm between the two clients. Two clients running different content (one started play before
an edit landed) float boats on different seas: compare `Physics.water` at one point and one
session time on both before measuring.
## Ready-made scenes
`tidewater.scenes.gallery`: all 77 kinds and looks, labelled, with walkways
(`Gallery.setTime("dawn" | "day" | "dusk" | "night")` relights it). It comes with Tidewater.
Six dressed scenes are their own package, **Tidewater Scenes** (`tidewaterScenes`), since they use
other kits' terrain, props and materials: `tidewaterScenes.scenes.*`: `tropicalLagoon`,
`northernGale`, `mountainLakeDawn`, `forestRiver`, `rainyStreet`, `waterfallGrotto`, plus the
island lagoon demo (`tidewaterScenes.demo.island_lagoon`). Install it from ZeroMind by searching
"Tidewater Scenes", after Tidewater.
## Every kind in every look, and against the old ocean
The gallery scene (`tidewater.scenes.gallery`) holds all 77 combinations: 11 kinds in 7 looks.
One contact sheet per kind, desktop app, 2026-11-22, early afternoon light (1.2.5):
| Kind | Sheet |
|---|---|
| Ocean | `documentation/media/gallery/ocean_every_look.jpg` |
| Shoreline | `documentation/media/gallery/shoreline_every_look.jpg` |
| Lake | `documentation/media/gallery/lake_every_look.jpg` |
| Pond | `documentation/media/gallery/pond_every_look.jpg` |
| Swimming pool | `documentation/media/gallery/pool_every_look.jpg` |
| Hot spring | `documentation/media/gallery/hotspring_every_look.jpg` |
| River | `documentation/media/gallery/river_every_look.jpg` |
| Stream | `documentation/media/gallery/stream_every_look.jpg` |
| Waterfall | `documentation/media/gallery/waterfall_every_look.jpg` |
| Puddles and wet street | `documentation/media/gallery/puddles_every_look.jpg` |
| Underwater (from above) | `documentation/media/gallery/underwater_every_look.jpg` |
Earlier day, dusk and night sheets per kind are in `documentation/media/kinds/`.
**Against the engine's old built-in ocean.** The engine no longer ships its ocean, and ZeroMind
no longer serves the old `oceans` package, so the two can no longer run side by side. They were
compared live while both existed, in the same scene, same preset and same light:
`documentation/media/ocean_compare_builtin.jpg` and `ocean_compare_tidewater.jpg` (day),
`ocean_dusk_builtin.jpg` and `ocean_dusk_tidewater.jpg`, and
`compare_builtin_vs_tidewater_{day_1,sunset_1,sunset_2,night_1,night_2}.jpg` (both seas in one
frame, the built-in on the left). Wave heights matched the built-in exactly (see "Where the sea
came from"); what changed is the light: no teal glow at dusk, a dark sea with a moon path at
night, glowing crests. Today's sea in the showcase, after the 1.2.4 speed work, from just above
the water: `documentation/media/compare/tidewater_1_2_5_{day,dusk,night}.jpg`. Nothing visible
was lost: swell, crest foam, shore foam, sun glints, the dark dusk sea and the moonlit night sea
are all still there (since 1.2.15 the moon path comes from the scene's moon light).
**Not shot yet:** the same gallery in the desktop browser and on the tablet (app and browser).
No browser session or tablet is connected to the editor this kit is built in.
## Cost
**How it is measured.** The kit's own bench (`tidewater.modules.costBench`, the `benchmark`
scene, or the pause menu's "Measure water cost on this device") builds each kind alone at an
empty spot far from everything else, looks at it through a camera of its own, and compares the
frame with the water against the same frame without it. Since 1.2.11 every cell reads two
figures from the engine's own frame-cost meter (`profiler cost`): **GPU**, the GPU time the
engine's own process spent a frame (`gpu (own)`, read from the driver's per-process counters,
drm_fdinfo on Linux), and **CPU**, the engine thread's CPU time a frame. Each is the frame with
the water minus the same empty frame measured just before it (the empty-scene baseline), so a
cell is what that kind adds. Every run is saved in `documentation/costs/`.
**GPU per kind and quality tier, desktop** (native desktop app, Linux, 1920 x 1080, dev build,
2026-11-22, two full runs of every kind at every tier: 12:01 and 12:17 UTC, files
`benchmark-native-202611221201UTC` and `benchmark-native-202611221217UTC`). Run 1 / run 2, ms of
GPU over the empty frame (which drew in 0.2 to 0.3 ms). The spread between runs on this machine
is about 0.1 ms for a single surface and up to 0.4 ms for the shoreline, hot spring and
underwater pass, so a negative cell is that noise, not a saving.
| Water | Low | Medium | High | Ultra |
|---|---|---|---|---|
| Ocean | +0.80 / +1.11 | +0.65 / +0.73 | +1.20 / +1.18 | +2.02 / +2.13 |
| Waterfall (sheet, spray, mist) | +0.10 / +0.43 | +0.13 / +0.13 | +0.13 / +0.08 | +0.21 / +0.08 |
| Underwater pass (camera under a lake) | +0.09 / +0.02 | +0.02 / +0.19 | +0.35 / -0.13 | +0.23 / +0.14 |
| River | +0.10 / +0.05 | +0.11 / +0.06 | +0.07 / +0.04 | +0.04 / +0.05 |
| Lake | +0.07 / +0.08 | +0.06 / +0.05 | +0.07 / +0.04 | +0.05 / +0.05 |
| Pond | +0.07 / +0.04 | +0.03 / +0.06 | +0.02 / +0.04 | +0.03 / +0.04 |
| Pool | +0.07 / +0.05 | +0.03 / +0.06 | +0.03 / +0.05 | +0.04 / +0.05 |
| Stream | +0.06 / +0.06 | +0.08 / +0.05 | +0.05 / +0.05 | +0.05 / +0.05 |
| Hot spring (steam) | +0.05 / +0.06 | +0.05 / +0.03 | -0.37 / +0.11 | +0.04 / +0.12 |
| Puddles (wet) | -0.03 / +0.05 | +0.05 / +0.04 | +0.01 / -0.01 | +0.09 / -0.04 |
| Shoreline | +0.07 / -0.17 | +0.07 / +0.04 | -0.56 / +0.06 | +0.04 / -0.29 |
- On this desktop GPU every kind but the ocean costs under about 0.1 ms of GPU, and the ocean
0.7 to 2.1 ms (its FFT, foam and surface passes), rising with its tier from medium to ultra.
- **CPU** in the same runs (engine thread over the empty frame, run 1 / run 2): the ocean +0 to
+11.8 ms depending on the round, the waterfall +2.7 to +10.3 ms (its spray and mist effect
graphs run on the CPU), the hot spring +0 to +6.4 ms (steam), every other kind +0 to +4.5 ms. The
machine ran several engine clients and agents at once, so CPU deltas under about 3 ms are
inside its round-to-round noise; the files list every cell.
- Whole frames (median wall time, both runs, every tier): the empty frame held the display's
60 Hz (16.5 to 17.8 ms). With one kind in it: lake, pond, pool, river, stream, puddles,
shoreline and the underwater pass 16.1 to 19.0 ms (53 to 62 fps); the hot spring 18 to 22 ms;
the waterfall 16 to 26 ms; the ocean 18 to 34 ms, with one ultra round at 83 ms. So on this
machine the still and flowing surfaces stay at or near 60 fps, and the three kinds that run
effect graphs or a wave simulation on the CPU do not.
**Browser: not measured for this version.** No browser client was reachable from the editor this
kit is built in (`zero client list` shows only the desktop editor's own client and its headless
helper), so the browser column for 1.2.11 is empty rather than guessed. The last browser figures
are one owner's desktop Chrome run of 2026-11-15, before the 1.2.4 speed fixes (bare frame
48.5 ms with 20.4 ms of GPU; ocean +20.2 ms frame / +2.4 ms GPU, puddles +7.5 ms GPU, underwater
+5.1 ms, lake and pool about +1.9 ms, others about 0), kept in `documentation/costs/`. The
Android tablet (app and browser) is not measured either (engine #25931: the editor cannot reach
an attached device). To fill these: open the world on the device, press Escape and choose
"Measure water cost on this device"; the run saves itself to `documentation/costs/`.
**What costs nothing (1.2.11).**
- **No water, no work.** The ripple field's loop and the underwater check start with the first
water and end with the last; a scene with no Tidewater water runs no Tidewater task at all
(checked with `profiler tasks` on an empty scene: none listed).
- **A still lake nobody is near does no per-frame Lua.** `WaterBody` has no per-frame `update`:
its own work (a changed field, the tide, the automatic splash listener, a sea following the
weather) runs on a task four times a second, and a field written at runtime is taken on the next
frame. The ripple field sleeps (looks again four times a second) while it is flat, dry and no
bound water is within 250 m of the camera; a drop, rain or a new water wakes it at once. The
underwater check runs every frame only while the camera is within 30 m of some water's box (or
over an endless sea), and four times a second otherwise. Measured with a lake 560 m from the
camera: the ripple task appeared in 2 of 18 one-frame samples and the underwater task in 3 (both
about 0.05 to 0.1 ms when they run, so under 0.01 ms a frame on average), nothing else of
Tidewater's; a drop beside the camera woke the field at once (60 steps in the next second).
- **A still sea costs nothing** (since 1.1.9): in a paused editor, or a frame where neither the
water clock nor the camera moved, the ocean skips its whole step and dispatches no GPU work.
- **Far effects rest.** A waterfall's mist and spray and a hot spring's steam farther than 90 m
from the camera stop emitting and are paused 10 s later (their effect graphs no longer run);
they start again inside 75 m.
- **Garbage.** Tidewater's own per-frame work allocates nothing in the showcase: the profiler's
`scripts` and `tasks` columns read 0.0 KB for Buoyancy (29 floaters), Wake, the ripple field,
the ocean step, the river, waterfall and lake tasks and the effects' tasks. What is left is
engine-side: `Physics.water` answers a fresh table (1.2 KB with its vectors) and has no form
that writes into ours, so the surface follow now keeps each hull's last sample in plain numbers
and reads again only every 0.25 s on a sea (carried forward by the surface's rise speed,
acceleration and slope in between, within a few millimetres on a swell) and only when the hull
moves 0.3 m or the water is redefined on still water. In the showcase that is 45 reads a
second for 25 near floaters, about 54 KB a second (under 1 KB a frame at 60 fps), where it was
one read per floater per physics step before (about 50 a frame).
**The showcase, the quiet scenes and 60 fps** (native desktop app, Linux, 1920 x 1080, dev
build, 2026-11-22 11:57 to 12:50 UTC, measured in play in the editor's own client with
`profiler cost`, several 5 to 6 s windows each). This machine ran several engine clients and
agents beside it, and the engine thread moved between performance and efficiency cores, which
alone swings a frame by tens of percent:
| Scene | Frames a second | Engine CPU a frame | GPU (own) a frame | Tidewater's own share |
|---|---|---|---|---|
| Empty scene (no water) | 37 to 59 | 12 to 26 ms | 0.2 to 0.3 ms | none |
| One still lake, nobody near | 55 to 59 | 12.0 to 13.2 ms | 0.2 ms | under 0.01 ms a frame |
| One lake beside the camera | 49 to 59 | 12.5 to 12.9 ms | 0.2 ms | ripple field 0.1 ms |
| Benchmark, one still or flowing surface | 53 to 62 (frame held to 60 Hz) | see the CPU note above | see the GPU table | the kind alone |
| Benchmark, one ocean, waterfall or hot spring | 29 to 56 | see the CPU note above | see the GPU table | the kind alone |
| Lakeside | 45 to 57 (22 to 30 while the machine was busier) | 14.5 to 20 ms | 0.2 to 3 ms | about 0.5 ms |
| Gallery (77 waters) | 9 to 12 | 58 to 70 ms | 6.3 ms | about 5 ms |
| Showcase | 7.7 to 13.4 | 69 to 114 ms | 2 to 18 ms | about 2 to 5 ms |
- **Quiet scenes are held back by the machine, not the water.** With the engine on performance
cores Lakeside's host-bound rate was 69 fps; on efficiency cores 50. The empty scene itself ran
at 37 to 59 fps here. Tidewater's share of a Lakeside frame is about 0.5 ms (ripple field,
effects watcher, wake, five floaters).
- **The showcase does not reach 60 fps on this machine**, and Tidewater is a small part of why.
Per frame: physics 12 to 16 ms (the engine's water forces on 29 floaters against the sea's
wave grid, plus the solver), the sky-visibility task 4 to 16 ms, rendering 15 to 30 ms
(`tail_finish`), effect graphs about 5 ms, the island's 252 props and the forest dressing,
garbage collection about 4 ms. Tidewater's own: the ocean step 0.6 to 0.9 ms, Buoyancy 0.5 to
3 ms, ripples, wake and effects about 0.5 ms. Since 1.2.10 the physics catch-up is capped at
two steps a frame (`physics.max_catch_up_seconds = 0.034`), which ended the spiral that made
slow frames slower.
- **The gallery** (77 waters on screen) is the heaviest scene: the effect graphs of its
waterfalls and hot springs (about 35 ms of CPU and MBs of garbage a frame, engine issue
01M80B3VZP1AQR343JKBWDTTBV: an effect play runs its graph every frame whether or not it
emits) and rendering. The far-effects rest above was added for it; it was measured working
(79 of 105 emitters rested) but the machine was too loaded during that run (40 to 50% of the
time waiting for a core) for a fair before/after frame rate.
**Earlier measurements.** The tables of 1.1.x to 1.2.10 (whole-frame and CPU deltas, the
renderer-tier runs, the 2026-11-16 showcase timings and the first benchmark of 2026-11-22
04:44) are in `documentation/costs/` with the date of each run. They predate the GPU column and
the no-work-without-water changes; this section replaces them.
## Where the sea came from
The Zero engine no longer ships an ocean of its own: Tidewater is the water, and its
components are `tidewater.components.WaterBody`, `tidewater.components.Ocean` and
`tidewater.components.Buoyancy`. Tidewater's spectral sea started as a port of the engine's old
built-in `oceans` package (the spectral sea, its foam, its seabed, things floating on it, its
nine sea presets and its tests) and keeps all of it. A world written for the old package moves
over by installing Tidewater and changing its require (rebuild the scene after, so a sea it
already made is made again):
```lua
local Ocean = require("tidewater.modules.ocean")
```
or, better, by replacing that sea with a `WaterBody` of `kind = "ocean"` (its `preset` takes the
same sea states), which adds the seven looks, the tide, the shared underwater view and the
light fix.
**History: the same sea, on screen and in cost.** While the old package still shipped, both
were measured side by side. A sea attached through `Ocean.attach` or the `Ocean` component with no `tidewater` option was drawn exactly as the built-in package drew it, and cost what it cost: Tidewater carries the built-in package's two last savings. A sea nothing moves costs nothing (the waves are evolved only when the moment drawn changes, the surface is re-placed only when the viewer moves, a frame on which neither happened dispatches no GPU work at all, and a paused editor's sea holds still), and the surface reads the scene behind it straight from the engine's own `zero::scene_color` and `zero::scene_depth` instead of copying the lit scene into textures of its own every frame. Tidewater adds one saving of its own on top: the surface mesh is no longer re-mirrored from the GPU every frame. Add `tidewater = true` to `Ocean.attach` (or use `WaterBody` with `kind = "ocean"`, which always has it) for Tidewater's light fix: lit by the real sky, no teal glow at dusk, dark with a moon path at night, glowing crests. The waves were the same: with the same preset, `Physics.water` heights matched the built-in sea exactly (a `gale` at high quality: RMS 13.38 m, 1% of points under -31.2 m, 1% over 28.6 m, on both). The two packages also ran side by side in one world, each sea alive and moving: Tidewater names its bodies of water, GPU resources and surface markers `twocean<N>_...`, where the built-in package used `ocean<N>_...` (`documentation/media/compare_builtin_vs_tidewater_*.jpg`: built-in on the left, a Tidewater tile on the right, at day, sunset and night). Everything else new (looks, bounded seas, wake foam, foam against piers, the moon path, tides) is opt-in.
## What's new in 1.2.22
- **On Tidewater FX 1.1.11: spindrift stays on the device when a game moves it.** A spindrift spray whose rate or wind was written while it ran (a waterfall's spray following the weather, floodKit's surge spray every frame) cooked its whole graph again on the CPU at every write; it now takes those writes on the device. Same spray, same look. See Tidewater FX's README for the numbers (Low Water's finale in the browser).
## What's new in 1.2.21
- **A floating body starts its follow on the step it is handed over, at every frame rate.** A body handed to the physics step since the last frame had no hull height or mass yet, so at 10 fps its follow started a frame later than at 60 fps and its path strayed by about 3 cm. The step now reads them itself once the body's collider size is known (it never takes the drawn model's height for a body whose collider is shaped differently). The `buoyancy: frame rate` test passes again.
- **A body with nothing to measure is refused by name again.** A body whose last check found a problem was only re-checked every few seconds once it had been handed over, so it was never refused or reported. It is now re-checked every frame until it is refused or fixed. The `buoyancy: the hull` test passes again. The buoyancy suite runs 29 of 29.
- 1.2.20 was held by a pull request whose version of this fix cached the drawn model's height too early; it was never released.
## What's new in 1.2.19
- **Floating things cost less physics time on a calm sea.** Every floating body, and every body watched for splashes, reads each wave of the sea's physics band at every corner of its hull on every physics step, so that read costs in proportion to how many waves the band carries. On the showcase's calm sea the band carried 1152 waves, four in ten of them under 3 mm high. Waves whose drawn height is under `physicsMinWave` (3 mm by default, an attach and `configure` option) are now left to the drawn surface, which still shows every one of them: 667 waves remain, and the water a body rides moves by 6.4 cm RMS from the drawn sea instead of 6.0 cm. The drawn sea, every look and every float are unchanged to the eye. `physicsBand()` names `minWave` and counts the waves left out in `residualRms`; `ocean:configure({ physicsMinWave = 0 })` carries every wave again, the band of 1.2.18.
## What's new in 1.2.18
- **The sea's foam costs a third as much graphics time.** The three living foam patterns (1024 x 1024 noise, six octaves each) were all regenerated every frame, the costliest thing the sea asks of the graphics card (about 3.6 ms a frame on a desktop). Their churn is slow next to a frame, so each frame now regenerates one of the three in turn, at its own moment: every pattern is at most two frames old. The foam, its churn and every look are unchanged; nothing else moved.
## What's new in 1.2.17
- **Built against the current engine library.** 1.2.16 moved the underwater passes to the three-argument `zero_linear_depth_through(depth, view_proj, camera_position)`, but this world still pinned an older engine library (`@builtin` 4c43a16) whose `depth` shader module only had the old four-argument reader. An engine that builds shader modules at the world's pinned library (a web engine, a player's engine) then failed to compile the underwater pass ("Requires 4 arguments, but 3 are provided") and diving showed the plain scene. This release is published with `@builtin` 9b32baa, whose `depth` shader module holds the three-argument reader, so the underwater view compiles everywhere. No change to what Tidewater draws.
- **Tidewater FX 1.1.10** comes with it, republished against the same engine library. Tidewater Scenes 1.0.6 and Tidewater Swim 1.0.5 depend on this release.
## What's new in 1.2.16
- **The view under water draws again on the current engine.** The engine's `zero_linear_depth_through` now takes `(depth, view_proj, camera_position)` and reads the near and far planes and the kind of projection from the matrix itself. Tidewater still called the old four-argument form, so its underwater pass (`shaders/underwaterPost`) and the ported sea's own underwater effect failed to compile ("Requires 3 arguments, but 4 are provided") and diving showed the plain scene. Both now use `zero_linear_depth_through(depth, engine.view_proj, zero_camera_position())`. The `near` and `far` properties that only fed the old call are gone from both effects, and nothing writes them any more; the horizon skirt still reads the camera's far plane.
- **The underwater test suite no longer depends on timing.** The camera test keeps a cache of water boxes, re-read when a body registers or every 5 seconds. The tests that define water straight through physics now ask for that re-read, so they no longer pass or fail depending on how long ago the cache was read.
## What's new in 1.2.15
- **The sea is lit by the scene's own lights** (contributed by Claude_test_nro_2 in pull request #14, finished in this world): the water's glitter, foam, caustics and backlit swell take the sun's shadow, foam takes the sky light, and with every light at zero the sea is black. The day colour stays the authored one: the column is read against a daylight sky on the 1.2.13 curve from 60 percent of daylight up, so a noon sea keeps its colour whatever the sun's strength (same-session A/B in the showcase, 4 shots each, ungraded mean of the sea pixels: 1.2.13 luma 109.0, saturation 59.3 percent; 1.2.15 luma 107.9, saturation 59.6 percent; the lagoon at noon 98.5 against 99.6). Below that the curve eases toward linear, so dusk no longer goes black: the lagoon at hour 17.8 had 78 percent of its sea pixels at black on 1.2.13 and 6 percent now.
- **The moon path comes from the scene's moon light.** A dim directional light that is cold or stands in a dark sky (Skyclock's moon, or one you place) lays a broad glitter path toward itself, with its colour and shadow. The hardcoded moon, night hue and crest glow under a set sun are gone; a moon the sky only draws lays no path.
- **A paused editor's sea moves** (`WaterBody.animateInEditor`, default on): an edit-mode editor advances the ocean on its own frame time (about 5 percent of the sea pixels changed between two shots 4 to 6 seconds apart in a paused editor); play keeps the clock every player shares.
- **New sea settings**: `reflection.gain` and `reflection.ceiling` (`sky_reflection_gain`, `sky_reflection_ceiling`), `foam.albedo`, and the backlit glow's `sss.body` (off by default) and `sss.facePower`. Screen-space reflections now run on the `medium` tier too; the ocean's GPU cost is unchanged within noise (medium 0.96 and 0.65 ms against 0.93 and 0.97 ms on 1.2.13, high 1.31 and 1.35 ms against 1.40 and 1.36 ms, costBench gpu own, 4 rounds, two runs each).
- **Tidewater FX 1.1.9** comes with it: its effect graphs list the engine's newer graph nodes (a refreshed node index, no change to what the effects draw). Tidewater Scenes 1.0.4 and Tidewater Swim 1.0.3 depend on this release.
- **The oceanLooks test suite finds its package wherever Tidewater is installed** (it read a fixed `/zero/source/tidewater.package` path before), and covers the moon path, the daylight colour and `animateInEditor`.
## What's new in 1.2.14
- **A level set from outside: `handle:setLevel(offset)`** (and `WaterBody:setLevel(offset)`,
`:levelOffset()`). Holds a still water (lake, pond, pool, hot spring, underwater, shoreline,
ocean) `offset` metres above or below the level it was built at, on top of any tide, so a game
can flood a room or drain a basin on cue. The drawn surface follows in 2 mm steps, so it moves
smoothly when set every frame, and the physics water is re-declared in the tide's 2 cm steps. The
level is kept across a rebuild (a change of kind, look or options). Each peer sets its own; a
level every player sees is driven from the session clock or a synced value, which is what
**floodKit** (water that rises and drains on cue, built on Tidewater) does.
## What's new in 1.2.13
- **A third of the kept splash plays** (tidewaterFx 1.1.8): the splash effect kept 3 ready plays of every entry it had played or warmed (its `pool` setting), and each kept play runs its graph every frame. A level with a pool, a flooded lab and a dock held 9 (body, footstep, droplets x 3) wherever the player stood. It now keeps 1 of each (a kind warmed for bursts keeps what it was warmed for). Measured in Brinefall Station's med bay (no water in sight): releasing those 9 plays took about 2.7 ms of engine CPU off every frame on a shared desktop.
## What's new in 1.1.13
- **Water effects cost nothing while parked or warming** (tidewaterFx 1.0.10): the splash and mist loops a water body
primes and parks far below the world (y -5000) used to keep simulating every frame; they are now paused until
used, and the first real splash still shows at once.
## What's new in 1.1.12
- **Clearer river docs** (issue #11): the how-to guide's river section says where the water lies (its own bed, the component's `ground` field, or a channel of your own with `options = '{"bed":false}'`), that `bed`, `groundOffset` and the bank and rapids settings go in `options`, and that `path` is a string (with a sample that joins a Luau table). The `path` and `ground` field descriptions say the same. Contributed through lanternStair PR #6.
- Built on the current engine library (33551d3).
## Guides inside
- *How to add water to my game*: every kind, looks, varieties, floating, tides, queries, performance.
- *How to add an ocean with waves breaking on the shore*, *How to add a lake or pond*, *How to add a river that carries things downstream*, *How to add a waterfall with spray and mist*, *How to add a swimming pool or hot spring*, *How to add puddles that fill when it rains*, *How to add a tide that comes in and goes out*: one kind or feature each, with copy-paste code.
- *How to make a boat float*: vehiclesKit boats on Tidewater, and your own hull with `Buoyancy`.
- *How to change the look of water*: the seven looks and every named variety.
- *How to make water run well on phones and tablets*: the quality field, `Water.setQuality`, battery.
- *Example: build a small harbour level*: a harbour sea with a tide, a pier, boats, floating crates and buoys, a river over a waterfall, swimming and rain.
- *Example: a fishing dock on a lake with a boat*: from an empty world to a lake you can row on.
- *Oceans*: the sea in depth, covering sea states, what each control does, the seabed, buoyancy, cost.
- Swimming is the **tidewaterSwim** package's guide, *How to let the player swim*.
## Credits
Tidewater's sea is built on the Zero engine's former built-in **`oceans`** package (`@builtin::systems.oceans`,
by the Zero engine team, which the engine no longer ships): its spectral wave simulation, cascades and Gerstner swell, Jacobian
foam, Beer-Lambert water colour, procedural seabed and caustics, buoyancy, sea presets and test
suites are that package's work, carried here as the starting point and extended. Its later
savings are carried over too, with thanks to the same team: "a sea nothing moves costs nothing"
(evolve only when the moment changes, re-place only when the viewer moves, a paused editor's sea
holds still) and reading the scene behind the water through the engine's own `zero::scene_color`
and `zero::scene_depth` rather than a copy of its own. Thank you.
## The parts
| Part | What it is |
|---|---|
| `components/WaterBody` | Any kind of water, saved with the scene: `kind`, `look`, `preset` and its shape |
| `modules/water` | The one API: create / attach / setKind / setLook, presets, heightAt, flowAt, normalAt, surfaceAt, tideAt, sample, setQuality, ripple, splash, setWeather |
| `modules/looks` | The seven looks as shader parameters |
| `modules/tide` | The tide: a water's level rising and falling on the shared water clock |
| `modules/kind_*` | One builder per kind (ocean, shoreline, lake, pond, pool, hotspring, river, stream, waterfall, puddles, underwater) |
| `modules/fx`, `modules/ripples`, `modules/weatherLink` | One-line bridges to `tidewaterFx` (effects, the GPU ripple field, weather) |
| `modules/underwater` | The view from below the surface, for every kind |
| `components/Ocean`, `components/Buoyancy`, `modules/ocean*`, `modules/buoyancy` | The spectral sea and floating (started as a port of the engine's old built-in `oceans` package) |
| `shaders/*`, `shaderModules/twCommon`, `computeShaders/*` | The water surfaces, the shared shading library, the GPU passes |
| `scenes/*` | Ready-made scenes and the gallery |
| `tests/*` | ocean, buoyancy, oceanLooks, underwater, surfaces, rivers |
## Known limits
Honest list, as of this version. Where the cause is in the engine, the engine's issue number is
given as **engine #NNNNN**; those are the numbers to look up and follow. Where this world's own
issue tracker also follows it, its number is given as *(world tracker #N)*.
- **An effect played before the kit has readied it shows late: engine #26227.** A new effect
play draws nothing until a long hidden warm-up through its whole graph finishes. Tidewater
readies every effect in the background as soon as a water is built (`Fx.prime`): measured on a
busy desktop, every one-shot was ready 0 to 8 s after the water was built and every continuous
effect (mist, bubbles, drips, foam, spindrift, bow spray) 30 to 38 s after. From then on every
effect draws within 0.05 s of being triggered, the first time and every time after (all 13 kinds
measured, twice). An effect triggered in the first seconds after load, before that, waits for
the engine's warm-up: on the same desktop more than 8 s. Call `Fx.prime(look)` at load, behind a
loading screen if you can, for a look of your own. *(world tracker #1)*
- **Stopping an endless effect does not hand it back for reuse: engine #26226.** Tidewater works
around it: a stopped mist, drips, bubbles, foam, spindrift or bow spray is parked (its emission
turned to zero) and the next one of its kind and look takes it over at once. *(world tracker #2)*
- **After a shader edit, existing materials and pooled effects keep the old shader: engine #26228.**
Rebuild the water (reload the scene, once it has finished loading) to see a change.
- **Reloading a scene while it is still loading never returns: engine #26225.** Let a ready-made
scene finish loading (the showcase takes up to a minute) before reloading it.
- **The ocean's top quality foam is over a GPU size limit: engine #9336.** At `ultra` the foam
texture is larger than some GPUs allow; `high` and below are not affected.
- **Opening a scene with no edits makes a clean world look changed: engine #26351.** Opening a
ready-made scene can write an empty record into it; `zm restore <scene>` takes it back.
- **Publishing a one-file change in a world with many kits takes minutes and freezes the editor:
engine #25764.** Expect this when you push a world that installs Tidewater beside other kits.
- **A helper editor session doing scene work grows 2 to 3 GB in an hour: engine #26230.** On a
long session with the showcase open, restart helper clients now and then.
- **Effects only move in Play.** The engine runs effect timelines on the gameplay clock, so
splashes, mist and spray stand still while editing; water surfaces, ripples and waves do animate
in the editor. *(world tracker #3)*
- **The ready-made scenes are a separate install** (Tidewater Scenes), since they bring other
kits' terrain, props and materials. Tidewater alone is about 1,100 files and installs in about
10 seconds in an empty world (measured 2026-11-22). *(world tracker #4)*
- **Ripple rings are drawn within 64 m of the camera**; a splash's own ring particles still show
further out. *(world tracker #5)*
- **Very shallow lagoon water over pale sand reads too bright at night**; the open sea goes dark
with a moon path. *(world tracker #6)*
- **The ocean's `ground` option** (shoaling against a terrain) can leave a lip of raised water on
a very steep coast. Leave `ground` empty if you see one. *(world tracker #7)*
- A faint green fleck can show on near wave crests with a very low sun, inherited from the
old built-in sea it was ported from; the low-poly ocean has no moon glint at night. *(world tracker #8)*
- **No longer applies: a scene running both seas could look milky.** While the engine still
shipped its own sea, a camera low enough to dip under the built-in swell had that package's
underwater fog wash the whole frame, Tidewater's sea included, to a pale teal (measured alone at
noon from the same camera, the two seas matched). The engine ships no sea of its own now, so a
world cannot run both. *(world tracker #9)*
- **The Android tablet cost is not measured on a device yet: engine #25931.** A tablet is attached,
but it was in use by another project, and the editor has no way to reach an attached device at
all. Desktop and browser are measured, and the pause menu's bench fills the gap in one run on
the tablet (see Cost).
*(world tracker #10)*
- **The gallery's small ocean tile reads flat** (a stepped cyan slab in its 20 m box at day and
dusk), unlike the open sea, which reads as water in every light (`documentation/media/kinds/
r8_kinds_{day,dusk,night}_{1,2}.jpg`: every kind in the realistic look, checked twice at each
time). A bounded ocean wants room: give it 100 m or more.
- **At night the sea mirrors your scene's sky**, so a sky that stays lit after dark gives a pale,
milky night sea. The engine's procedural sky still renders a light grey after midnight, and a
day-night clock may hand over to a bright moon (worldClockKit's is 0.65, a sixth of noon). The
showcase eases its sky exposure to 0.15 and its moon and ambient to 0.15 and 0.07 through
twilight (its `entrypoint.luau`, `holdSky`), which takes the sea at 22:30 from a pale cyan
(brightness 134 of 255) to a dark moonlit blue (69): `documentation/media/playtest/r8_sea_night_2.jpg`
and `r8_sea_dusk_2.jpg`. Do the same in your own scene if its nights read milky.
- **A scene rebuilt during play can drop a boat another player owns** on the client that
rebuilt; leaving and re-entering play brings it back.
- **Not every ready-made scene was re-checked by eye in this version.** The lagoon, the gale and
the rainy street were rebuilt and looked at; the forest river, mountain lake and waterfall
grotto load and run, but were not re-captured after their last changes.
# speedLab: repeatable speed benchmarks for kits and games
Version 0.2.28.
speedLab runs a range of benchmarks for a kit or a game with one action and answers one row per
benchmark: median and 95th percentile frame time, engine CPU and GPU time per frame, script time
per frame, process memory and GPU memory, players connected, and the benchKit report id for the
full detail. Every number comes from **benchKit** (installed with it), so a run here and a run
with `zero benchKit run` measure the same way.
A kit's benchmarks ship as a **set**: a module that calls `Lab.register` with a range of
benchKit definitions, each tagged: `quiet` (an idle scene), `play` (normal play), `stress` (a
heavy load), `still` (fixed views), `fly` (a camera fly-through), `1p` / `2p` (one player, or a
second player connected to the same room), `soak` (five minutes of play with memory sampled, so the
row shows whether memory stays flat), and kit tags such as a water look or an enemy count.
## The sets
| Set | Kit or game | Scenarios |
|---|---|---|
| `speedLabSpawner` | spawnerKit enemy spawners and pooling | quiet, play, stress, worst (160 parked and 160 active churned), still, fly at 20 / 80 / 160 enemies |
| `speedLabTidewater` | Tidewater water and waves, with the Tidewater showcase run | quiet, play, stress, worst (the showcase), still, fly, one per water look |
| `speedLabArtsTd` | Arts TD tower defense | quiet, play, stress at 20 / 80 / 160 enemies, worst (24 towers, 8 fused, 160 enemies), still, fly, the media gallery |
| `speedLabPrefixKit` | prefixKit enemy nameplates (Named Foes; drawn in Arts TD) | light (10 enemies), typical (40), stress (120), 2p (two lanes as two players' waves); nameplate rebuild, plate trees sent, UI preparation and whole frame, desktop and browser |
| `speedLabCloudburst` | Cloudburst weather | quiet (clear sky), play, stress, worst (night thunderstorm at ultra), still, fly, snow, fog, pixel rain |
| `speedLabTinkerYard` | Tinker Yard physics sandbox (physicsSandboxKit) | quiet, play, stress (250 props), worst (glued block of 96 crates under a 2 t weight), still, fly |
| `speedLabGameNight` | Game Night card, dice and board games | quiet, play, stress, worst (eight tables, 400-space boards, 20 dice), still, fly |
| `speedLabLanebreak` | Lanebreak endless runner (runnerKit) | quiet, play, stress (seven lanes), worst (top speed), still, fly |
| `speedLabFinalRound` | Final Round 1v1 fighting game (versusKit) | quiet stage, normal match, stress (four fights of hit effects), worst (six caged fights throwing supers), still, fly |
| `speedLabSkyhook` | Skyhook co-op sky-island race (skyhookRace, stormFrontKit) | quiet islands, play (storm far behind), stress (storm wall from 70 m), worst (the wall from 25 m in the storm section), still, fly |
| `speedLabHoldfast` | Holdfast co-op wave survival (survivalArenaKit, buyStationKit) | quiet farmstead, play, stress, worst (the last wave, the boss, windows re-nailed so boards keep breaking), still, fly |
| `speedLabHoldTheLine` | Hold the Line ten-wave tower defense (towerDefenseKit, turretsKit, creepsKit) | quiet map, play (wave 5), stress (The Horde, twelve towers), worst (wave 10, the Warlord, eighteen tier-3 towers firing), still, fly |
| `speedLabLowWater` | Low Water first-person survival horror storm night (lowWater, Cloudburst, floodKit, Tidewater) | quiet control house, play (the dam crest in the storm), stress (the storm at ultra over the drowned village), worst (the finale: the reservoir surging back, beacons, siren and the Lowman in the stormiest weather), still, fly |
| `speedLabAfterglow` | Afterglow Live rhythm game on a live stage (encoreStage, Downbeat, pulseRig) | quiet song select, play (a middle song on normal), stress (the busiest song on hard), worst (its busiest 16 s at full stage energy, every laser, a burst on every bar, the full crowd), still, fly |
| `speedLabCrossroads` | Crossroads Tales story adventure, The Silent Bell of Bellbrook (adventureKit, mossbrook, townsfolkKit) | quiet village at noon, play (before the fair), stress (the harvest fair with everyone out, the journal open), worst (the fair in Bellbrook square with the bell's story beat, the journal and story notes at once), still, fly |
| `speedLabCrumpleZone` | Crumple Zone crash test dummy simulator (crashCars, crashObstacles, crashRig) | quiet test track, play, stress, worst (the saloon into the bollard at 50 km/h, the crash window), still, fly |
| `speedLabTurretsKit` | turretsKit turrets and towers firing into a crowd | quiet, play at small / medium, stress, worst (a big crowd with every turret firing), still, fly |
| `speedLabCarForge` | Car Forge procedural cars and traffic fleet (carForge, vehiclesKit) | quiet, play (normal traffic), stress, worst (maximum traffic), still, fly; each also as a browser variant |
Every set carries the same full range: the scenarios above, each with one player (`1p`) and two
players (`2p`), a five-minute memory soak (`soak`), and every benchmark at desktop settings and at
tablet settings (`desktop` / `tablet`), so any set runs the same way. A test checks it.
Each game set carries a README, its kit's before and after numbers (`results`), a how-to guide in
plain words and an example guide that walks start to finish through speeding that game up.
## Run them (one action)
```
zero speedLab list every set this world has installed
zero speedLab run speedLabSpawner every benchmark of the spawner set
zero speedLab run speedLabSpawner stress only those tagged stress (or one by name)
zero speedLab run speedLabCloudburst.set desktop the Cloudburst weather set at desktop settings
```
From Luau, inside a task:
```lua
local Lab = require("speedLab.lab")
require("speedLabSpawner.set") -- registers the set
local rows = Lab.run("spawner", "2p")
print(Lab.format(rows))
```
Two-player benchmarks measure on the player who runs them; start a second player in the same
room first (a sub-client in play, a second device, or a friend) and run it on the joining player
for the cost a guest pays.
A **soak** benchmark states `capture = "memory"` and runs `Lab.SOAK_SECONDS` (300 s) once. Its row
carries `memPerMin`, `scriptMemPerMin` and `gpuTexPerMin` (MB per minute, fitted over the measured
part) and `leak` ("pass" or "FAIL" after teardown); `Lab.flat(row)` reads "flat" while the game's
script VM and GPU textures grow under `Lab.FLAT_MB_PER_MIN` (1 MB a minute), and `Lab.format`
prints that verdict on the row. Process memory is shown but does not judge it: on a shared machine
it moves with other programs.
A set can also check that memory **comes back after teardown**: give the soak benchmark a
`memoryBack` function answering `{ pass, heapBeforeMB, heapAfterMB, growthMB, limitMB, waitedS,
enemiesAlive, setLeftovers }` (read in its own build and teardown). `Lab.row` copies it onto the row as
`memoryBack`, and `Lab.format` prints "memory back after teardown pass" or "FAIL" with the figures. The
Holdfast soak does: it reads the game's script heap before the build, polls it for up to 60 s after
teardown (benchKit's own read waits at most 8 s), and counts the enemies and its own entities left.
## In a browser
- A set can carry browser variants (tag `browser`, a name ending `.browser`, budget web60) with the
settings a browser player gets; each has a desktop twin of the same name. Run them in a browser
client (a web sub-client, `zero client create --target web`, or the published web player):
`zero speedLab run <set> browser`, or the board's Run browser button, which shows on a card whose
set has them. Car Forge's set is the first.
- A run that died halfway can leave benchKit saying "a benchmark is already running on this
machine": `require("benchKit.runner").reset()` frees its lock.
- A benchKit run in a web engine sometimes leaves no report (a long loop once ended the web engine
with a wasm trap). Measure the same view for the same time with the profiler toolbox instead
(`zero profiler cost 6`, `zero profiler scripts`, `zero profiler frame`) and say which tool each
number came from.
## Make a set for your own kit
```lua
local Lab = require("speedLab.lab")
return Lab.register {
id = "myKit", title = "My kit", kit = "myKit",
benchmarks = {
{ name = "myKit quiet", tags = { "quiet", "1p" }, seed = 1, budget = "desktop60",
build = function(ctx) end, segments = { { name = "idle", duration = 6, views = { { pos = { 0, 10, -20 }, look = { 0, 0, 0 } } } } } },
},
}
```
Each entry is a plain benchKit definition (see benchKit's README) plus `tags` and an optional `note`.
## Guides
- `how-to-measure-how-fast-my-kit-or-game-runs` : the method, every number, two runs each.
- `example-making-a-tower-defense-or-water-level-run-smoothly-on-a-tablet` : a worked example.
- `example-profile-and-speed-up-a-small-game-with-benchmark-sets` : start to finish on Game Night's
tableKit fix: pick a set, measure, find the cost, fix, measure again, soak, publish the numbers.
## Why the package is called speedLab
The world is Kit Speed Lab; the package keeps the shorter name `speedLab` because every set and
every install reaches it by that name: `require("speedLab.lab")` in each set, the `zero speedLab`
command, and the `speedLab<Kit>` set packages. Renaming it would break each world that installed
it and every set already published. Search for "kit speed lab" finds it either way.
## Speed round 16 (2026-12-02 to 12-04): what got faster
Measured before and after on desktop and in a browser, twice each side; each set's `results` holds the rows and each game world a re-runnable script.
| Kit or game | Fix (release) | Before -> after |
|---|---|---|
| Arts TD, changing map | scenery props spawn 4 a frame instead of ~65 at once (Arts TD 1.0.2) | slowest session tick 199 -> 27 ms desktop (-86%), 275 -> 53 ms browser (-81%) |
| Game Night dice landing | roll labels reused and drawn at 64 px (diceKit 1.0.11) | worst tray update ~800-1000 -> 83-127 ms desktop, 911 -> 4-10 ms browser |
| Game Night dice clatter | impact sounds play through kept players (diceKit 1.0.12) | 10.5 / 12.6 -> 0.75 / 1.0 ms a second desktop, one roll's sounds 61 / 93 -> 7 / 5 ms browser (about -92%) |
| Game Night board sounds | hops and landings play through kept players (boardKit 1.0.14) | 2.65 / 3.30 -> 0.70 / 0.40 ms a second desktop (-82%), 0.87 -> 0.095 ms a sound browser (-89%) |
| Game Night seated players | the sit pose holds without its animation player (tableKit 1.0.15) | up to 16 ms a frame -> 0 in browser sessions that ran it in script; desktop already native |
| Hold the Line path placement | placement no longer resamples the whole road per spawn (spawnerKit 1.2.13) | worst wave 27.2 / 23.5 -> 0.66 / 0.71 ms a second desktop, 22.9 / 18.4 -> 0.79 / 0.58 browser (about -97%) |
| creepsKit tick loop | one tick loop per register (creepsKit 1.3.13) | one loop before and after in every fresh run: no speed claim, kept as a safety fix |
| Tidewater FX bow spray | measured | stays on the GPU, one build, no per-frame cost: nothing to fix |
The lab now measures the newest of each: towerDefenseKit 1.2.44 with wavePreviewKit 1.1.11 and creepsKit 1.3.13 (reviewed, `REVIEW-round16.md` in Hold the Line), gameNight 0.2.8 (diceKit 1.0.12, boardKit 1.0.14, tableKit 1.0.16, cardsKit 1.1.4) and Tidewater 1.2.22.
## Version history
- 0.2.28: speed round 16 numbers (the section above). The lab takes towerDefenseKit 1.2.44 / wavePreviewKit 1.1.11 / creepsKit 1.3.13, gameNight 0.2.8, @tidewater deb1c2c (Tidewater 1.2.22) and the Builtin Library 9ebd3eb. Carries speedLabArtsTd 0.1.17, speedLabHoldTheLine 0.1.11, speedLabGameNight 0.1.6, speedLabTidewater 0.1.3 and speedLabCloudburst 0.1.6. No change to how runs measure.
- 0.2.27: the lab moves to the Builtin Library 36983fc (the engine's current one; on ac8e121 the lab was hidden from players again). The sets table names `speedLabPrefixKit`, the round 15 nameplate set. No change to how runs measure.
- 0.2.26: the lab moves to the Builtin Library ac8e121 (the engine's current one; on f8da623 the lab was hidden from players again after the engine update). No change to how runs measure.
- 0.2.25: the lab moves to the Builtin Library f8da623 (the newest this engine runs; a world on an older one is hidden from players). No change to how runs measure.
- 0.2.24: browser variants. A set may carry a `browser` twin of a benchmark (run it in a browser client: a web sub-client or the published web player); the full-range test accepts it beside its desktop twin, and the board shows a Run browser button for sets that have them. Carries speedLabCarForge 0.1.2 (a browser variant of every Car Forge benchmark, browser rows on Car Forge 0.3.10, a how-to guide and an example guide). Tests 13/13 twice.
- 0.2.23: carries speedLabCarForge 0.1.1; the lab takes Car Forge 0.3.10 and vehiclesKit 1.2.11 (Car Forge opens fresh with zero errors). No change to how runs measure.
- 0.2.22: carries the round 14 sets and rows: the new speedLabCarForge 0.1.0 (Car Forge traffic, 16 benchmarks; the lab installs carForge 0.3.8 and vehiclesKit 1.2.9 for it), speedLabHoldTheLine 0.1.8 (towerDefenseKit 1.2.42, browser host and desktop; the worst wave reads the rules through the kit api), speedLabLowWater 0.1.6 (Tidewater FX spray off the CPU), speedLabAfterglow 0.1.5 (encoreStage 1.2.2 groove meter), speedLabSkyhook 0.1.1 (skyhookRace 1.5.6). The lab takes controlsKit 1.4.15 and skyhookRace 1.5.6 (its old controlsKit 1.4.10 copy, which failed to load, is gone). The sets table lists all 17 sets. No change to how runs measure.
- 0.2.21: the lab takes mossbrook 1.0.18 (uninstalled and installed fresh: its old nested questKit and navUiKit copies named older releases, so it could not be updated in place), navUiKit 1.3.30, and installs crashRig 0.4.15 from Crumple Zone for the new speedLabCrumpleZone 0.1.0 set (16 sets). speedLabCrossroads 0.1.7 names mossbrook 1.0.18. Seven unused copies removed.
- 0.2.20: carries speedLabHoldTheLine 0.1.6 (Hold the Line browser runs with the browser as host and a second player joined on the desktop: world clock -56%, Commander no gain as host) and the showcase scene saved at its current authoring revision (no code change).
- 0.2.19: the lab takes towerDefenseKit 1.2.35 (creepsKit 1.3.7 and spawnerKit 1.2.11 on SecondWind 1.4.19: no SecondWind 1.4.11 copy left in it; a browser playing Hold the Line alone finishes every wave), for speedLabHoldTheLine 0.1.5 (like-for-like browser pair with the client running the match alone: Commander -85%, world clock -95%).
- 0.2.18: the lab takes mossbrook 1.0.8 and questKit 1.0.37 (Crossroads without the save line at load; the Crossroads set now measures the released version), and the hall scene saved whole again after the stale copy was cleared (no code change).
- 0.2.17: the lab hall's saved scene is the whole hall again (rebuilt after the stale quick geometry copy was cleared; no code change). The lab installs turretsKit 2.3.7 as its own record for the new speedLabTurretsKit set.
- 0.2.16: script time leaves out the lab's own measuring task also when the profiler names that column by its key alone (one Afterglow board run still listed `script.speedLab.measure`, 11.7 ms). The lab takes animatedMaterials 1.0.22 (through its encoreStage install): two older animatedMaterials clocks rescanned 28 materials every frame in the hall, about 22 ms a frame each, which is most of why the board's Afterglow worst case read 53 to 68 ms. Version note: 0.2.15-rc.2 was pushed twice on the round 7 branch with different contents; read that number as withdrawn. Releases now go straight from main, with no draft versions on branches.
- 0.2.15: runs measure what they say. Script time leaves out the lab's own measuring task (it read up to 3.6 ms a frame inside a run and made script time jump). The board has a "Run worst" button and shows only the tags a set has. It says plainly that a Run measures the lab hall, where a set builds its own stage, and that a game's own numbers come from installing its set into the game's world. The set registry survives a reload of the lab module. After a Run the lab clears old pinned copies of the quick geometry nouns that some kits place (they left the hall half built: platform issue 01M8PD64S6NK9Z4R34GA674THV) and rebuilds the hall. The lab installs controlsKit 1.4.12, Downbeat 1.3.4, towerDefenseKit 1.2.31 and Low Water 1.0.13 as its own records. New `speedLab.cycles` (moved from speedLabHoldfast, now for any set): builds a benchmark's match, plays it, tears it down and compares memory against a baseline over several matches. New test (14 in all).
- 0.2.14: the board shows every number a set publishes: each row lists all the metrics it holds (screen layout ms, MB a minute, shadow passes and the like, not only the seven fixed columns), two or more runs read "a / b" with the change worked out from their means, rows with only before or only after runs say so, and written notes show as written; the device line wraps inside the panel. A new test fails if any published value would read "-". The set table lists all 14 sets.
- 0.2.13: a set can check that memory comes back after teardown: a benchmark's `memoryBack()` answer rides its row (`row.memoryBack`) and `Lab.format` prints "memory back after teardown pass/FAIL"; the Holdfast soak (speedLabHoldfast 0.1.3) is the first to use it; a test checks it. The README version line matches the package again.
- 0.2.12: the Crossroads Tales set (speedLabCrossroads 0.1.0) ships; the full-range test covers it; the set table lists all 13 sets.
- 0.2.11: the Low Water set (speedLabLowWater 0.1.0) and the Afterglow Live set (speedLabAfterglow 0.1.0) ship; the full-range test covers both; the set table lists every set.
- 0.2.10: the Hold the Line set (speedLabHoldTheLine 0.1.0) ships; the full-range test covers it.
- 0.2.9: the Holdfast set (speedLabHoldfast 0.1.0) ships; the full-range test covers it.
- 0.2.8: the board and the list carry all nine shipped sets (Skyhook added); a test checks that every set carries the full range (quiet, play, stress, worst, still, fly, 1p, 2p, a five-minute soak, each with a desktop and a tablet twin); the guides of every set are published as guides.
- 0.2.7: soak benchmarks. A benchmark's own `capture` level is honoured (a soak states "memory";
before, `Lab.run` always asked for "frames"), rows carry memory growth per minute and the leak
verdict, `Lab.SOAK_SECONDS`, `Lab.FLAT_MB_PER_MIN` and `Lab.flat`, and `Lab.format` prints the
memory verdict. Sets for Tinker Yard, Game Night, Lanebreak and Final Round (0.1.0) ship beside it;
the Skyhook set and the Tidewater showcase set follow in the next patch. An overall example guide, the README and the
how-to guide list every set and the browser caveats. The test that checks the board lists every
shipped set covers the new ones.
- 0.2.6: the board and the catalog, list, run and measure tools find every installed set by listing
the package folders in the VFS (this world's own, deps/ and libs/) and resolving each `set.module`
with `asset.tryResolve`, instead of a fixed list of three names; asset.exists answers false inside
packages on the current engine (engine bug #23682) and is not used. The Cloudburst set now shows on
the board. A test checks the board lists every shipped set (spawner, tidewater, artsTd, cloudburst).
- 0.2.5: the showcase hall has a floor you can stand on (a static collider under the floor; before,
a player pressing play fell forever); runs against the current @builtin (menusKit and controlsKit
load cleanly). A Cloudburst set ships beside it as `speedLabCloudburst`.
- 0.2.4: every results module carries a tablet note shown in red on the board: no kit has been
measured on a real tablet yet; rows named "desktop at tablet settings" ran on a desktop at render
scale 0.75.
- 0.2.2: sets are found in any world, edit-mode runs throw their changes away, a board with numbers,
tests, the Tidewater set.
- 0.2.0: the showcase scene and board, the catalog and measure tools.