Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Elasto Mania Ported to WebAssembly

The classic physics-based motorcycle game Elasto Mania has been ported to run in web browsers via WebAssembly, allowing players to play the original game online without any downloads or plugins.

Background

- **Elasto Mania** is a cult-classic 2D motorcycle physics game from 2000 (by Balázs Rózsa, Finnish studio Damp Gnu). Known for its extremely precise, loose-jointed bike physics and a notoriously difficult level editor, it remains beloved by a niche speedrunning and modding community. - **WebAssembly (Wasm)** is a binary instruction format that lets compiled languages (C/C++, Rust) run in web browsers at near-native speed. This port means Elasto Mania can now be played in a browser tab without installing the original executable or using a compatibility layer. - The port was done using **Emscripten** (a compiler toolchain that turns C/C++ into Wasm) and wraps the original 2000-era x86 binary logic for the web. It likely uses SDL for input/audio mapping and a canvas element for rendering. - This matters because Elasto Mania’s source code was never officially released, making preservation and accessibility difficult. A working Wasm port—especially one that runs inside a browser—significantly lowers the barrier for new players and ensures the game remains playable on modern operating systems that cannot run the original .exe.

Related stories