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
[ Parent
| on HN ]
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!