Doom: First-person shooter runs in a PDF

Programming art

The classic shooter Doom surprises the gaming world again: thanks to the creative work of two developers, the game can now be played in a PDF document.

The technical implementation of “DoomPDF” is remarkable and is based on the open source engine doomgeneric. The developer ading2210 used the JavaScript support of the PDF format to make the game run in the browser. The C code was converted to WebAssembly using the Emscripten compiler, which enabled execution in PDF.

The display takes place in a monochrome six-color optics with a frame rate of 12.5 FPS. The screens are implemented by text fields filled with ASCII characters. This method allows efficient display with the limited resolution of 320×200 pixels.

Almost in parallel, the developer “ThomasRinsma” worked on “PDFDoom” after he already PDF Tetris delivered. However, both Doom projects are not intended for optimal gaming fun, but rather serve as feasibility studies. For playing DoomPDF A Chromium-based browser is required, for example Chrome or Edge.

FAQ section

How can I play Doom in PDF?

The game can run in Chromium-based browsers and Firefox.

Which control is used?

Control is via the keyboard with the WASD and spacebar keys.

Is the graphics quality comparable to the original?

The graphics are monochrome and limited to six shades of gray.

What technical requirements are necessary?

A Chromium-based browser with JavaScript support is required.

Is the game paid?

No, it is a free open source project.

Source: www.connect.de