You could do this via the animation behavior. Create different color versions of your actor (however many you want), then import them into the animation behavior and set the framerate to 1 frame/sec.
in each actor theres self color attributes that are red,blue, and green. They can go from 0-1, and remember you have to change the other colors to 0 as well as chnaging the color u want to 1
So if you wanted to change a actor to red when say touch is pressed, you would do this:
Rule: When actor receives event touch is pressed: -Change attribute self color red to 1 -change attibute self color blue to 0 -change attribute self color green to 0
Comments
- Jeff
So if you wanted to change a actor to red when say touch is pressed, you would do this:
Rule: When actor receives event touch is pressed:
-Change attribute self color red to 1
-change attibute self color blue to 0
-change attribute self color green to 0
Change Attribute self.Color.Red = random(0,100)/100
Change Attribute self.Color.Green = random(0,100)/100
Change Attribute self.Color.Blue = random(0,100)/100