Hello guys here, i’m a cocos2dx newer:)
I’m using cocos2dx for game developing, and got this problem:
CCLayer (setCascadeOpacityEnabled(true))
|—— CCLabelAtlas
|—— CCSprite
I have a Layer and have some childrens, this layer setCascadeOpacityEnabled(true),
I found then the CCSprite child has the right opacity which changed with the parent layer,
but CCLabelAtlas will not change it’s opacity when layer’s opacity changes.
I even set CCLabelAtlas’s setCascadeOpacityEnabled to true, and got no help.
Anyone else got this problem before? Thanks for any answer….