Exporting DragonBones animation data for cocos2dx?

Hello

I saw different tests in Cocos2dx . How do we export the animation data from flash and use in cocos2dx . I have installed dragonbones design panel . But how can we map the spritesheet and animation data ?

Krithik

Is anyone using CCArmature animation which is Extension Test ?

export from the dragon bones panel to xml + png which creates the texture atlas and the bone configurations.
I have not used the test but once you get the xml and png you should be able to load and use it.

Yes i tried to export through dragon bones design panel , there are many options in export in that xml + png and xml + pngs are the correct once i guess. But if it generated texture then cocos2d wont be able to load the texture since it needs plist file which has the coordinates (which usually generated by texture packer or zwoptex even in CCArmature they have generated using texture packer) . Now how can we map this generated texture & animation data xml file ? I guess we need to use cocos studio , but it is in Chinese so i am not able to understand it , also it is Windows only software.

Anyone ? …

You can use:
https://github.com/2youyouo2/Flash2Cocos2d-x/tree/master/1.5

Thank you i will check it out :slight_smile:

Hi Krithik B,

Do you find any answers how to load it without the plist?

I made a tool DrgonBones 2.2 for cocos2d-x base on DragonBones2.2, it can export meanwhile a png file, a xml file and a plist file.

You can download it in my blog: http://zengrong.net/post/1915.htm
Or in Github: https://github.com/zrong/dragonbones-for-cocos2d-x

DragonBones is MIT licensed, so I think that this application must be included into the cocos2d family. It will be to usefully for graphic animations

@Rong zeng, I have tried your tool for dragon bones but I’m experiencing some issues like flickering and textures positions often goes wrong… is there any quick fix for it?

@Shuin Ashe , are you using 2.2 or 2.3?

@Jose 2.2 as required for the tool rong zeng’s made

@Jose Btw I’m using cocos2dX 2.1.5 version

Shuin Ashe wrote:

@Rong zeng, I have tried your tool for dragon bones but I’m experiencing some issues like flickering and textures positions often goes wrong… is there any quick fix for it?

Could you send me your wrong animation? The plist+xml+png file, and a fla file is better.

@Rong Zeng Sure… please kindly tell me the e-mail address to where I should send it… :wink:

@Jacky Tsang Hello still there? I really do hope you can fix it quickly because we’re nearly on our deadline… please do check it. thanks…

Shuin Ashe wrote:

@Jacky Tsang Hello still there? I really do hope you can fix it quickly because we’re nearly on our deadline… please do check it. thanks…

Sorry, I don’t see this post.

My e-mail is: zrongzrong(at)gmail.com

Hi zrong, can you include this feature in the new version of dragonBones Panel?, the new version have some features that are no available in the old version. Thanks in advance.