#games
3 notes · ← All notes
- A brake game at /gameA 3D brake-or-flip game added as a plain static page with vendored three.js, then three quick rounds of changes: jets to 383 mph, no limit on the jets, and a barrier leap that ends the run on touchdown without changing any score.
- A fixed-step game loopWhy a browser game should advance its physics in equal steps instead of by frame time, the accumulator loop that does it, slow motion for free, and keeping the physics in a module with no DOM so Node can test it.
- Making game sounds with the Web Audio APINo audio files: an electric motor, wind, tyre squeal, jets and one-shot effects built from oscillators, a buffer of noise, filters and gain envelopes, plus the autoplay rule that makes you wait for a tap.