Pixelbased raycasting engine ported to AS3.0

Wednesday, October 26th, 2005

Pixelbased raycasting engine implemented in As2.0 for Flash 8 blogged here is now ported to AS3.0 in Flex Builder 2.
And is 10 times faster. Try it on my friend page.

Enjoy.

tagged under:

ABOUT THIS AUTHOR

Get a Trackback link

4 Comments


  1. Ralph Hauwert
    Visit Site
    October 26th, 2005

    To be honest…this one is not as3 :
    http://www.symphonyplanet.com/glenrhodes/wolf/myRay.html

    And I think it’s faster (yeah, it’s also lower res rendered, but the viewPort is bigger). Also, it’s more complete.


  2. Olli
    Visit Site
    October 26th, 2005

    Yes, you’re right. This is just a techdemo.
    The engines are quite different. In my version every pixel is redrawn on every frame. But this shows the great speed improvement of AS3 :-)


  3. Richard
    Visit Site
    October 26th, 2005

    Hey Olli,

    I think some of the apparent speed difference is actually do with the keyboard control. In Glens version you can hold down the up key to move smoothly forward, in yours you use the key-repeat. If you hold down the key it does actually run pretty smoothly. Any chance you could modify the KB handling to allow for smoother movement? Very nice example btw.


  4. Olli
    Visit Site
    October 27th, 2005

    keyboard control works better now.
    its pretty poor that Key.isDown() was removed in AS3 so i had to use the onKeyDown event. If someone knows a better way please let me know.

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

CommentLuv Enabled

Images is enhanced with WordPress Lightbox JS by Zeo