How to tween dynamic light smoothly from light to dark i tried this but I just can’t get the color i want
You want to go with HSL
And now you only adjust L
As heads up i gonna say
H goes from 0 to 360
S and L from 0 to 100
And calculating 100% for something is
100% / max value * current value
FOR EXAMPLE
100 / 360 * variable responsible for hue
And now you can set variable responsible for hue between 0 and 100
But that is if you want all 3 values to work between 0 and 100
ALOS VERY IMPORTANT
I remember you should go for 50 lightness not 100
I don’t remember why but i remember you should
https://wiki.gdevelop.io/gdevelop5/extensions/color-conversion/
So i changed the variable values to color HSL and then i tweened the value to the desired value and it worked!
Thank you1
1 Like