Mario Zechner 106c39d0af [workflows] Add diff artifact to dart format check for debugging 6 gün önce
..
.vscode 73a17e88c9 [tests] DebugPrinter -> HeadlessTest 3 hafta önce
codegen 7534416489 [c] Fix nullability evaluation for return and parameter types. type contains * and no &? nullable 1 hafta önce
include dbac857351 [c] Codegen can generate raw json (--export-json), builds super/sub and inheritance maps for OOP languages like Swift/Dart 1 hafta önce
src a2c752d855 [cpp][c] Fix warnings on Clang 1 hafta önce
tests 4e875bc17f [c] ir-generator now evalutes nullability in spine-cpp based on pointer (nullable) or reference (non-nullable) 1 hafta önce
CMakeLists.txt 84a541b098 [c][cpp] Use CMake presets and Ninja as the default generator 3 hafta önce
CMakePresets.json 84a541b098 [c][cpp] Use CMake presets and Ninja as the default generator 3 hafta önce
Dockerfile f9fefee0c8 [cpp] Docker build for GCC testing, minor GCC fixes 1 hafta önce
README.md 106c39d0af [workflows] Add diff artifact to dart format check for debugging 6 gün önce
build-docker.sh f9fefee0c8 [cpp] Docker build for GCC testing, minor GCC fixes 1 hafta önce
build.sh dbac857351 [c] Codegen can generate raw json (--export-json), builds super/sub and inheritance maps for OOP languages like Swift/Dart 1 hafta önce

README.md

spine-c

The spine-c runtime provides basic functionality to load and manipulate spine skeletal animation data using C. It does not perform rendering but can be extended to enable spine animations for other projects that utilize C.

Note: The spine-c code is generated using a code generator. For details on the code generation process, please see the codegen/README.md.

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-c works with data exported from spine 4.3.xx.

spine-c supports all spine features.

Usage

Please see the spine-c guide for full documentation

Setup

Manual Copy

  1. Download the spine Runtimes source using git or by downloading it as a zip via the download button above.
  2. Copy the contents of the spine-c/src and spine-c/include directories into your project. Be sure your header search is configured to find the contents of the spine-c/include directory.

CMake

You can use CMake's FetchContent to include spine-c in your project:

include(FetchContent)
FetchContent_Declare(
  spine-runtimes
  GIT_REPOSITORY https://github.com/EsotericSoftware/spine-runtimes.git
  GIT_TAG 4.3
)
FetchContent_MakeAvailable(spine-runtimes)

add_subdirectory(${spine-runtimes_SOURCE_DIR}/spine-c ${spine-runtimes_BINARY_DIR}/spine-c)
target_link_libraries(your_target PRIVATE spine-c)

Runtimes extending spine-c