Opacity issues with Cocos2d iPhone

114 Views Asked by At

I'm having issues with opacity on several animations in Spine after an upgrade to Cocos2D 3.1.1 from Cocos2D 2.1

To better ilustrate what I am talking about, here are two videos that show the difference between the animations:

YouTube Video: Cocos2D 2.1 (See "explosion animation" around 6 seconds into the video)

YouTube Video: Cocos2D 3.1.1 (See "explosion animation" around 7 seconds into the video)

I have already tried the following:

  • Having my designer export the Spine Animation on both non-premultiplied and premultiplied alpha values.
  • Tried setting the blendMode programmatically (via [SkeletonAnimation setBlendMode] ) to either one of:
    • [CCBlendMode alphaMode]
    • [CCBlendMode premultipliedAlphaMode]
    • [CCBlendMode addMode]
    • [CCBlendMode multiplyMode].

Any ideas?

Thanks in advance for any help!

0

There are 0 best solutions below