The spine-xna runtime provides functionality to load, manipulate and render Spine skeletal animation data using XNA. spine-xna is based on spine-csharp.
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-xna works with data exported from Spine 3.8.xx.
spine-xna supports all Spine features.
- Download the Spine Runtimes source using git or by downloading it as a zip via the download button above.
- 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.