Here's an example of my lighting/field of view test I've been working on. It uses a custom plugin I wrote which uses Bresenham's line algorithm. This was all done using events and is still not very optimised (at the moment) and needs a semi decent system to get a decent frame rate. Eventually I will turn this into a grid based lighting/fov plugin AND optimise the hell out of it! <img src="smileys/smiley5.gif" border="0" align="middle">
Original grid based lighting example (not optimised)
(Move the mouse to move the light)
PS I'm a fan of roguelikes, can you tell? <img src="smileys/smiley2.gif" border="0" align="middle">
Edit 5 (24/09/11): Here is the latest pretty example. This is a bit more decorated example, it has skeletons which don't do anything! It crashes at the edges so I wouldn't go there! (Forgot to put a barrier.) Seems the rendering can slow alot of computers down so try the speed test below.
Edit 6: Here is a speed test. You can change the radius with +/-. The grid is 60x60. Please if you can, post your fps at each radi and your computer spec e.g. high, medium, low! Thanks.
Edit 7: Here is an alternate way to render the shadow and light which is a bit faster.