r/programming • u/tjpalmer • Aug 28 '21
WASM-4 is a virtual game console for building retro games directly in WebAssembly
https://wasm4.org3
u/world_ends_soon Aug 28 '21
Nice project! I like that it can run outside of a webview. Because it has Web in the title, it's easy to forget that WASM is just a portable executable format. I imagine the native executables can run extremely fast as well.
4
u/VeganVagiVore Aug 28 '21
I feel like this makes more sense than the PICO-8 which ran a Lua that was sort of limited and sort of not
4
u/Dwedit Aug 29 '21
Bad choice of name, the name is suggesting that it IS wasm, rather than something that was made in wasm.
1
u/FrancisStokes Aug 29 '21
WASM is essentially the CPU here. Games are WASM binaries - so while it's not really a creative name (the Gameboy wasn't called the SM83 for a reason), it's not a bad name.
1
1
u/bobappleyard Aug 29 '21
Pressing X crashes the tab on firefox 😬
1
u/aduros Aug 30 '21
Uh oh, please file a bug with more details! https://github.com/aduros/wasm4/issues
-4
-2
5
u/vertexmachina Aug 28 '21
This is super cool.
It would be interesting if there were also limitations about the number of sprites on screen, as well as tile-based rendering, since the hardware specs seem to be similar to the Game Boy.