Jump to content

MetaMythril

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by MetaMythril

  1. Hallo I m complete new by Spriter and

    have to say at first that it is an amazing program.

    Congratulation for the developers.

    The only think is that i realy dont understand {how i can use the API folder in

    Unity}. Please can anybody give an short tutorial how to use the scml in unity.

    You can't use the current version of Spriter with Unity as this plug-in only supports the earlier Beta format from a few months ago.

  2. Texture swaps are best handled through character maps, which basically allow remapping of one image (can be atlased or not) to another. Creating character maps would be done on the Spriter side (once it's available), and I have plans to support them with the default Unity implementation.

    Yeah, texture swap was the wrong phrase to use. I definitely prefer my character be compacted into an atlas that has its parts all mapped. Looking forward to it! :)

  3. Quick question, using this API, what would be the best way to do things like texture swaps (i.e. weapon/armor changing) as I want to be able to "upgrade" items. I haven't looked at Spriter in a while so there may be something in the newer versions that help support this, just asking as it would be nice to know once I get back to working with it.

    Thanks again for your support in developing this awesome API!

  4. You are truly awesome! I hadn't had time to continue my development and as I came back to check on the file format changes I found this thread. I love that you added support for NGUI as I just recently purchased it when it went on sale about two weeks ago.

    Congratulations on a job well done and thanks for releasing it! :mrgreen:

  5. Managed to get animations working after some toiling.

    http://dl.dropbox.com/u/23549660/Unity3D/SpriterTestBuild/WebPlayer.html

    Current issues:

    -The walk animation seems buggy for some reason (not shown in the sample above) as some parts are moving out of place.

    -Still need to make it easier to manage the generated animations as there are two points I have that are hard coded.

    -Still need to update to the latest beta of Spriter and update my SCML reader.

    -More work needs to be done to improve performace. It's not bad as it is, but can stand to be better especially when developing for mobile devices.

    As for how I'm doing it, I'm reading in the spriter file and putting that data into custom classes. Then I generate the geometry and animation clips and execute the drawing updates via an AnimationEvent.

    Once I have it cleaned up and fix a few remaining issues I'll look at releasing the source.

  6. =================================

    UPDATE: For anyone finding this thread, Thinksquirrel did a fantastic job of adding support for Unity.

    Go here for info: viewtopic.php?f=3&t=534&p=1392

    =================================

    Hey guys, I just wanted to give a heads up on some progress I'm making toward a plugin for Unity.

    As of just recently, I managed to get the character imported though not animated just yet.

    Here are some screens of it in Unity:

    Spriter.SceneView.Test.png

    Spriter.GameView.Test.png

    In the future I would also like to have one click generation of a sprite atlas so that I can get the draw calls reduced. All in good time I suppose.

    I've only been working on and off on this recently. I hope to have something working soon. I'll post here once I have more.

×
×
  • Create New...