my question is how can i create an Sprite with Random Color on it?
i have created one global variable called randomcolor with value 0
then i have do following on start of layout: Set "rgb("&random(255)&","&random(255)&","&random(255)&",1)" to randomcolor.
I think it should work with the SetColor effect?!
But i don't know how.
Maybe someone can help me?!
Develop games in your browser. Powerful, performant & highly capable.
Okay solved by myself with instance variables