In pal's registry: the button shows it in pal, which asks before installing; the command does the same from a terminal. This page can't see what your pal has installed.





What it does
Weave through highway traffic at speed: pass close for near misses and combos, light the nitro, and earn your way up a garage of seventeen cars with four upgrades each. Driver levels open new modes, places and paints, and three missions always give the next run a goal. Four modes, five places under photographed skies.
- Handling built for feel: the car goes where your thumb says and stops where you let go, leaning and diving on its springs; a better car or a handling upgrade turns quicker and switches direction sooner
- Traffic with drivers: they keep their distance, brake, signal and change lanes when it's safe, placed so a lane is always open
- Pass close above 100 km/h for a near miss, graded by the gap you left; near misses within four seconds build a combo, and threading a gap between two cars pays a bonus
- Nitro: near misses fill it, Space burns it for speed past your top and double points
- Four modes: Endless, Two-Way (the oncoming side pays three times), Time Attack against the clock, and Speed Trap above a rising speed
- Driver levels from 1 to 40 that open modes, places and paint collections, and three missions at a time that grow with you
- Seventeen cars in five classes, City to Super, each quicker and sharper than the last with its own engine note; engine, handling, brake and nitro upgrades, and the garage shows what each one adds before you pay
- Five places under photographed skies, from a cloudy countryside to a night run with headlights; close pal mid-run and it waits where you left it
- A leaderboard for each mode; signed in, your cash, cars, level and records follow you to your other machines and play.cagdas.io
Palettes 1
-
Highway
highwayviewA run on the highway. Escape or closing the panel pauses it, and it waits there for you.
- ↑Drive (arrows or WASD)
- spaceLight the nitro
- CChange the view
- PPause or carry on
- MSound on or off
Actions
- DriveUp is the gas, down the brake, left and right steer; WASD too.↑or↓or←or→
- Light the nitroNear misses fill the bar; Space or Shift burns it for speed and double points.space
- Change the viewLow behind the car, chase, the classic high angle, bumper, high, tower or long lens.C
- Pause or carry onP
- Sound on or offM
- In the garageUp and down pick a line, left and right change it, Enter buys, Space drives.↵
Settings
Extension, [extensions.highway]
volumeHow loud the game is: engine, traffic, music.
Defaults shown. Change them in pal's settings window or in the config file.
The README
Everything Highway does, key by key, from the extension's own README.md
Highway
Weave through highway traffic at speed. Enter on the palette's row opens it
as a view level whose body is the extension's own page (surface/, a
surface view node, three.js on WebGL).
Playing
- The garage is a sign beside the road while your car drives behind it: up and down pick a line, left and right change it (car, paint, mode, place), Enter buys (a car, a colour, an upgrade level, a place), Space drives.
- A run: up is the gas, down the brake, left and right steer (WASD too). Pass a car close above 100 km/h for a near miss, graded by the gap you left (Close, Very close, Paint trader); near misses within four seconds of each other build a combo. Points grow with the cube of your speed.
- Crashes: a bump is a bump; hitting something 35 km/h slower than you, or anything coming the other way, ends the run.
- Modes: Endless (four lanes your way) and Two-Way (the oncoming side pays three times).
- C changes the view (chase, far, bumper), P pauses, M mutes.
- Leaderboards: one per mode, every finished run's points. Signed in to
a pal account, the save syncs: cash, XP (stored as every XP earned, so two
machines add up) and totals by
sum, records and upgrades bymax, paints byunion; a kept run stays on its machine.
How it is built
game/: no DOM.vehicle.tsis the car (a dynamic bicycle model: tyre slip, load transfer, an engine with gears, a driver aid that holds the heading you ask for),traffic.tsthe drivers (IDM car following, MOBIL lane changes, signals),director.tswhere traffic appears (patterns per row, always a lane through),score.ts,crash.ts(boxes and impulses),content.tsevery number and name,meta.tsthe save.surface/: the page.world.tsbuilds a place (sky, road, rails, land),terrain.tsstreams the land and plans it (forest, fields or a town each side, cuttings and embankments, an overpass every kilometre or two),foliage.tsmakes trees cheap (impostors baked at startup) and the grass,structures.tsthe overpasses, noise barriers, signs and lamp light,run.tsa run,camera.tsthe views,audio.tsthe sound,main.tsthe screens.scripts/drive.tsmeasures every car (0 to 100, top speed, braking, a lane change);scripts/trace.tstraces a lane change step by step.bun host/src/surface.ts highway 8733serves the page in a browser.
Assets and their licences
- Cars (
surface/cars/): models by DanielZhabotinsky on Sketchfab, CC BY 4.0, every one credited insurface/cars/LICENSE.md.scripts/cars.ts <dir> <out> [ids]converts the downloaded GLBs (turned to face +z, unseen parts removed, textures to shared WebP, glTF JSON with the buffer inline, since the page cannot be served binary files). - Skies, ground and props (
surface/env/): Poly Haven and ambientCG, CC0; trees made with EZ-Tree (MIT).surface/env/LICENSES.md. - Sound (
surface/audio/): CC0 engine, road and crash recordings from Freesound, Kenney's UI sounds (CC0), music CC0 and CC BY.surface/audio/LICENSES.mdhas every credit. - Type: Overpass (SIL OFL 1.1),
surface/font/OFL.txt. - three.js (MIT):
surface/vendor/three.js, rebuilt byscripts/vendor.sh.
Platforms
macOS and Linux.