The spine-libgdx runtime provides functionality to load, manipulate and render Spine skeletal animation data using libgdx.
- Download the Spine Runtimes source using git or by downloading it as a zip.
- Using Eclipse, import the project by choosing File -> Import -> Existing projects. For other IDEs you will need to create a new project and import the source.
Alternatively, the contents of the spine-libgdx/src
directory can be copied into your project.
- The "test" source directory contains optional examples.
- spine-libgdx depends on the gdx-backend-lwjgl project so the tests can easily be run on the desktop. If the tests are excluded, spine-libgdx only needs to depend on the gdx project.
- spine-libgdx depends on the gdx-box2d extension project solely for the
Box2DExample
test.
- AnimationState Example
- Box2D Example (written before bounding boxes were available)
- Mix Example
- Skeleton Example