Spine 2.1.27 Pro Overlay Mode (Blending)

Source: Internet
Author: User

Update spine to 2.1.27 Pro and find that more overlays are available,

Previously only normal and additive were optional.

More overlay methods are useful for animating special effects with spine. But I haven't tried these stacking methods to create a richer combination like the overlay in Photoshop.

Today, however, the new version of the Spine 2.1.27 Pro made in the use of additive overlay animation to play in Cocos2dx 3.3, found that additive did not take effect.

Through the COCOS2DX 3.3 integrated Spineruntime source code debugging, found in the JSON parsing a step, there is no additive property read in, a look at the original JSON file format is:

Property name: "Additive", Value: TRUE or FALSE.

Now the format of the JSON file becomes:

Property name: "Blending", Value: Normal,additive,multiply,screen.

So with the old version of the Spineruntime parsing, can not find the "Additive" this attribute name, so it is not considered Additive.

The best solution is to update spineruntime. And then everything is OK.

Spine 2.1.27 Pro Overlay Mode (Blending)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.