badlogic b500055baf [as3] Port of commit ccc5b2f: Fixed root bone transform for skeleton. See #1379. 6 年之前
..
spine-starling b500055baf [as3] Port of commit ccc5b2f: Fixed root bone transform for skeleton. See #1379. 6 年之前
spine-starling-example b500055baf [as3] Port of commit ccc5b2f: Fixed root bone transform for skeleton. See #1379. 6 年之前
LICENSE 7f7e5f0fec Updated license headers and LICENSE files. 6 年之前
README.md 849e9acc7e Updated READMEs. 6 年之前

README.md

spine-starling

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.

Licensing

You are welcome to evaluate the Spine Runtimes and the examples we provide in this repository free of charge.

You can integrate the Spine Runtimes into your software free of charge, but users of your software must have their own Spine license. Please make your users aware of this requirement! This option is often chosen by those making development tools, such as an SDK, game toolkit, or software library.

In order to distribute your software containing the Spine Runtimes to others that don't have a Spine license, you need a Spine license at the time of integration. Then you can distribute your software containing the Spine Runtimes however you like, provided others don't modify it or use it to create new software. If others want to do that, they'll need their own Spine license.

For the official legal terms governing the Spine Runtimes, please read the Spine Runtimes License Agreement and Section 2 of the Spine Editor License Agreement.

Spine version

spine-starling works with data exported from Spine 3.7.xx.

spine-starling supports all Spine features.

spine-starling does not yet support loading the binary format.

Usage

  1. Create a new Starling 2.0 project as per the [documentation].
  2. Download the Spine Runtimes source using git or by downloading it as a zip via the download button above.
  3. Copy the sources in spine-as3/spine-as3/src/ and spine-starling/spine-starling/src/ into your project's source directory

Example

The Spine AS3 example works on Windows, Linux and Mac OS X. This guide assumes you are using FDT Free as your development environment.

  1. Download FDT free for your operating system.
  2. Download and install Adobe Flash Player 22 with debugging support](https://www.adobe.com/support/flashplayer/debug_downloads.html#fp15)
  3. Download the latest Flex SDK. We assume it will be installed to some folder on your disk called flex_sdk.
  4. Download the latest Adobe AIR SDK
  5. Extract the AIR SDK contents, and copy them to your flex_sdk folder. This will replace the Adobe AIR version shipped with Flex.
  6. Open FDT, go to Preferences -> FDT -> Installed SDKs
  7. Click Add and browse to flex_sdk
  8. Go to File -> Import -> General -> Existing Projects into Workspace
  9. Browse to spine-as3/. You should see both the spine-as3 and spine-as3-example project in the import dialog. Click Finish
  10. Go to File -> Import -> General -> Existing Projects into Workspace
  11. Browse to spine-starling/. You should see both the spine-starling and spine-starling-example project in the import dialog. Click Finish
  12. Right click the Main.as file in spine-starling-example/src/spine in the FDT explorer and select Debug 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.

Examples