TLDR Web Dev · ARTICLES & TUTORIALS

PORTING TERRARIA AND CELESTE TO WEBASSEMBLY

velzie.rip22 min read

Summary from the TLDR Web Dev newsletter

Terraria and Celeste were successfully ported to WebAssembly (WASM), allowing them to run in web browsers. The process involved decompiling the C# code, configuring it for WASM, and resolving compatibility issues with the FNA engine, audio libraries, and threading. To load mods, they made the game binary load at runtime instead of compiling it with the project and used the Everest mod loader.