setOpacity is not working on the Node #1484
Replies: 3 comments 12 replies
-
Anyone that can help me out bcoz I'm trying to investigate it since yesterday but I'm still on no output. |
Beta Was this translation helpful? Give feedback.
-
testNode->setCascadeOpacityEnabled(true); |
Beta Was this translation helpful? Give feedback.
-
Since you're still using Cocos Studio, and not X-Studio, there is an easy way to fix this issue without having to modify the engine code. Firstly though, please close the issue #1483 that you created, since this not a bug in the engine. Now, to address your specific issue, try the following: 1 - Make a folder named "extensions" in the root of your project folder. 4 - Open 5 - Add this to your
That should work, and from that point you will be using your own version of the cocostudio extension, so you can modify it however you wish without having to change the engine source. |
Beta Was this translation helpful? Give feedback.
-
setOpacity function on node is not working on my project. To check this, I also see the Demo project (Axmol test Project) and it is also not working on there.
setOpacity is working on the sprite but when I try to use it on the Node, it does not work.
Test Code :
Beta Was this translation helpful? Give feedback.
All reactions