Type Raiders is now playable in a browser. Try it here.
Thanks to Sokol there wasn’t much extra coding to do, just some platform specific tweaks and the WASM build setup. I used to have built in support for LZ4 and Ogg in the engine but ditched it to keep things simple. For the web build I compress audio with Opus & apply gzip compression on textures. Those get decompressed during WASM load and the engine gets the raw data ready to go.

