News for hackers. Stuff that matters.
Re:Play Wolfenstein 3D in a browser by huskyr on Wednesday May 09, 2012 @10:26AM (#3948702)
As far as i can see, this is all done without the canvas tag or webGL, just lots of divs and CSS. Impressive :)

For those who just want to play directly:

http://wolfenstein.bethsoft.com/game/wolf3d.html

Re:Play Wolfenstein 3D in a browser by MatthewPhillips on Wednesday May 09, 2012 @11:03AM (#3948878)
Yeah, pretty slow because of that (at least on my computer). Definitely not an html5 showcase, but impressive that they were able to pull it off without canvas.
Re:Play Wolfenstein 3D in a browser by SaigonKick on Wednesday May 09, 2012 @12:15PM (#3949216)
Looks like a lot of Javascript too! http://wolfenstein.bethsoft.com/game/js/load.js
Re:Play Wolfenstein 3D in a browser by azakai on Wednesday May 09, 2012 @01:08PM (#3949478)
Interesting, it looks like they rewrote all the code in JS. I wonder why they didn't compile it.

Just speculation, but compiling might have led to a faster result (the compiled Doom was faster than this).

edit: Nevermind, looks like it renders using divs and not canvas. I guess they focused on compatibility with as many browsers as possible and not on performance.

Re:Play Wolfenstein 3D in a browser by EdgarVerona on Thursday May 10, 2012 @03:48AM (#3952318)
The other interesting thing is that it renders those divs as single pixel wide strips, apparently just as the original Wolfenstein did rendering for walls and such. Pretty cool!