We are migrating our project from cocos2d-js-v3.0-beta to cocos2d-js-v3.0RC0 and we are having some problems with opacity in cc.LabelBMFont and also with Spine elements.
We are not able to change the opacity of the cc.LabelBMFont using setOpacity or opacity or even with actions.
Also when a Spine element include alpha changes on the images, some times it have some non expected results as shown in the following screenshot. (The image suppose to be 100% transparent).
I’m testing JS v3 final and this issue related to set opacity on label is fixed.
But i’m testing spine animations. And when the animations have opacity we still have the same problem shown in the screenshot of the first pot on this thread.
I’m wondering how we can fix this issue, do you have any clue?
Please find attached a sample code that reproduce this issue.
Basically, I changed the color of torso, head and pelvis to ffffff00 in the spineboy.json.
Hi, @mmartis sorry for being a little bit late, here is a temporary solution, but it’s not the right one, it will solve your problem in a nasty way. We have noted the issue and reported it to cocos2d-x team, they will take a look.