is a quick implementation of the plugin version using pre-calculated light/sight arrays. Left click to create a "House" which blocks sight. PLEASE NOTE: The slow down is caused by the number of black blocks, not related to the plugin!
This is just a simple example to show the speed difference so nothing fancy![/QUOTE]
And what a difference it makes!
The event driven demo runs with 4 to 26 fps on my pc, the plugin version runs with 58 to 65 fps (slowing down to 26 as soon as the black blocks are drawn).
But I must say the event driven demo reminds me more on some topdown minecraft thingy :D