1
Support / Re: Can I make my sprite to be semi-transparent? (Set Alpha value)
« on: September 22, 2012, 02:53:58 pm »You set the alpha on color.a. You can do that on the color swatch in the sprite inspector, or by modifying color.a on the tk2dSprite.
I tried it but I got an error.
"Cannot modify a value type return value of `tk2dBaseSprite.color'"
my code is :
myTk2dsSprite.color.a = 1.0f;
I cannot set the value.
