Projects > cpp > Issues > Bug #2887

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

CCArmature performance is different between 2.1.5 and 2.2.0

Bug #2887 [Closed] 2013-10-07 07:44 . Updated over 9 years ago

Today I update my Cocos2d-x from 2.1.5 to 2.2.0, I found the CCArmature animation is very different in 2.2.0.

My armature in 2.1.5

The running is smooth, and the action of arms and gun looks unaffected.

The same armature in 2.2.0

The running has a little pause frequently, and the action of arms and gun looks very rigid.

I observed the cocos2d-x 2.2.0 move the extension/CCArmature package to extensions/CocoStudio/Armatue , and modify a lot of codes, is this cause that performance looks different?

Or is this a bug? - The Cyborg armature data (54.5 kB), 2013-10-15 09:53 (227.1 kB) jyinkailej, 2013-10-17 02:39

1.png (5.1 kB) jyinkailej, 2013-11-01 06:47

2.png (7.6 kB) jyinkailej, 2013-11-01 06:47 2013-10-09 06:45
  • Assignee deleted (
jyinkailej 2013-10-10 03:03

I have tested in cocos2d-x 2.2.0 and ran testcpp, but mine is smooth too.
Did you modify it or do something else? 2013-10-11 03:34

My armature files are built by DragonBones 2.0, not CocoStudio.

Please compare the testcpp in v2.2.0 and v2.1.5, they are different.

There are two screen capture movies for TestCpp(v2.2.0 and v2.1.5), the files are a bit big, please wait a minute.

Please notice the tail end, the motion of arms and legs.

I don’t modify anything in this test.

For v2.2.0 testcpp/ExtensionsTest/CocoStudioArmatureTest

For v2.1.5 testcpp/ExtensionsTest/ArmatureTest

jyinkailej 2013-10-15 02:31

ok i see that 2013-10-15 07:11
  • Assignee set to jyinkailej
  • Priority changed from Urgent to Normal
  • Target version set to 3.0-alpha1
jyinkailej 2013-10-15 08:20

It’s not the program error.
Just the changed Dragon .fla error.

And the Cyborg.fla also be changed, you cann’t use the Cyborg.fla from DragonBone site 2013-10-15 08:27

If this isn’t program error, why the cocos2d-x 2.1.5 display corrected, and the official TestCPP of cocos2d-x 2.2.0 display incorrect?

I should use which fla file? Or I must modify a fla file to match the cocos2d-x 2.2.0? HOW?

jyinkailej 2013-10-15 09:11

Because i have modified the .xml file.
I have updated the Dragon .xml file. Waiting for reviewing. 2013-10-15 09:53

Tens of minutes ago, I saw a new pull request: [[]].

Is that pull request for this bug?

I found some modification in Dragon.xml. The version of skeleton tag update to 2.2, and it add a parent key in b tag.

My Cyborg armature data is generated by (DragonBone2.2.2 for cocos2d-x), this is a tool that I modified for match to cocos2d-x 2.1.x, it can auto-generate a PLIST file when export png+xml. Therefore, I believe my Cyborg armature data is new and it can match to DragonBones 2.2.

The tool(DragonBone2.2.2 for cocos2d-x) is here: [[]]

I uploaded a file, this file was generated by DragonBone2.2.2 for cocos2d-x. The file format is as same as the amended Dragon.xml. It also include parent key in b , and pX / pY in d tag.

This armature file( is correct in cocos2d-x 2.1.5, and is incorrect in cocos2d-x 2.2. It looks like description above.

If this tool can’t generate normal aramture data for cocos2d-x 2.2, then can I use which tool to generate the new .xml file?

Must I modify it by manual operation?

jandujar 2013-10-15 12:57

any information about this bug?

My graphical artist is waiting to know which tool to use, DragonBones2.2 by Jacky doesn’t work and CocoStudio doesn’t scale to 0.5

jyinkailej 2013-10-15 14:06

You cann’t make .fla like before.
In origin .fla the last frame and the first frame is not the same. And some movement only have two frames.
It may cause some problem.

You can find the changed .fla from

jyinkailej 2013-10-17 02:39

Upload a here. You can find the modified project here

jyinkailej 2013-11-01 06:47

1.I think the Dragon in the DragonBone Test moves not normally is a bug of DragonBonePanel.
I just remove the parent and child relationship of this Dragon in the DragonBonePanel, then export data for cocos2d-x.
And as you see, the tail end, arms and legs is strange.
So i just test the original .fla, and it looks good.

2.Original .fla makes animation like : 1.png .
A movement just has two frames, it likes only going but not coming back.
You need to make the first frame and the last frame the same to make this animation fluency and normal.

like : 2.png.

You can find the modified project in the attachment

zhangxm 2013-11-15 03:44
  • Status changed from New to Closed

Atom PDF

Start date:2013-10-07
Due date:
% Done:


Target version:3.0-alpha1