Candle/Torch Light

So I have got a few overlays that have different areas of light.

I am just wondering is there any script where you can call the image on the heroes location (and follow them) when they go into certain darker caves? 

basically to show you only have a certain area of light around you!
There are really a little TOO MUCH script can solve your problem...

Well, here's an example: http://forums.rpgmakerweb.com/index.php?/topic/4917-khas-awesome-light-effects/

(one of my favourite script)
Or this: http://forums.rpgmakerweb.com/index.php?/topic/25253-lanthanum-lights-v140/
from the demo your (2nd comment down) light system looks so smooooth!

Got it on now, any light images I have, I need to turn the image to negative (so the part I want to be light is dark, right?)
Ah basically yes. That's how the lighting systems work, they use the subtract blending mode to cut holes (lights) on the darkness layer.
Well I have 3 images from a pack I bought (so can't post here) tried inverting, but it only posted the black outer area to white, the circle area is (what looks like transparent) 

Do I need to colour all the area black if its transparent?
The images should use shades of grey (or white or black, they're the same shades) for the area that would be the light, and everything else in the image area should be transparent. At least, that's how I use it.

You could maybe post a screenshot of how it showed in game if it had problems.

PS: I might be going out soon.
Don't expect instant replies but they are appreciated 🙂

At present I  have a picture called "TorchLight" in my pictures.

Using the following to call "cLampLight_ex(0,0,64,255,0)" and flags up an error - tried getting error and my maker just closed down lmao =[

Using your default one with default lights, it works ok
I'd need to see the error message. 🙂

also I'm pretty sure my script calls doesn't have any uppercase letters. Also, I'm quite sure that script call that you're trying was wired to use one of the default lighting images that I provided. I believe the list of script calls is on the header of the script, you would find there the script call to use. 🙂
cool so I think I got my call sorted as it brings the picture up:

clight(0,0,255,0,"torchlight")

Going to invert it and bring the image to 640x480 so it fits on the screen. (see image)

Just a question, how do you get the image to follow you off screen, so if you were to go far right, that there would only be half the circle ?

OK so hit a problem. all looks good now for the images (right size right outline colour, but the picture sticks out like this; (see 2 new attached)

Is this just the way the image has been put together?

lightimage.png

follow1.png

follow2.png
Going to invert it and bring the image to 640x480 so it fits on the screen. (see image)
That's a huge light image...

Just a question, how do you get the image to follow you off screen, so if you were to go far right, that there would only be half the circle ?
The light is centered into it's "target" and follows it.


As for the problem, it seems like you actually have color on the parts that should have been transparent. Make sure you make those non-light parts of the image to be transparent. Maybe the inversion that you did caused it to register colors or something.
Ahh I see probably the issue, got them from one of the packs so might just be messing up.

Will have to take a proper look at the images and see what I can do

Original thread: https://forums.rpgmakerweb.com/threads/candle-torch-light.36063/