Code Review of Doom For the iPhone 161
Developer Fabien Sanglard has written a code review for id Software's iPhone port of Doom. It's an interesting look into how the original 1993 game (which he also reviewed to understand its rendering process) was adapted to a modern platform.
"Just like Wolfenstein 3D, Doom was rendering a screenframe pixel per pixel. The only way to do this on iPhone with an acceptable framerate would be to use CoreSurface/CoreSurface.h framework. But it is unfortunately restricted and using it would prevent distribution on the AppStore. The only solution is to use OpenGL, but this comes with a few challenges: Doom was faking 3D with a 2D map. OpenGL needs real 3D vertices. More than 3D vertices, OpenGL needs data to be sent as triangles (among other things because they are easy to rasterize). But Doom sectors were made of arbitrary forms. Doom 1993's perspective was also faked, it was actually closer to an orthogonal projection than a perspective projection. Doom was using VGA palette indexing to perform special effect (red for damage, silver for invulnerable...)."
Re:Already done (Score:2, Funny)
When in slashdot, nerds dont RTFA.
Re:Already done (Score:5, Funny)
did you even read the article?
You must be new here...
Re:Pushing pixels (Score:2, Funny)
Bloody Hell (Score:2, Funny)
I thought it was "Code Review of Doom" for the iPhone not "Code Review" of "Doom for the iPhone".
I've seen some "code reviews of doom". I was looking forward to some juicy ApplePain.
Oh well.
Re:Already done (Score:3, Funny)
What makes articles slashdotted anyway?...
Or is that some mystery not approachable "even" by 6-digiters?
Re:Classics never die (Score:5, Funny)
You sir, have a career in video game blogging! Let me sign you up for a 3000 word "Top 10 Groundbreaking games of the 1990s" blog entry.
I'd like to read this article (Score:4, Funny)
But it won't fit on a 800 pixel wide screen. WTF? I thought it was a code review, not a flash game.
Re:Already done (Score:3, Funny)
Re:Classics never die (Score:3, Funny)
it's story line is simple and not drug out
Unlike, say, Pacman in which the main character spends the entire game eating pills.
I think the word you're looking for is 'dragged'.
Re:Already done (Score:2, Funny)
Re:What's with this CoreSurface licensing restrict (Score:1, Funny)
What was that RMS was saying again?
I don't remember, I was too busy watching him while he was talking [youtube.com].
Code Review of DOOM (Score:4, Funny)