3 ms·
Portable Doom (Shareware) in a Single 6MB HTML File via WASM
- badfox 3mo agoA portable, self-contained Doom Shareware port running entirely in the browser as a single 6MB HTML file with audio. Controls: Runs best on desktop with a keyboard, but loads on mobile fine. Doom Colab (Single-cell, fully editable): https://colab.research.google.com/drive/1VMxCOFd4w08VE6QGZGMK56vzAWOul9d6?usp=sharing https://colab.research.google.com/drive/1VMxCOFd4w08VE6QGZGM... This proof-of-concept is derived from my much messier prototype, WASI-Env: WASI-Env Demo: https://wasi-env.netlify.app/ https://wasi-env.netlify.app/ WASI-Env Colab: https://colab.research.google.com/drive/1u4T6UZNS0xZUv5KSdSwN5fVwKF4zPYiz?usp=sharing https://colab.research.google.com/drive/1u4T6UZNS0xZUv5KSdSw...
- badfox 3mo agoGot Quake sorta kinda working. Finally got the maps to loads but I am having some issue working out the keys locking(like shift interrupts moving forward, etc), and the game instantly crashes the moment I select new game while already in-game. If anyone wants to poke around at I think I might leave it as is for now. Weighs in about 24mb as a single html file. Loads and plays on an archaic chromebook pretty well. However its super far from stable. The Doom port is way more playable. https://wasi-quake.netlify.app/ https://wasi-quake.netlify.app/ https://colab.research.google.com/drive/15znz_vyH_EHaFr8kf-h11c3PvYdRVrSY?usp=sharing https://colab.research.google.com/drive/15znz_vyH_EHaFr8kf-h... (I remember the agonizing wait of downloading the Quake shareware on an old modem back when it came out. Just watching the demo reel play gives me the feels bigtime.)