𝕭𝖆𝖘𝖘𝖕𝖎𝖘𝖙𝖔𝖑 🎬

Rust: compiling to WASM to make a browser-based game using canvas


Listen Later

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/

    ...more
    View all episodesView all episodes
    Download on the App Store

    𝕭𝖆𝖘𝖘𝖕𝖎𝖘𝖙𝖔𝖑 🎬By