Skip to content

Dont support cocos2dx setCascadeOpacityEnabled method #69

@uuuzzzuuu

Description

@uuuzzzuuu

I want the gaf anim fellow ccNode's opacity change. i use this method, and cocos2dx support 'setCascadeOpacityEnabled ' method, I use it but nothing take effect.

here is a example:

XXXLayer.[GafObject1].[cc.Node].[GafObject2]

GafObject1 = gaf.GAFAsset:create("yyy.gaf"):createObjectAndRun(true)
GafObject2 = GafObject1 :getObjectByName("zzz")

XXXLayer:isCascadeOpacityEnabled true
GafObject1:isCascadeOpacityEnabled true
[cc.Node]:isCascadeOpacityEnabled false
GafObject2:isCascadeOpacityEnabled true

but i cant find where is this [cc.Node] node?

I try to use GafObject2:getParent() to find [cc.Node], but it's wrong.

how can i deal it? thx very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions