Browser Games

Experiments I'm building that run right in your browser. Nothing to install.

Ossuary: the bone dragon wakes

Work-in-progress prototype

Ossuary: The Lair

A small top-down action scene rendered entirely as pixel-art Gaussian splats. You play an elf with a sword, walking down a candlelit path into a half-flooded cave, where a shaft of daylight falls from a crack far overhead. A bone dragon waits below the rim. Step into the arena and it bursts up out of the dark and slams its claws down over the edge.

There are no asset files: the dragon, the caves, the trees and the elf are all generated in your browser from signed distance fields, then ramp-shaded onto a fixed palette and snapped to a low-resolution pixel grid.

Plays in a desktop or phone browser with WebGL 2: keyboard and mouse on a computer, touch controls on a phone. The cave is built on your device when it loads, which takes a few seconds (longer on a phone; there's a progress bar). Sound starts on your first click, key or touch. For more, the full version starts in a stormy forest and passes through a rat-infested cave and a sunlit meadow on the way to the Lair.

Controls

W A S D / arrowsWalk
Left mouseSwing the sword toward the cursor; click again to chain a three-hit combo
Q / E (hold)Turn the view around the elf
Mouse wheelZoom
[ / ]Pixel size
MSound on/off
On a phoneDrag in the lower left to walk; tap anywhere else to swing; hold ⟲ / ⟳ to turn the view; pinch to zoom; SOUND button to mute

Earlier experiments from the same project: The Cave (first-person walk up to a sleeping dragon) · The Vale (a valley at dusk with a castle)

A pixel-art fighter jet banking hard over a coastline, white vapour streaming from its wingtips

Work-in-progress prototype

Stack Racer Jet

Fly an F-22-style stealth fighter over an endless pixel-art countryside, with the camera chasing the jet like an old SNES flight game. The jet is built with sprite stacking: a pile of flat pixel-art slices drawn one on top of the next, so it turns, banks and pitches like a 3D model but stays crisp pixel art. The ground is drawn in perspective row by row, with coastlines, fields, towns, haze and mountains on the horizon, and clouds above and below that you can fly straight through.

Waves of J-20 style enemy fighters come at you and fire back, while three F-15 wingmen fly with you, pick their own fights and draw most of the enemy fire. Get on their tail with guns or hold a missile lock for a second, and they go down in flames, crashing into any building in their path and setting it alight. The cities' towers and blocks can be shot too: they catch fire and come down like a demolition, sinking into their own dust. It flies like Freelancer: the jet always steers towards your mouse cursor, and you have throttle, afterburner, cruise engines, strafing, guns and homing missiles. As with Ossuary there are no art files: the jets, the landscape and the clouds are all generated in your browser when the page loads.

Plays in a desktop or phone browser: mouse and keyboard on a computer, touch controls on a phone. Loads in a moment and has no sound yet. It started as Stack Racer, a sprite-stacked race car on a little track.

Controls

MouseThe jet steers towards the cursor: left and right turn and bank, up and down climb and dive
Left mouseGuns, fired towards the cursor (aim at the small red circle to lead a target; burning planes can still be shot). Keep firing at a building in the cities to set it on fire and demolish it (small blocks go quickly), and don't fly into one. Planes you shoot down crash into a building in their path and set it alight
Right mouse (hold)Missile lock: keep the cursor on a bandit for 1 second until the box turns red, then let go to fire. No lock, no missile
W / SThrottle up / down (S at zero throttle is the air brake)
Tab (hold)Afterburner
Shift + WCruise engines (S or Tab drops out)
A / DStrafe
QGraphics quality: auto (the default: it lowers itself on slower devices), high, medium, low
VCockpit view on/off: fly from the pilot's seat with a HUD, radar and status screens
On a phoneTilt the phone to fly, like a steering wheel to turn, top away to dive and towards you to climb (LEVEL re-centres), or drag on the screen; FIRE for guns; hold MSL with a bandit ahead to lock, let go to fire; AB and CRUISE buttons; SLOW and FAST for throttle; VIEW for the cockpit; FULL for full screen (on an iPhone: Share, Add to Home Screen)
Macy's Day Madness: a pixel-art drum major leading a marching band down a Manhattan avenue, a goldfish float and a hot dog float behind, crowds along the curb

Work-in-progress prototype

Macy's Day Madness

Lead a marching band through a little pixel-art Manhattan and wreck everything to make the parade longer. You're the drum major, and the band and its floats follow your path step for step, like Snake: crush pedestrians, flatten cabs and march straight through buildings, and every bit of destruction brings the next sponsor's float closer. March into your own parade and you're busted. The mayor is secretly on your side; the police, in squad cars and at five stars helicopters, are not. Like Stack Racer, everything is drawn with sprite stacking.

Heads-up: cartoon violence (crushed pedestrians leave pixel blood, bodies and bones).

Plays in a desktop or phone browser: click to march on a computer, tap and drag on a phone (best held sideways). Sound starts on your first click or key.