I have multiple light sources in a level called 'light' and I want the brightness of each instance to increase as the player sprite gets closer to them. So this could be a minimum brightness of 30 and a maximum of 90.
I know how to compare distances, but can anyone tell me how to set up a variable which takes that data and outputs within my own set limits of minimum / maximum brightness?
Best,
Mik