The spine-xna runtime provides functionality to load, manipulate and render Spine skeletal animation data using XNA. spine-xna is based on spine-csharp.
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.
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-xna works with data exported from Spine 3.5.xx.
spine-xna supports all Spine features.
- Download the Spine Runtimes source using git or by downloading it as a zip.
- For XNA with Visual Studio 2015, download XNA 4.0 refresh for Visual Studio 2015. Install each subfolder as per the README file.
- Open the
spine-xna.sln
project file with Visual Studio. - Set
spine-xna-example
as the startup project - Set the working directory of
spine-xna-example
tospine-runtimes/spine-xna/example
- Run the example!
Alternatively, the contents of the spine-csharp/src
and spine-xna/src
directories can be copied into your project.