grogenaut Posted February 19, 2013 Report Share Posted February 19, 2013 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? Quote Link to comment Share on other sites More sharing options...
timpart Posted February 20, 2013 Report Share Posted February 20, 2013 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 Quote Link to comment Share on other sites More sharing options...
grogenaut Posted February 21, 2013 Author Report Share Posted February 21, 2013 I guess I didn't say it right. I would like to be able to do this inside of spriter so that I don't have to re-implement the position calculation logic that spriter has. If I build an external processing app for SCML then I have to re-do all of the calculations. Quote Link to comment Share on other sites More sharing options...
lucid Posted February 21, 2013 Report Share Posted February 21, 2013 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.