Sunday, June 5, 2011

Doom ported to Firefox using JavaScript, HTML5

Remember the epic old game Doom? Yes, the original game played on DOS. Now the classic game is getting ported over to... your browser! The port, which quietly popped up on Mozilla's Developer Network website earlier this week, is glitchy but playable… as long as you're running Firefox or Safari, that is.

According to the “details” page, the demo was compiled from C to JavaScript with Emscripten and clang. The source code is linked on that page, so adventurous developers could take a crack at improving it.

While neat, the demo's spotty browser compatibility is a bit discouraging. (Only Firefox really lets you play smoothly.) One of the selling points of open standards like HTML5 and JavaScript is consistent cross-browser support without the need for plugins, yet I can't help think that, had this demo been done with Flash, it would probably work happily across many different browsers and platforms. Oh yeah, Apple.
source: 2DayBlog.com

0 comments:

Post a Comment