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 over 2 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

Status:New
Start date:2014-03-11
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:win32
Target version:-

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