Overclock.net › Forums › Video Games › PC Gaming › DOOM 1 in HTML5 !!
New Posts  All Forums:Forum Nav:

DOOM 1 in HTML5 !!

post #1 of 13
Thread Starter 
Hi guys,

Want to play the famous doom 1 ?
Quote:
sage

The demo works well on Firefox and Safari. Works, but slowly, on Opera. Extremely slow on Chrome due to V8 issue 947.
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.

Technical details

The Doom source code was compiled from C to JavaScript using Emscripten and Clang. Optimized using the Closure Compiler.
Doom renders and handles input using the SDL API, which Emscripten implements in JavaScript.
Video output is done by an HTML canvas element.
Typed arrays are used for additional speed, if available in your browser.
Uses only well-accepted web standards. The only exception is audio which is done using the Mozilla Audio Data API, as sadly there is no universal standard for a simple, usable audio API yet. (The demo will still run if the Audo Data API is not present, just without sound.)

Additional notes

Thank you to id Software for releasing the Doom source code under the GPL! Please go to their website and buy their stuff smile.gif
Complete source code for this demo is here.


The link to play the demo ! Enjoy

https://developer.mozilla.org/en-US/demos/detail/doom-on-the-web/
Frenchy French
(14 items)
 
Upgrade 2013
(12 items)
 
 
CPUMotherboardGraphicsRAM
Intel i5 4670K Asus Z87-A Asus GTX 680 G.Skill Ripjaws XL 
Hard DriveCoolingOSKeyboard
CRUCIAL M4 128 Go SSD Corsair hydro series h60 (2013 Edition) Windows 7 Razer Blackwidow Ultimate 
PowerCaseMouseAudio
Corsair HX 850 W Antec 1200 Razer Mamba Razer Megalodon 
  hide details  
Reply
Frenchy French
(14 items)
 
Upgrade 2013
(12 items)
 
 
CPUMotherboardGraphicsRAM
Intel i5 4670K Asus Z87-A Asus GTX 680 G.Skill Ripjaws XL 
Hard DriveCoolingOSKeyboard
CRUCIAL M4 128 Go SSD Corsair hydro series h60 (2013 Edition) Windows 7 Razer Blackwidow Ultimate 
PowerCaseMouseAudio
Corsair HX 850 W Antec 1200 Razer Mamba Razer Megalodon 
  hide details  
Reply
post #2 of 13
Oh my, my job just got more exciting!
    
CPUMotherboardGraphicsRAM
AMD Phenom II 965 Black Edition ASUS M5A97 GeForce GTS 240 Kingston 4GB 1600 mhz 
Hard DriveCoolingMonitorKeyboard
Western Digital WD Black WD1001FALS 1TB 7200 RP... Antec Kuhler 620 Samsung LED 23" SyncMaster S23B300 Razer Blackwidow Ultimate 2013 Elite Mechanical... 
PowerCaseMouse
Thermaltake Smart M Series 850w Modular Cooler Master Storm Scout Razer Taipan Gaming Mouse 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
AMD Phenom II 965 Black Edition ASUS M5A97 GeForce GTS 240 Kingston 4GB 1600 mhz 
Hard DriveCoolingMonitorKeyboard
Western Digital WD Black WD1001FALS 1TB 7200 RP... Antec Kuhler 620 Samsung LED 23" SyncMaster S23B300 Razer Blackwidow Ultimate 2013 Elite Mechanical... 
PowerCaseMouse
Thermaltake Smart M Series 850w Modular Cooler Master Storm Scout Razer Taipan Gaming Mouse 
  hide details  
Reply
post #3 of 13
lachen.gif Yes!
Herp
(1 item)
 
  
Other
Dolla Billz Yall! 
  hide details  
Reply
Herp
(1 item)
 
  
Other
Dolla Billz Yall! 
  hide details  
Reply
post #4 of 13
Damn, runs hella slow on my sig laptop using Firefox 4.0.1. Getting ~35FPS, but it's way laggy. Still impressive though!
post #5 of 13
Heh the funny thing is Carmack already has had quake 3 running in a browser for a few years now, still pretty neat though.
i7 on the cheap
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 970 Gigabyte X58A-UD7 evga GTX470 Corsair Vengence 
Hard DriveOptical DriveOSMonitor
Intel X25-M 160GB LG GBW-H20L Windows 7 Ultimate Acer GD235HZ 23.6" 120HZ 
KeyboardPowerCaseMouse
Logitech G15 Rocketfish 900W 80+ Silver Corsair Obsidian 800D Cyborg Rat 7 
  hide details  
Reply
i7 on the cheap
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 970 Gigabyte X58A-UD7 evga GTX470 Corsair Vengence 
Hard DriveOptical DriveOSMonitor
Intel X25-M 160GB LG GBW-H20L Windows 7 Ultimate Acer GD235HZ 23.6" 120HZ 
KeyboardPowerCaseMouse
Logitech G15 Rocketfish 900W 80+ Silver Corsair Obsidian 800D Cyborg Rat 7 
  hide details  
Reply
post #6 of 13
35 fps. F yeah.
post #7 of 13
Quote:
Originally Posted by Skylit;13710705 
35 fps. F yeah.

:confused:I wonder what you could hit in Doom 1 the actual game with a modern card tongue.gif

I mean hell I get 400ish FPS in the CS:S "stress test"
Herp
(1 item)
 
  
Other
Dolla Billz Yall! 
  hide details  
Reply
Herp
(1 item)
 
  
Other
Dolla Billz Yall! 
  hide details  
Reply
post #8 of 13
LOL I crashed the game apparently. Must be these ATI drivers biggrin.gif
post #9 of 13
Can't play on the iPad frown.gif. I'm a very sad panda.
Wahoo!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Xeon W3530 @1v stable EVGA SLI3 X58 EVGA GTX 470 6GB working ram 6GB dead sticks :(  
Hard DriveCoolingOSMonitor
4x1TB F3 Raid 5, Intel SSD Lots of Noctua fans. Windows 7 Ultimate. 2x Dell U2410f Monitors  
KeyboardPowerCaseMouse
Filco w/ cherry browns! Seasonic X-750 Lian-Li PC-B10 Original deathadder 
  hide details  
Reply
Wahoo!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Xeon W3530 @1v stable EVGA SLI3 X58 EVGA GTX 470 6GB working ram 6GB dead sticks :(  
Hard DriveCoolingOSMonitor
4x1TB F3 Raid 5, Intel SSD Lots of Noctua fans. Windows 7 Ultimate. 2x Dell U2410f Monitors  
KeyboardPowerCaseMouse
Filco w/ cherry browns! Seasonic X-750 Lian-Li PC-B10 Original deathadder 
  hide details  
Reply
post #10 of 13
Quote:
Originally Posted by MahiMahiMahi;13710803 
Can't play on the iPad frown.gif. I'm a very sad panda.

1 I'm pretty sure with a jailbreak there's a way to get doom
2 How are you a panda? You're a fish and a half confused.gif
Herp
(1 item)
 
  
Other
Dolla Billz Yall! 
  hide details  
Reply
Herp
(1 item)
 
  
Other
Dolla Billz Yall! 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: PC Gaming
Overclock.net › Forums › Video Games › PC Gaming › DOOM 1 in HTML5 !!