Dragonbones Action Edit Organ Party C + + version for Cocos2d-x

Source: Internet
Author: User

Dragonbones official C + + version for Cocos2d-x

Dragonbonescpp for Cocos2d-x

Dragonbones and Ccarmature

Dragonbones is a set of skeleton animation toolset, originally developed using Flash and ActionScript 3.0 language, mainly used in flash games, and is currently used extensively in both page and hand tours.

Dragonbones currently contains the following content:

    1. Editing tool based on the timeline animation in the Flash IDE (art GGMM's favorite);
    2. The Skeleton animation design panel Designpanel based on the Flash IDE plugin;
    3. Skeleton animation parsing library and rendering library based on ActionScript 3.0;
    4. Javascript-based Skeleton animation parsing library and rendering library;
    5. Skeleton animation parsing library and rendering library based on Unity3d C # script;
    6. Loomscript-based Skeleton animation parsing library and render library.

A detailed introductory introduction can be seen here:dragonbones Quick Start Guide.

The Cocos2d-x ccarmature ported from the Dragonbones 2.1 release, I modified the Dragonbones Design panel cocos2d-x dedicated DragonBones2.2 so that its direct output let CCAR Mature the supported resource formats.

Ccarmature's Problem

Ccarmature transplant is not perfect, the main problems are as follows:

    1. Frame-wise animation is not supported;
    2. Poor support for nested bones;
    3. No key frame events are implemented;
    4. It is not supported to replace a bone with frame-wise animation;
    5. Fully optimized for cocos2d-x, incompatible with Dragonbones API;
    6. Cocos2d-x in the Ccarmature show the problem of extrusion and deformation animation;
    7. And so on ...

In addition, in order to support the Cocostudio feature, Ccarmature has made many incompatible dragonbones modifications, resulting in a new version of Ccarmature support for the resource format generated by the Dragonbones Design Panel. For details see: Use Dragonbones for skeletal animation in Cocos2d-x.

Dragonbonescpp

Because of these problems, the Dragonbones Development Group uses C + + to migrate Dragonbones's analytic libraries and animation rendering libraries, named Dragonbonescpp. It features the following:

    1. This library is fully consistent with the ActionScript 3 library and enables all the functions of the ActionScript 3 library;
    2. Using Dragonbones's official Design Panel, no longer required to use a modified version specifically for Cocos2d-x, to keep the data format compatible with the latest version;
    3. Supports the format of the official Dragonbones Design Panel output, so it can also support Spine formats;
    4. Support for multiple sets of rendering engines, no longer limited to cocos2d-x.

Currently, Dragonbonescpp first completed the support for the Cocos2d-x engine. Here are some demos:

    • Dragonbonescpp for Cocos2d-x 2.xDRAGONBONES official C + + version for Cocos2d-x
    • Dragonbonescpp for Cocos2d-x 3.x
    • Dragonbonescpp for Quick-cocos2d-x

Known Issues:

    1. Dragonbones Design Panel can export multiple resource formats, but dragonbonescpp only supports xml+png format;
    2. some memory leaks;
    3. Failure to do asynchronous resource loading can result in performance problems when loading resources.
Further

The Dragonbones Development Group will continue to update the library, resolve existing issues, and ensure compatibility with the Cocos2d-x engine.

Students who like to edit bone animations with Flash (or hate editing skeletal animations with CCS) are the time!

Dragonbones Action Edit Organ Party C + + version for Cocos2d-x

Related Article

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.