Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sleepysheep

Pages: [1]
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.

2
Support / Can I make my sprite to be semi-transparent? (Set Alpha value)
« on: September 22, 2012, 01:46:10 am »
I have started to 2D Toolkit.
So far, I am happy with it.
However, I tried to set my sprite to be semi-transparent but I cannot find about alpha setting stuff.
I looked in document but I still do not get my answer.

Can I make my sprite to be semi-transparent? Can I set sprite's alpha?

Pages: [1]