I currently use
Every tick
Set angle to angle + RAINBOWSPEED
But of course the speed this happens varies due to fps
Is there a better way to rotate the object that is independent of fps?
Develop games in your browser. Powerful, performant & highly capable.
set angle to angle + (RAINBOWSPEED * dt)
you will likely have to increase your rainbow speed variable though
Wicked
Thanks for that and have a great weekend.