Jump to content

Render out plugins


grogenaut

Recommended Posts

I've seen a bunch of info about reading the SCML file format, but I wanted to know about a different path to getting spriter data. If I wanted to "render" out each frame in my own format, is there a way to do that in spriter?

For instance, what I really want to do is output, per frame, a list of object locations, rotations, and z-indexes. I'm not interested in re-implementing spriter's animation tweening, or keeping up with it.

I know this is much more data but it makes my game rendering much easier.

Anyway, is there a path for this in the codebase / plugins?

Link to comment
Share on other sites

The SCML file already contains locations, rotations and z-indexes and that data could be extracted out with an XML transform utility. If there are bones in the animation then locations and rotations would be relative to the bones. With an actual program it would be possible to produce a "filleted" version if you don't care about tweening as you say.

Tim

Link to comment
Share on other sites

Its not impossible to add in the distant future, after all other planned 1.x features. As timpart said, all of the information is already in the file, and even using a custom format, a loading api would still be needed. As a result, its low priority, as a very niche feature with limited use that would be fairly complex to implement.

Link to comment
Share on other sites

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...