Download Calc84's Spooky Maze (and play it! It's awesome). There's a raycasting code in his library. QK4N3PZF