At least in the iPhone version a layer doesn't have opacity. Not sure why.

In my case I ended using a CCSprite and changing the opacity to it.
 On Jan 29, 2012 11:03 AM, "Facundo Batista" <[email protected]>
wrote:

> Hi!
>
> In a game I'm doing I have a background layer with an image, and a
> couple of layers above it with more stuff.
>
> I want, when the game starts, for the background image to be fully
> visible, and the rest of the images to slowly appear.
>
> An actions.FadeIn, I thought! But cocos.layer.Layer doesn't have an
> 'opacity' attribute.
>
> Is there a way to set a transparency to a whole layer?
>
> Thank you!!
>
> --
> .    Facundo
>
> Blog: http://www.taniquetil.com.ar/plog/
> PyAr: http://www.python.org/ar/
>
> --
> You received this message because you are subscribed to the Google Groups
> "cocos2d discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/cocos-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to