Change children's opacity without setOpacityCascade in cocos2d-x 3 -
i know setopacitycascade cascade alpha children, in way, children alpha. therefore, if children overlaps, overlapped part looks weird.
eg.
the red , blue block have same parent
what want when set parent opacity
what got when set parent opacity
any appreciated.
Comments
Post a Comment