Cliff
The place the Old Crow climbs: a basalt sea cliff on a night coast, and the walk of its light from moonlight to first light.
Cliff
The place the Old Crow climbs: a basalt sea cliff on a night coast, and the walk of its light from moonlight to first light.
Mounted once, on the scene's cliff entity. Everything it makes lives under one
temporary child called cliff_gen, rebuilt whenever the component wakes, so the
scene file never carries a generated ledge.
What it stands up
- The face — one displaced grid of columnar basalt: prisms at their own depths with flat sides and hard seams, broken into stacked blocks by cross-joints, ending in a jagged skyline at the summit.
- A shelf for every ledge in
CF.layout— a real lip, a rolled front edge and an undercut, tucked into whatever depth the face has behind it. Crumble ledges are thinner, rust-brown and slightly tipped, so an untrustworthy shelf reads as one before you land on it. The roost carries a pale crust, two old nests of driftwood and three worn stubs. - The food — glow-grubs, bone limpets and crowfoot blossoms, each an emissive body and a point light that pools colour on the shelf. The blossoms are folded shut in the dark and swing open as first light comes.
- The sea — a plane on
game.cliff.water, which shades itself: four travelling waves, wind ripple, a specular track, crest foam and a wash where the water meets the rock. - Two headlands and a low moon behind it all, so no aspect ratio ever shows sky beside the cliff.
The dawn walk
One number, CF.state.dawn, drives the key light's colour, strength and
direction, the ambient, the sky's gradient and stars, the warmth of the stone,
the sea's palette and the sea mist. Night is a thin blue moon rake over near-black
water; first light is a low amber sun raking the columns with the fill pulled
down, so the light arrives as contrast rather than as a wash.
The air is a post-process pass of its own, cf_seamist, registered on the
"scene" layer so it never fogs the HUD.
What it answers
| Event | What happens |
|---|---|
eat (food) | the food shrinks, spins and goes |
crumble (ledge) | the shelf tips, shrinks and drops out of frame, throwing eleven chips on their own arcs |
reset | the whole cliff is rebuilt |
Fields
dawnOverride — freeze the scene's light at one dawn value for a shot or a
check. Below zero (the default) the cliff follows CF.state.dawn as it should.
Geometry lives in game.cliff.geo; the look lives in game.cliff.basalt,
game.cliff.glow, game.cliff.water and game.cliff.seamist.
Scoped to this part · feeds back into the world's score.