Changing Colour Attribute
MarcusO
Member Posts: 147
How do I change the colour attribute of an actor, e.g from red to blue when a certain condition is met.
From "Rule" if the condition is mouse button pressed, i've tried using "change attribute" to change the self.Colour. Blue = 1 . but nothing happens. The
box stays the default colour red.
Help!
From "Rule" if the condition is mouse button pressed, i've tried using "change attribute" to change the self.Colour. Blue = 1 . but nothing happens. The
box stays the default colour red.
Help!
Comments
when touch is pressed-
change attribute self.color.red to 1
change attribute self.color.green to 0
change attribute self .color. blue to 0
As you have guessed, i'm new to the Game Salad World.
I was leaving out the other to colour attribute settings.
Just tried it as you suggested and it works.
Thanks