Jump to content
Spriter Forums

Recommended Posts

Posted

Hi,

I've been integrating Spriter b5 into my workflow, along with TexturePacker, and can now share a useful Perl script that I use to merge their data.

The script is designed for traditional, frame-by-frame, animations (ignoring bone, transformation, and tweening data).

Animations are rescaled to the user's specifications, to match the scales used in their TexturePacker sprite atlases. Multiple Spriter SCML documents, multiple TexturePacker atlases, and multiple scales are supported.

The merged data is output as an XML document, whose format is specified by a schema included in the project directory. The schema for the input XML document, containing the script's parameters, is also included.

I use either XAmple (http://freecode.com/projects/xample) or XMLSeed (http://www.xmlseed.com/) to generate XML documents from schemas. You can easily create your own parameter input document from the included schema.

https://github.com/stargazystudios/scaledAnimationMetaDataToGameXml

I hope it's of use to others.

Cheers,

Jeff.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...