2014-01-20 04:51:20 +01:00

1.3 KiB

spine-corona

The spine-corona runtime provides functionality to load, manipulate and render Spine skeletal animation data using Corona. spine-corona is based on spine-lua.

Setup

  1. Download the Spine Runtimes source using git or by downloading it as a zip.
  2. Copy the contents of spine-lua to spine-corona/spine-lua.
  3. Run the main.lua file using Corona. There are multiple examples that can be enabled by editing this file.

Alternatively, the spine-lua and spine-corona/spine-corona directories can be copied into your project. Note that the require statements use spine-lua.Xxx, so the spine-lua files must be in a spine-lua directory in your project.

Examples

spineboy Example goblins Example dragon Example