comScore DOOM in JavaScript and HTML5, Playable in Your Browser | The Mary Sue
The Mary Sue

DOOM in JavaScript and HTML5, Playable in Your Browser

In some respects, DOOM is the “Hello World!” of gaming, and so this marks a little milestone for the growing power of JavaScript and HTML5 if the bootable in-browser Linux kernel wasn’t enough: Alon Zakai has ported DOOM to the browser, no Flash required.

Use the normal Doom keyboard controls: For the menu, arrow keys and enter; for the game, arrow keys, control, space and alt (hold to strafe).

Use your browser’s zoom to adjust the screen size (usually control + and control -).

Loading and saving games do work, but only until you leave the page. TODO: Use IndexedDB for persistent storage.

You can play it here in Firefox or Safari. Warning: Insanely slow in Chrome, don’t bother. Technical details here.

(Alon Zakai via RWW)

© 2018 The Mary Sue, LLC | About Us | Advertise | Subscription FAQ | Privacy | User Agreement | Disclaimer | Contact | RSS RSS
Dan Abrams, Founder

  1. Mediaite
  2. The Mary Sue
  3. RunwayRiot
  4. Law & Crime
  5. Gossip Cop