nicotr014 Posted February 23, 2014 Share Posted February 23, 2014 Hello. I'm wondering if Phaser has support for animation atlases exported from DragonBones utility in Flash. It's a great animation tool that has multiple export options but I don't know if any are compatible with Phaser. It exports as SWF (XML Merged), PNG (XML Merged), Zip(XML and SWF), Zip(XML and PNG), Zip(XML and PNGs) I have tried game.load.atlas('atlas', 'assets/atlas_merged.png', null, 'assets/atlas_merged.png', Phaser.Loader.TEXTURE_ATLAS_XML_STARLING);and other such combinations with no success. Normally it should be like this:game.load.atlasXML('atlas', 'assets/atlas.png', 'assets/atlas.xml');however DragonBones also exports a "skeleton.xml" file in addition to the atlas.xml file. I think it holds some of the animation/position data. Any ideas how this can work? Thanks!! Link to comment Share on other sites More sharing options...
Secretmapper Posted February 23, 2014 Share Posted February 23, 2014 I don't think it would work. Dragon Bones is more of a skeletal animation system while from what I understand phaser only accepts texture atlas. Link to comment Share on other sites More sharing options...
rich Posted February 23, 2014 Share Posted February 23, 2014 No it definitely won't work currently, but it's something we'd like to look into given how Spine support in JS is so massively intensive. Link to comment Share on other sites More sharing options...
Recommended Posts