Sign inSign up

hegerdes/webdoom

By hegerdes

•Updated over 1 year ago

Doom on the Web with Webassembly & Nginx

Image
Web servers
0

700

hegerdes/webdoom repository overview

⁠Doom in the Browser

Thanks to the power of WebAssably⁠ we are able to bring the power of compiled languges like C/C++ to the web.

⁠How does it work?

The wasm compiler creates binary instruction form out of source files that can be run in a stack-based virtual machine inside the any (modern) browser.

⁠Demo


Find a demo version here⁠

Note This is not perfect. It is a proof of concept and some first steps with wasm.

⁠How to compile it yourself

⁠Requirments:
  • NodeJS
  • Npm
  • Git
  • Cmake
  • make
  • Python3 The build.sh script has does all the work.

It downloads the latest emscripten compiler, sets it up and runs the doom compile script.

Finaly it builds a static nodejs webserver and runs it.

⁠Licens

This is a clone of SDL_DOOM form aserebryakov⁠ with some wasm specific canges applied.

All rights belong to id Software

Tag summary

Content type

Image

Digest

sha256:22d172ba7…

Size

10.8 MB

Last updated

over 1 year ago

docker pull hegerdes/webdoom