|
6 gün önce | |
---|---|---|
.. | ||
.vscode | 3 hafta önce | |
codegen | 1 hafta önce | |
include | 1 hafta önce | |
src | 1 hafta önce | |
tests | 1 hafta önce | |
CMakeLists.txt | 3 hafta önce | |
CMakePresets.json | 3 hafta önce | |
Dockerfile | 1 hafta önce | |
README.md | 6 gün önce | |
build-docker.sh | 1 hafta önce | |
build.sh | 1 hafta önce |
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.
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-c works with data exported from spine 4.3.xx.
spine-c supports all spine features.
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.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)