• Runtimes
  • SDL support???

  • Изменено
Related Discussions
...

Hello. I plan on making a game using SDL and will not be developing a game engine or framework. The game will be using C++ or C#(C++ is planned) and I wish to use spine animations along with mesh and ffd. Is there any way I can implement spine animation to my 2d game?

Hello, you can use our generic runtimes to implement Spine's animations into your game. Please see the following page for more details:
Spine: Runtimes: runtimesGeneric

Luke написал

Ok will I be able to use all the features such as mesh deformation and ffd in sdl?

Bobsolo1 написал

Ok will I be able to use all the features such as mesh deformation and ffd in sdl?

Yes, those features are available; for example, please see the Runtime guide for spine-cpp for more information. More information concerning deforming meshes can be found in this section.

That's not entirely correct. While the generic spine-cpp and spine-csharp runtimes will be able to load and compute all features Spine provides, they do not provide rendering code for a specific engine or framework like SDL. You will have to write rendering code yourself. See this guide spine-cpp Runtime Documentation: Integrating spine cpp in your engine

месяц спустя
Mario написал

Extremely late but do I use the Implementing Rendering guide for the rendering process? I'm not new to C++ or anything

месяц спустя

I already posted this somewhere else in the forum, but here it is just in case:

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 GerogeChong did four years ago but with no OpenGL, only straight SDL.
It's also similar to a proof of concept rmg-nik 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

royalstream написал

Hello. Sorry just now got this and will be taking a look!