Thinksquirrel Posted May 6, 2012 Report Share Posted May 6, 2012 Hey guys, I've created a C# Import/Export API for Spriter in the Unity engine. This abstracts all of the SCML data into objects, and provides methods for importing/exporting Spriter data into other systems. A developer using the API would not need to worry about parsing SCML files at all. It currently uses a few Unity data structures (such as a Rect and Vector3s), but these are fairly standard and can easily be implemented for other environments, such as XNA. For the first API implementation, I've created import functionality for NGUI, and am working on implementations for other popular 2D packages. All of the sprites are automatically added to an atlas (trimmed to fit), padding is applied to trimmed space, and a character object is automatically created with all animations. One-button import: The final character is only 1 draw call, depth sorted, and can even be combined with an existing atlas. Animation data is converted into Unity's native animation format; of course, this can be changed depending on the importer implementation. Here's a Web Player example scene. There are a few animation tweaks and artifacts that still need to be taken care of: Web Player Demo Let me know what you guys think! Quote Link to comment Share on other sites More sharing options...
Bloodyaugust Posted May 7, 2012 Report Share Posted May 7, 2012 You should integrate it with RagePixel! Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted May 7, 2012 Report Share Posted May 7, 2012 Wow! I'm very impressed with what you've accomplished so quickly. Fantastic work Thinksquirrel! Mike@Brashmonkey Quote Link to comment Share on other sites More sharing options...
Thinksquirrel Posted May 8, 2012 Author Report Share Posted May 8, 2012 I've just released this. See the new thread here: viewtopic.php?f=3&t=534&p=1219 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.