Settings

Theme

Show HN: Nostalgia Rider

nostalgiarider.com

3 points by qvq · 1 comment · 1 min read

Reader

Nostalgia-Rider is a browser toy that mashes up Line Rider [1] and Ski Stunt Simulator [2]. I loved to play both back when they were popular and thought it would be fun to create this.

No accounts or ads. It's a pure static site.

[1] https://www.linerider.com [2] https://www.cs.ubc.ca/~van/sssjava/javademo.html

1 thread
qvqOP

Technical details:

I did pay attention to performance, even if it's overkill. Uses Zig compiled to WASM for the game state. Rendering is done in JS and WebGL reading from SharedArrayBuffer. I didn't think a single language was worth the boundary trampolining and extra tooling.

I tried to get muti-threading to work but that seems to require multiple web workers running instances of the WASM binary. It started to make other things more complicated (probably because I couldn't find the right level of abstraction) so I gave up. Running WASM in a single worker, off the main thread, is good enough for now.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection