I’ve looked through the forums and a some of the videos to create a light that changes colours.
This video (How to Create a Flickering Dynamic Light Effect in GDevelop 5 - New Update - Dynamic Lights Feature - YouTube) really helped with setting a random radius to create a flickering light, but can I create a flickering light with random colours? I’ve seen the ‘Set the colour’ action, but I’m hoping I can set alternating random colours.
Any help is much appreciated!
To randomly change color:
Set the color to ToString(RandomInRange(1,255))+“;”+ToString(RandomInRange(1,255))+“;”+ToString(RandomInRange(1,255))
If the color is changing too fast then use timer
Thank you so much. That’s ideal. I was really close to getting it right!