The spine-starling runtime provides functionality to load, manipulate and render Spine skeletal animation data using Starling 2.0. spine-starling is based on spine-as3.
This Spine Runtime may only be used for personal or internal use, typically to evaluate Spine before purchasing. If you would like to incorporate a Spine Runtime into your applications, distribute software containing a Spine Runtime, or modify a Spine Runtime, then you will need a valid Spine license. Please see the Spine Runtimes Software License for detailed information.h
The Spine Runtimes are developed with the intent to be used with data exported from Spine. By purchasing Spine, Section 2
of the Spine Software License grants the right to create and distribute derivative works of the Spine Runtimes.
spine-starling works with data exported from Spine 3.6.xx.
spine-starling supports all Spine features.
spine-starling does not yet support loading the binary format.
- Create a new Starling 2.0 project as per the [documentation].
- Download the Spine Runtimes source using git or by downloading it as a zip via the download button above.
- Copy the sources in
spine-as3/spine-as3/src/
andspine-starling/spine-starling/src/
into your project's source directory
The Spine AS3 example works on Windows, Linux and Mac OS X. This guide assumes you are using FDT Free as your development environment.
- Download FDT free for your operating system.
- Download and install Adobe Flash Player 22 with debugging support](https://www.adobe.com/support/flashplayer/debug_downloads.html#fp15)
- Download the latest Flex SDK. We assume it will be installed to some folder on your disk called
flex_sdk
. - Download the latest Adobe AIR SDK
- Extract the AIR SDK contents, and copy them to your
flex_sdk
folder. This will replace the Adobe AIR version shipped with Flex. - Open FDT, go to
Preferences -> FDT -> Installed SDKs
- Click
Add
and browse toflex_sdk
- Go to
File -> Import -> General -> Existing Projects into Workspace
- Browse to
spine-as3/
. You should see both thespine-as3
andspine-as3-example
project in the import dialog. ClickFinish
- Go to
File -> Import -> General -> Existing Projects into Workspace
- Browse to
spine-starling/
. You should see both thespine-starling
andspine-starling-example
project in the import dialog. ClickFinish
- Right click the
Main.as
file inspine-starling-example/src/spine
in the FDT explorer and selectDebug As -> FDT SWF Application
Note: FDT Free does not allow project dependencies. If you modify the sources of spine-as3
or spine-starling
, you will have to compile the project to an .swc
and place it in spine-starling-example/libs
.