← All games

Last Light

Keep the last lighthouse on a wrecking coast: sweep a heavy beam to guide ships home, chart hidden reefs ahead of them, and douse the wreckers' false lights across twelve nights and an endless Night Watch.

Night III, Lantern Row: the beam sweeps across the bay toward a ship while a lit buoy keeps the channel.
Night III, Lantern Row, on Graphics fidelity Ultra, from the Last Light README.

Gannet Head Light is being switched off at the end of the season, and a radio beacon will replace it. You have twelve nights left.

Out on Merrow Bay, trawlers, coal steamers, and the passenger ferry steer by your light. Keep a ship in the beam and its captain sails on with confidence. Leave it in the dark and the captain loses the way, drifting toward rocks nobody can see. There’s one beam and many ships, so every night is a quiet juggling act. The sea looks calm, but every decision is tense.

Point the light

That’s the entire interface. The lens is a heavy mass on a damped spring: it builds up speed, overshoots slightly, and settles. Hold to focus for a narrow, long, bright beam that reaches the far lanes and pierces fog, at the cost of a slower, smaller sweep. A foghorn on a cooldown sends a shockwave across the water that steadies every ship in earshot.

Each ship has a confidence ring that refills in your beam and drains in the dark. At zero the captain is Lost, and the ship shows a red ring and a bobbing question mark. Reefs are hidden, and the captains’ routes run straight over them. Sweep the water ahead of a ship and the surf breaks white over each reef you reveal, and the captain steers around it. Charts fade about 22 seconds after the light leaves them, so you time your sweeps to stay just ahead of each ship.

A few seconds before a ship reaches an uncharted reef, its crew hear the surf: its ring flickers white and the captain may call out. Chart the rock too close for the captain to turn and they ring for full astern, with three short blasts, so a last-moment sweep can still be a near miss. When a ship is on the radio, its name shows under its hull, and places named in a call are labelled on the water for a few seconds.

One new idea per night

Night by night the season adds hidden reefs, buoys that hold a channel while you tend to other ships, collier steamers that turn wide and run aground on sandbanks trawlers can cross, fog, damaged vessels with no lights that you find by radio bearing and distress flares, and storms that push ships off course but light the whole bay with every lightning strike.

Then come the wreckers. The Corleys sweep lanterns from the cliffs that imitate your light, luring ships toward the rocks. A lured ship shows an amber ring, a small lantern, and a dashed tether to the light that has it, so it reads apart from a lost ship by shape as well as colour. Hold your beam on a lantern to douse it, or light the ship to break the spell. On night 11, one false light copies your every sweep.

Ianto the harbourmaster, Maren on the Little Auk, Captain Pryce on the SS Calloway, and Dot on the ferry Evening Star grumble, joke, panic, and thank you over the radio, and the pause menu keeps the night’s latest calls in case you missed one. The keeper’s notes, on the title and in the pause menu, keep the rules in short entries that open as the season reaches each idea.

Dawn: the debrief, the chart and the replay

Nights take two to five minutes and are rated with up to three lamps: one for keeping the light, one for losing no ship, and one for a steady hand, with no ship ever Lost or Lured. Dawn says where the score came from and gives a short debrief of every ship that had a bad night: which reef it struck and whether that reef was uncharted or charted too late, who was lured and by which light.

Chart opens the night’s chart, Merrow Bay drawn on paper with every ship’s track: solid while the captain was on course, dotted red where they were lost, dashed amber where a false light had them, and a cross at each wreck. Replay the night plays it back on the chart with your beam’s sweep, and jumps to just before each moment that went wrong. On a night you’ve kept before, your best score sits under the score and turns to “PAST YOUR BEST” when you pass it.

Finish the season and the endless Night Watch opens: every reef, sandbank and buoy out, no end to the ships, and its own weather each time, with one to three fog banks, squalls that blow through every few minutes, and wreckers lighting up on their own schedule. The third wreck ends the watch, and the game keeps your five best. A watch survives closing the game, and even a crash, from a checkpoint taken every 20 seconds.

Settings, accessibility and graphics

Every Settings row explains itself in a line underneath, and a soft brass band marks the row you’re on with the mouse, keys or a pad. Behind every menu the bay softens so the words read clearly.

  • Challenge: Standard or Hard (ships lose heart faster, charts fade sooner, no breakers warning), a Game speed assist at 100, 85 or 70% that slows the whole night together, and screen shake.
  • Reading: text speed, the radio’s worn typewriter or Plain lettering, and HUD text at 100, 115 or 130%.
  • Sound: separate volumes, Mono for hearing on one side, and silence in the background.
  • Controls: rebindable keys and pad buttons, hold or toggle focus, and prompts with Xbox, PlayStation or Nintendo names.
  • Display: a frame-rate cap, brightness, render scale with sharp text, Reduce flashing for the storm, and Graphics fidelity.

Graphics fidelity has four steps. High is the game as released. Ultra adds soft moon shadows from the tower and sea stacks, light shafts smoothed by temporal anti-aliasing over a 40-step raymarch with finer fog, finer ripples on the sea, more rain and spray, and bloom on the lantern and lamps. On night V, the costly fog night, a frame took 6.7 ms on Low, 8.0 on Medium, 9.3 on High and 14.3 on Ultra at 1600×900 on the integrated Radeon it was built on. After a slow night, the dawn card names the settings to lower.

What it’s built with

All gameplay lives in a pure C# SimWorld, stepped at a fixed 60 Hz with a seeded random number generator. Unity 6 and URP only read it and interpolate. The same code runs in the game, in the EditMode tests, and under the AutoKeeper bot, which plays through the same input structure as a player, so the lens’s speed limits apply to it too.

The identity of the game is the light, so the most interesting code is in the shaders. The beam test, with cone falloff, range, shadows cast by sea stacks, and fog extinction, is written once in C# and mirrored in HLSL. The glow you see on the water is the same function the ships respond to. A full-screen raymarch computes single scattering from the beam analytically, along with moonlit haze and drifting fog banks; Graphics fidelity sets the step count, and on Ultra a per-frame dither lets temporal anti-aliasing smooth the shafts. The water uses Gerstner waves, a moon glitter path, and a foam texture that the simulation writes for charted reefs and wakes.

A single JSON file, merrow_bay.json, describes the coast. It drives both the simulation and the Blender generators for the cliffs, rocks, and buoys, so geometry and gameplay can’t drift apart.

How it was made

Last Light was one of eight games built in parallel from short designer briefs, each by its own AI coding session on a shared machine. The brief: keep a lighthouse working by moving its beam through a sea full of hidden routes, with one coastal map, three vessel types, and twelve missions. Its trailer moment: a captain thanks you for the light, and then your lighthouse is switched off.

Every model was built by script in Blender, and every sound, radio voice, and note of music was synthesized in Python with NumPy and SciPy. Radio voices use formant synthesis, pitched and timed per character and band-passed like a wireless. The score includes a waltz, a night bed with a tension layer that rises as ships get lost, and a music-box ending.

After launch, the game went through twelve rounds of improvements, each planned, built and tested by a fresh AI session and pushed only after its logs were checked. Those rounds added the dawn debrief, chart and replay, breakers warnings, Hard, names on the water, the keeper’s notes, rebindable controls and the fidelity slider. They also found real bugs: a v0.1.0 hang where dawn never came if a radio call was still playing, a save that lived in a prefs file other Unity games could overwrite, and bloom, grain and depth of field that were set up in code but stripped from every build by URP. The EditMode suite now has 124 tests, and tours play the built game inside a private, invisible KWin desktop.

The trailer is rebuilt the same way it was made. A headless twin of each scripted night runs first to find the frame where the moment happens; the real night is then fast-forwarded off camera and recorded on Ultra at a fixed 30 fps, and a Python script cuts the clips to the bars of the title waltz.

On phones and tablets

Before this pass, the menus could be tapped but nothing in a night or the briefing could. Now you drag anywhere to aim the beam, hold a large FOCUS button (or tap it, with Toggle on), sound the HORN with its cooldown drawn as a ring, and use a top-left button to pause or go back. The dawn chart’s timeline can be dragged and tapped. The controls show on touch-first devices or after a touch and hide for a mouse, key or pad, and a phone held upright is asked to turn while the night pauses.

New saves on phones and tablets start on Low at 70% resolution, with the picture capped near 1920×1080. Graphics memory at the title fell from 246 MB to 67 MB on the iPad profile and from 76 MB to 41 MB on the iPhone. Along the way the session fixed title music that sometimes never started after the first click on strict browsers, Safari on iOS among them. Menu rows are still only about 20 points tall on a phone.

A foggy night on an iPhone-sized screen, with pause at the top left and HORN and FOCUS buttons on the right.
Sea Fret on a phone, in a headless iPhone 15 profile.

It has only been played in headless test browsers with iPhone, iPad and Android phone profiles so far. A real phone still has to confirm iOS’s memory limit, sound, frame rate, and how the controls feel under a thumb.

Play it

Play it in your browser at nearbycoder.github.io/LastLight, on a desktop or on a phone or tablet held sideways. It’s the current game as a WebGL build of about 25 MB, starting on Medium graphics on a desktop and Low on a phone, with saves kept in the browser and a night saved when you leave the tab.

Download v0.1.0 from GitHub releases for Linux, then run ./LastLight.sh. That release is the October 4 launch build: twelve nights, the ending and the Night Watch, but none of the improvements above. For the current game on the desktop, build it from source with Unity 6000.6.2f1 as the README describes. It supports mouse, keyboard, gamepad, and touch in the browser, though gamepads have only been tested as simulated devices, and balance hasn’t been tuned with human players yet.

Browse the source on GitHub. GitHub records the repository’s creation on October 4, 2026.

See it in action

Last Light feature trailer

The 1:50 feature trailer, re-recorded after twelve rounds of improvements on Graphics fidelity Ultra, with the game's synthesized waltz and sound and animated captions. There is no narration; radio voices are synthesized gibberish shown with typed text. Every shot is the game running scripted nights. Re-encoded here at 540p. Full-resolution original on GitHub

Keyboard shortcuts

Shortcuts stay out of text fields. Extra shortcuts are off until you enable them on this device. Ctrl or Command K is always available.

?
Open this help
Ctrl / ⌘ K
Open site search
Alt A
Browse articles
Alt R
Open your reading list
Alt T
Browse topics
Escape
Close dialogs or leave article focus mode