The spine-monogame runtime provides functionality to load, manipulate and render Spine skeletal animation data using MonoGame. spine-monogame is based on spine-xna and adds MonoGame project files.
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-monogame works with data exported from Spine 4.2.xx.
spine-monogame supports all Spine features.
- Download the Spine Runtimes source using git or by downloading it as a zip via the download button above.
- Let your MonoGame project reference the project
spine-monogame/spine-monogame/spine-monogame.csproj
. - Optionally add
spine-monogame/spine-monogame-example/Content/shaders/SpineEffect.fx
to your content pipeline build if you require two color tinting support. See thespine-monogame-example/ExampleGame.cs
on how to use it.
Note: spine-monogame
references source files from spine-csharp/src
.
- Follow the MonoGame Getting Started Guide on how to setup your development environment for MonoGame. Make sure to also install the optional dependencies allowing compilation of shaders.
- Download the Spine Runtimes source using git or by downloading it [as a zip via the download button above.
- Open the
spine-monogame.sln
Solution in the IDE you choose based on theMonogame Getting Started Guide
. - Set the
spine-monogame-example
project as the startup project, and ensure the working directory is set tospine-runtimes/spine-monogame/spine-monogame-example
when running or debugging the project.