Jump to content

Brakeless — a no-brakes driving game in vanilla TypeScript + Canvas (no engine)


brakeless
 Share

Recommended Posts

og.png

Hey everyone, first post here. I've spent the last few months building
Brakeless, a top-down driving game where your brakes are gone — you dodge
traffic and survive as long as you can, from a city street through 11
scenes to somewhere much worse.

Play (free, browser, no signup): https://brakeless.io
Desktop + keyboard recommended (arrows or A/D). Touch works on mobile but
it's tuned for desktop.

Tech bits, since this is a dev forum:

- Vanilla TypeScript + Canvas 2D. No engine, no runtime dependencies,
just Vite for bundling.
- Almost everything is procedural or pre-rendered at load: oblique
GTA2-style buildings baked to offscreen strips and tiled, procedural car
sprites, DPR-aware scaling so it stays crisp on hidpi screens.
- Sound effects are procedural Web Audio (engine rumble, near-miss
whooshes).
- Fairness is enforced with actual math: a solvability guard projects
every spawn against the union of upcoming obstacle envelopes, so the game
can never build a literally impassable wall of traffic.
- Favorite bug so far: one late-game two-lane street would sometimes go
completely empty. The spawn safety guards made the two traffic directions
starve each other — a bistable system. I only found it by writing a
headless traffic simulator and running it across seeds until the pattern
showed up.

Two things I'd especially love feedback on:

1. Where did you die, and did any death feel unfair? The public build has
no telemetry, so reports like this are literally my only tuning data.
2. Any performance problems — device/browser and where it stuttered, if
it did.

Happy to go into detail on any of it: the rendering pipeline, the traffic
behavior, or the difficulty envelope system.
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...