I was playing around with your tile lighting example and modified some things including updating it to the C3 runtime and changing the old functions to the built in functions. I also made some sliders to adjust the color and strength.
Would you mind if I published this on the Scirra Arcade with a .c3p project file so others can use it? I will make sure to credit everyone who helped with this.
Here is the file
Thanks again for this wonderful example,
Give me a Pixel