can we read xml files in cocos2d-html5 and do animations.

Hi,

I am looking for a way to do animations based on xml files in cocos2d-html5.
Is there any way to accomplish this?

Please give me an example code.

I would actually want to provide animations by reading through the xml file ,like their positions,name of the file .,etc.

Thanks and Regards.

What are you using to create your animations and their XML files ?

Have you tried CocosBuilder ??

I am in a windows system and I want a way to work without .plist and ccbReader . Is there any possible way?

You’d not said what design tool you are using on Windows.

There are various design/animation tools that you could download, but you’d probably need to write your own “player” code to use the output from any of them.

There is an interesting article about Flash to Cocos2D http://indiedevstories.com/2012/07/18/exporting-flash-animations-to-cocos2d-actions/

And, if you have $$$$$$, you could always buy a copy of Adobe Flash Professional CS6 and use CreateJS, however AFIK CreateJS doesn’t have built in support for Physics or tile maps etc etc.