π¬ video.infosec.exchange video.infosec.exchange
Rust: compiling to WASM to make a browser-based game using canvas
I love writing Rust, and I love writing simple games, so let's combine the two by showing how to make a tiny game framework with these properties: * 99% of the code is Rust, compiled to WASM * the game runs in any non-ancient Web browser * the screen drawing is on a zoomed-in canvas so we can make pixelated retro-games See the blog post for code and details: [artificialworlds.net/blog/2026/02/27/wasm-game/](https://artificialworlds.net/blog/2026/02/27/wasm-game/)
βhttps://video.infosec.exchange/w/pP4vxH7nuAseqMetMe7eVc
Indexiert von findnix.eu Β· Eigene Seite einreichen