Playable DOOM Now Available in PDF Format

2 years ago by RmDebArc_5 to c/doom

A developer known as Ading2210 has ingeniously created a playable version of Doom (1993) that runs inside a PDF file, aptly named DoomPDF. This project showcases the surprising versatility of the PDF format, which supports JavaScript for interactive features. The game can be played in any Chromium-based browser (such as Google Chrome) that supports PDF rendering engines like PDFium.To make this possible, Ading2210 used an older version of Emscripten to compile Doom's C code into asm.js, allowing it to run within the constrained JavaScript environment of a PDF file. Instead of rendering individual pixels as text fields—which would have required
jsomae 3 points 2 years ago

I assume this was inspired by the recent pdf tetris.

path: 0 14488432, hotness: undefined, score: 3, children: 0
doom
doom

@lemmy.ml

login for more options
524
43
3

go to feed...