• Editor
  • AS3 and Starling runtimes available

Related Discussions
...
  • تم التحرير
6 أيام لاحقا

Firstly this is such a good tool, I'm loving it, congratulation on its creation

In the AS3 example you've supplied how would I go about changing the skins?

Tried using a similar syntax to the Java example (setSkin) but no luck.

Cheers

Thanks! 🙂

Try:

		skeletonAnimationSprite.skeleton.skinName = "skin name";
		skeletonAnimationSprite.skeleton.setSlotsToSetupPose();

How I do to export to starling?

Spine exports to JSON or binary. You use the spine-starling runtime from github to load the data and render your skeletons.

Use this:
http://code.google.com/p/libgdx/wiki/TexturePacker
Or:
http://texturepacker.com/

I will do documentation as soon as I'm done with the 2D Toolkit runtime. Until then, with the above you should be able to export from Spine and create an atlas, then replace the Starling example files with your own. You'll be well on your way to putting it in your game at that point.

Remember if you use http://texturepacker.com/ (Texture Packer) to set the data format to LibGDX.

🙂

Thank you for the informations!