Duskline Watch: Hold the Line from Dusk to Dawn
- Lab Skill
- v0.1.0
- Game creation
Hold a watch line as the sun drains, in one offline HTML file: a brass flare-gun casts bolts at ember-lit shades, night packs the waves and dawn brings the lull before the next. One cycle value drives the sun drain, the light and the spawn pressure together. WASD, mouse aim, cast, reload and crouch, in an amber-dusk look.
Beispiel
Duskline Watch survival game
Das Beispiel läuft in einem sandboxed Frame ohne Zugriff auf diese Seite.
Online ausführen
In einer SandBase-Sandbox ausführen und Ihre Ergebnisse in Lab ansehen.
In Lab öffnen ↗Was Sie erhalten
Bring the frontier, the shades and the weapon, and optionally the cycle and wave timing, the cast feel, the HUD layout and the UI text. The Skill returns a downloadable Skill (the survival-watch project, a customize guide, headless verification) and one playable example run.
So funktioniert es
- 01
Create the watch project
Duskline Watch starts with node scripts/new-project.mjs --out my-watch, then npm ci inside the folder. That pulls pinned Vite, three.js and playwright-core from the public npm registry. A prompt such as "Use duskline-watch to make a survival watch at a mountain pass" sets the frontier, the shades and the weapon; references/customize.md says where cycle timings, wave mix, shade finish, gun, palette, HUD and audio live.
- 02
Tune the dusk cycle
The game counts daylight through DUSK, NIGHT and DAWN in a strip at the top. One cycle value drives the sun drain, the light and the spawn pressure together, so shades swarm hardest in the dark and ease at dawn. WASD moves, the mouse aims, a click casts the brass signal gun's ember bolt, R reloads and C crouches. npm run dev gives a live preview.
- 03
Build, shoot and check
npm run build:single writes dist-single/index.html, about 15 MB, which opens with a double-click in a WebGL browser. npm run preview:sandbox serves it under the sandbox CSP, and npm run shoot plays it headlessly in local Chrome, SwiftShader included. Read shots/*.jpg and shots/report.json and repeat until all 23 checks pass, covering dusk start, nightfall, an advancing wave, moving, casting and a phone run.
FAQ
What kind of game is Duskline Watch?
Duskline Watch is a single-file 3D wave-survival shooter in three.js. You hold a line against ember-lit shades with glowing chest cores and cyan eyes while the sun drains. Waves thicken at night and ease at dawn before the next one is counted. Health and ward drops land from downed shades, and the HUD groups vitals, ward, ember cast and down count.
Does Duskline Watch need an API key?
No. Duskline Watch needs no key and calls no model, so playing or building it is not billed. Only npm ci reaches the network, to fetch pinned packages. In the page itself every model and texture is bundled, the sky, ground and walls are drawn on canvas, and all sound is synthesised with WebAudio after the first click.
How big is the Duskline Watch HTML file?
Duskline Watch builds to about 14.5 MiB. Eleven packed .glb models account for most of that, which makes it the heaviest scene on the site, so the loader shows progress.
Does Duskline Watch work inside a sandboxed iframe?
Duskline Watch works in a sandboxed iframe with one limit. It requests pointer lock only when the page runs top-level. Inside a sandboxed iframe aiming still works, but the cursor is not captured.
What does Duskline Watch not do?
Duskline Watch does not model real weapon ballistics; the gun is a stylised ember caster with spread and recoil on the projectile path. It has no multiplayer, fetches no models or audio at runtime, and its shades read as creatures rather than the undead. The UI ships in English only. A new creature needs a packed .glb plus a notice entry.
Weitere Skills
Alle Game creation Skills →
Seagull Swoop
Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Wedding Cake Wobble
Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Hermit Tide
Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Clover Circuit: Estate Cut
Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Glide Gates: Lagoon Run
Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

3D Interactive Garden Islands
Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.

