July 28th, 2007
Update: Visit the home of Doomed Online here.
I’m pretty pleased with my Doom port so far. I’ve read some comments from people who think the lack of collision detection and sprites mean the final speed will much slower. These people don’t know what they’re talking about. I just finished some basic sprite support and there was no negligible speed impact. Since the sprite drawing routine is faster than the wall drawing routine, this offsets the extra time it takes to process sprites. Pretty cool, huh?
As for collision detection, that’s mostly insignificant. Every update will slow things down, but a wide majority of processing will always be spent drawing the walls, ceilings, and floors, because that’s where most of the work is.
On a side note, to test sprites, I added “dummy” enemies. They just stand there, staring at the player. I cannot begin to describe how inexplicably creepy this is. Here’s a screenshot.