Fallout 2 and WebAssembly
summary
A developer ported Fallout 2 Community Edition to run in the browser and describes the process using WebAssembly and Emscripten. The talk explains how WebAssembly works, what Emscripten provides (including the standard C library), how Asyncify enables async behavior, how to load game files on demand, and shows small Wasm-specific changes made to the game's C code with explanations for each modification.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 3:37WebAssembly
- 13:20C++ to WebAssembly
- 15:48Browser execution
- 17:12Game loop sync issues
- 21:55ASYNCIFY solution
- 26:04First success in browser
- 27:49Faster game loading
- 30:41Threading problems solved
- 34:37Game file system setup
- 36:46Optimizing waits and audio
- 40:40Stack overflow fix
- 42:08DBFS saves handling
- 43:51Project summary
related talks
16mWhy WebAssembly
01h 09mSandbox Games: Using WebAssembly and C++ to make a simple game
36mPractical WebAssembly
54mSandbox Games: Using WebAssembly and C++ to Make a Simple Game
29mWebAssembly - the Final Frontier
27mHow WebAssembly is changing the Web and what it means for you
01h 12mSandbox Games - Using WebAssembly and C++ to Make a Simple Game
57mC++ on the Web: Let's have some serious fun.
