Mario Zechner de697385fc [runtimes] Fix up README.md files using correct editor version. 4 anni fa
..
data 8db815bd33 [corona] Renamed runtime to spine-solar2d 4 anni fa
spine-solar2d 3f735ed0be [lua] Ensure clipper.clipEnd() is called appropriately. See #1694 4 anni fa
LICENSE 8db815bd33 [corona] Renamed runtime to spine-solar2d 4 anni fa
README.md de697385fc [runtimes] Fix up README.md files using correct editor version. 4 anni fa
build.settings 8db815bd33 [corona] Renamed runtime to spine-solar2d 4 anni fa
config.lua 8db815bd33 [corona] Renamed runtime to spine-solar2d 4 anni fa
main.lua 8db815bd33 [corona] Renamed runtime to spine-solar2d 4 anni fa
mobdebug.lua 8db815bd33 [corona] Renamed runtime to spine-solar2d 4 anni fa

README.md

spine-solar2d

The spine-solar2d runtime provides functionality to load, manipulate and render Spine skeletal animation data using Solar2D (previously Corona). spine-solar2d is based on spine-lua.

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-solar2d works with data exported from Spine 4.0.xx.

spine-solar2d supports all Spine features.

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

Setup

  1. Download the Spine Runtimes source using git or by downloading it as a zip via the download button above.
  2. Copy the spine-lua/spine-lua folder to spine-solar2d.
  3. Run the main.lua file using Solar2D. Tap/click to switch between skeletons

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

When using the EmmyLua plugin for IntelliJ IDEA, create a launch configuration pointing at the Corona Simulator executable (e.g. /Applications/Corona/Corona Simulator.app/Contents/MacOS/Corona Simulator on macOS), set the working directory to spine-solar2d, and set the parameters to main.lua.