Creating continuous day and night. šŸŒ—

Hi developers,
I am working with creating continuous day and night with light effects. But there is a problem with parameters of red, green, and blue colors. It will be very helpful if dynamic variables can be used with parameters. Continuous effect cant be created without using dynamic variables.
a11
a22

And i also want to thanks for this software. I was searching for 2 years for a engine with free to commercial use, easy, and with possibilities as of a standard engine.

Hi!
Iā€™m not sure if Iā€™m understanding your question, but you can pass variables values directly to the effects to change them in real time.

the reason it is not working for you is because when it comes to color objects the number is treated as a string, so you need to add it with ToString().
As an example of my rabbit farm:
ToString(rabbit2.Variable(ColorR))+";"+ToString(rabbit2.Variable(ColorG))+";"+ToString(rabbit2.Variable(ColorB))

1 Like

Thank you very much it worked. I will like to see your game.