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 the red , blue block have same parent

what want when set parent opacity what want when set parent opacity

what got when set parent opacity what got when set parent opacity

any appreciated.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -