3D browser game · 2026
Starfighters of Leuchars
A cel-shaded browser space shooter with a 13-mission campaign inspired by Gloryhammer’s Space 1993: Wrath of Kor-Virliath. Free flight, trench runs, turret battles, and on-foot combat share one game runtime.
The idea
Turn an album into a playable campaign.
Starfighters of Leuchars began with Gloryhammer’s Space 1993: Wrath of Kor-Virliath. I translated its track sequence into a campaign with 13 playable missions, moving between escorts, defensive battles, on-rails flights, a trench run, and on-foot combat. A separate dogfight mode gives players a quick route into the action. It is an unofficial fan project, with dialogue, art, and sound made for the game.
Game architecture
Give different missions a shared foundation.
The campaign needed more than variations on the same space battle. I separated each mission’s scene and objectives from its play mode, which controls movement, the camera, and how the player appears. A shared stage runtime coordinates weapons, collisions, pickups, the HUD, and results. This lets a turret battle and a free-flight escort use the same foundations while keeping their own rules.
Visual engineering
Build a readable, cel-shaded world.
I built the ships from Three.js geometry and used stepped toon shading to give their silhouettes a graphic feel. Custom nebula shaders and particle effects provide the backdrop. Selective bloom makes lasers and thrusters glow while preserving the flat hull colours. The trench run streams scenery along the flight path, creating a continuous route through the Battlemoon.
Controls & progression
Make the campaign work across devices.
The game supports mouse and keyboard, keyboard-only play, touch controls, and remappable gamepad input. Aim assistance helps different control schemes handle the same encounters. Progress, trophies, and each mission’s best runs are saved on the device. Campaign completion unlocks modifiers including hardcore, mirrored play, night conditions, and a daily seed.
Audio & online scores
Keep the game complete on its own.
Music, effects, and spoken dialogue are generated offline with ElevenLabs and shipped as recordings. The original album is available through an optional Spotify embed, which pauses the in-game music. An optional online scoreboard uses Cloudflare Workers, D1, and Turnstile. It recomputes scores from submitted run statistics and uses signed, single-use run tickets to limit replayed submissions. Local play and progression work without the scoreboard.
The result
A complete game you can play in the browser.
The live game brings together a 13-mission campaign, instant-action combat, boss encounters, a turntable hangar, and replay challenges. It shows how I approach a personal game as a whole product: game systems, visual direction, input, persistence, audio, and the service behind public scores.
Have a complex product to ship?