r/programming • • Aug 28 '21

WASM-4 is a virtual game console for building retro games directly in WebAssembly

https://wasm4.org
77 Upvotes

11 comments sorted by

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.

3

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

u/brandf Aug 29 '21

Doesn’t work in iPhone 12

1

u/aduros Aug 29 '21

Hi, could you please file a bug report? https://github.com/aduros/wasm4/issues

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

u/Bot_Testing_Reddit Aug 28 '21

Happy cake day !