Hi , guys . I have been using SDL for quite a while and thanks to all the contributers of it.
For a long time I was seeking a good solution of skeleton-animation supported tool/platform which works well with SDL.Unfortunately ,I couldn’t find one. So ,Inspiring from spine-sfml official runtime and for my own mobile developing,I developed a spine-runtime called ‘spine-sdl’ for SDL2. Check the github address below:

https://github.com/GerogeChong/spine-sdl

I simply test and use it in iOS. and all the spine features are supported.If you have time, it’s a good thing to extend it for other opengl platforms: such as opengl, opengles 2 , 3.
Feel free to ask any question about it.

Related Discussions
...

This is neat! I briefly went through the rendering code, looks good to me.

badlogic wrote

This is neat! I briefly went through the rendering code, looks good to me.

Thanks! Deep respect to your wonderful libgdx work!

Thanks for sharing! We added a link to your project on the runtimes page, under C++ with a note that SDL supports other languages.
Spine: Runtimes: C4343
:beer:

4 years later

Hi guys,

I modified the spine-sfml runtime to use SDL2 instead of SFML using the new long-sought geometry render API (i.e. SDL_RenderGeometry).

It's similar to what https://github.com/GerogeChong/spine-sdl did four years ago but with no OpenGL, only straight SDL.
It's also similar to a proof of concept https://github.com/rmg-nik/sdl_spine_demo did a few months ago.

I'm sticking as closely as possible to the original spine-sfml implementation. I'd say more than 70% of the code matches on a file compare. I'm providing spine-c and spine-cpp versions as well as working examples (matching the spine-sfml folders).

Come and get it: https://github.com/royalstream/spine-sdl

PS: The editor is not letting me use the url BBCode, probably because I just subscribed to the forum. So, you'll have to copy/paste the link. Sorry for the inconvenience.

Cool, thanks for sharing! I've fixed up your links. 🙂