thunder-engine / thunder

Thunder Engine – Cross-platform 2D and 3D game engine with modular architecture
https://thunderengine.org/
Apache License 2.0
521 stars 34 forks source link

Resources: Spine 2D Importer #29

Open eprikazchikov opened 6 years ago

eprikazchikov commented 6 years ago

As an Artist i would like to import Spine 2D format

bedwardly-down commented 2 days ago

I know this is old, but have you seen the current license? Spine is great and well maintained but implementing it directly into your engine would require anyone that develops with it to have a paid license to use it unless you distribute precompiled libraries that can be linked to: https://github.com/EsotericSoftware/spine-runtimes?tab=readme-ov-file#licensing . It’d be appealing to implement for those that use it (I would) but would probably be best to develop as a separate repo that can be optionally added and built if found in the root repo with a warning about the licensing.

Here’s the C Api for Inochi2D, an open source alternative that is licensed in a more friendly way for Indie developers (not sure how stable or viable it would be at this stage): https://github.com/Inochi2D/inochi2d-c

bedwardly-down commented 2 days ago

Just messed around with building the spine-runtime on FreeBSD and the GLFW version would probably require some heavy modifications to build properly (right now, it mostly doesn't detect system libraries and headers even after pointing to where they're at in the Cmake files), but the C and C++ targets build and link without issues. I also know that if you were to go Live2D (which is used mostly for VTuber models but lately has also been used like Spine to rig 2D game models), its native framework builds without too many issues (but the core library would still need to be ran through something like WINE or the Linux binary compatibility to fully support all that can be done with it in a game engine): https://github.com/Live2D/CubismNativeFramework