Subscribe

  • Subscribe  

Doom with Flash

Posted by Charles | August 27, 2007 .

Still remember the excitement when Doom came out and we started playing it on PC. The dude at Brokenfunction make Doom to Flash. It doesn’t a full game yet but the 3D environment is very impressive. Even though you have nothing to shot at or with yet, it indeed give you the Doom feeling. The performance is quite good too, considering everything is load in as Flash, about in 1.7MB.

There are good lesson to be learned from how the creator tried different ways to get the game playable. Something like this:

It took some trial and error to get this far, since making a fast rendering system is so important. I tried using the same method for drawing bitmaps as Papervision at first, and while it was very fast, it also looked terrible. Papervision’s technique doesn’t seem to work well in an FPS environment because the wall textures skewed as you walk along them. I tried again with another method that used Flash’s draw method heavily, but it was far too slow and hard to work with. I was about to trash the whole thing, but I tried a more basic system, roughly resembling how environments were drawn in the original Doom where each pixel is drawn one-by-one. It seemed like it was still too slow, but after a few key optimizations to the drawing routine it ended up being very fast. I honestly wasn’t expecting that, but it’s actually playable now on a decent computer.

flashdoom Doom with Flash

Leave a Comment

If you would like to make a comment, please fill out the form below.


Name

Email

Website

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Comments

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


Related Posts

3 Comments so far
  1. I Hate Blogs/Bloggers  April 27, 2009 5:53 am

    BLOGGING IS GAY AND STUPID AND RETARTED AND IT SUCKS!!! YOU SUCK AND ARE GAY IF YOU BLOG GO DIE!!!

  2. ariel sommeria  April 27, 2009 9:41 am

    I want a troll too! Invite him to come back more often and entertain your readers
    ariel

  3. Sravan  May 4, 2009 6:38 am

    Among other things, Internet is a living, growing, florishing monument of stupidity. I love it. :)

<

Direct TV Offers - usdirect has the best directtv deals