Doom (1993) in a PDF
Show HN: Doom (1993) in a PDF
Based, Doom (1993) in a PDF works in show hn launch.
Profile
I made a Doom source port that runs within a PDF file.I was inspired by the recent HN post about Tetris in a PDF (https://news.ycombinator.com/item?id=42645218) and I wondered if I could get Doom to run using a similar method.It turns out that old versions of Emscripten can compile C to asm.js code that will happily run inside the limited JS runtime of the PDF engine. I used the doomgeneric (https://github.com/ozkl/doomgeneric) fork of the original Doom source, as that made writing the IO fairly easy. All I had to do was implement a framebuffer and keyboard inputs.Unlike previous interactive PDF demos, the output for DoomPDF is achieved by creating a text field for each row of pixels in the
Its activity falls under show hn launch; the profile below is assembled from public directory data.
Its current recorded stage is Show HN launch.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: doompdf.pages.dev/doom.pdf
Browse related
Create a free account