Tuesday, August 18, 2009

Adobe Alchemy Ray Caster Port

======== UPDATE 2010, April 5========
Source Code Released:
http://bruce-lab.blogspot.com/2010/04/alchemy-ray-casting-engine-source-code.html
======== UPDATE 2010, April 5========

Interested in ray casting, I once wanted to port this C++ code to as3.

Don't have much time for that and have little faith in as3's speed, I haven't done that yet.


Then I knew adobe alchemy, played Mike's Doom port and decided to have a try using Alchemy.


A Wolfenstein 3D is to complicated for me but this simple code is just fine. Not used to C/C++ programing any more, I got lots and lots of
warnings when compiling my swc. Luckily, it works in the end.


I first tried no textures, then one texture and finally full textures.


The swf looks all right but it is a mess behind what you see. Lots of work need to be done with the source code.


DEMO:http://flaswf.googlecode.com/files/Alchemy_RayCaster_DEMO.swf




Besides this simple test, I also played with a voxel terrain engine (as3 port by me available here) and other old school effects using Alchemy.
 

Sponsors