First Attempt at Ray-Casting
I know strille originally wrote a pretty efficient Ray-Casting Engine and Glen Rhodes recently recreated Wolf 3D in flash 8. I just wanted to see if I can whip one up just from reading some random tutorial I found online.
The result:
http://www.eden.rutgers.edu/~xiaoshi.../ray-cast.html
source:
http://www.eden.rutgers.edu/~xiaoshi...ast/source.txt
The map is a box with a smaller box in the center, there is some distortion that I haven't been able to figure out. Movement is a bit choppy because I'm just using key listeners instead of embedded them in onEnterframe.