New issue
 Projects > cocos2d-x > Issues > Bug #4344

Opacity of a sprite is not delegated to its children

Bug #4344 [New]
naghekyan 2014-03-11 05:22 . Updated almost 3 years ago

I use Cocos2d-x beta 2 and I have a problem with opacity: opacity of a sprite is not delegated to its children. So if you want to set opacity, you have to set it to all children individually.

naghekyan 2014-03-16 09:22

I could reproduce this also on iOS simulator. When I seta layer's opacity to 20 the sprites in that layer stay fully opaque.

rivm 2014-05-19 07:10

Doesn't _cascadeOpacityEnabled need to be set to true for this to work? I know they're false by default.

naghekyan 2014-05-19 11:38

Seams this is fixed in 3.0. They have changed the default?

Atom PDF

Start date:2014-03-11
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.