Simple RayCasting (part2)

I didn't really like the look of my first attempt at raycasting the code was rough and due to rounding errors the walls also looked rough so I decided to give it another go.

Design goals

To achieve these design goals I spent a great deal of time looking over the Wolfenstein source code and eventually come up with this newer version of the raycasting engine, here's a screen shot of the newer engine.

 

Ok so it took me another six months but I finally updated my little raycasting engine to version three, you can now walk round a 16 x 16 grid (I also commented the code a lot more as well).

I created a little mini-game using it, where the player needs to collect 5 scientists within a limited amount of time the games called DarkNights