I was just having a play about with lights.
I created a Maplet level and recorded where the lights are using Droplet. Then I wrote a bit of code to see where the lights are (in relation to the player) pick the one closest to the player and put a DX light there of the right colour.
It works pretty well apart from the fact that you can be lit by a light on the other side of a wall... Bah details!
[img "http://mysite.freeserve.com/mentalillusion/temp/b001.jpg"]
[img "http://mysite.freeserve.com/mentalillusion/temp/b002.jpg"]
[img "http://mysite.freeserve.com/mentalillusion/temp/b003.jpg"]
[img "http://mysite.freeserve.com/mentalillusion/temp/b004.jpg"]
I created a Maplet level and recorded where the lights are using Droplet. Then I wrote a bit of code to see where the lights are (in relation to the player) pick the one closest to the player and put a DX light there of the right colour.
It works pretty well apart from the fact that you can be lit by a light on the other side of a wall... Bah details!
[img "http://mysite.freeserve.com/mentalillusion/temp/b001.jpg"]
[img "http://mysite.freeserve.com/mentalillusion/temp/b002.jpg"]
[img "http://mysite.freeserve.com/mentalillusion/temp/b003.jpg"]
[img "http://mysite.freeserve.com/mentalillusion/temp/b004.jpg"]