• Runtimes
  • Using Spine with LIBGDX

Before I buy Spine I want to make sure I can use it the way I want in my LIBGDX game. When I went to the LIBGDX runtime for spine it was just source code, so I assumed you had to download and make it into a jar. The problem is my IDE says the spine-libgdx projects requires gdx-backend-lwjgl and spine-libgdx.jar When I went to the runtimes folder in the Spine trial there was a text file redirecting me back to the github page. Are the runtime jars not available with the trial or am I just missing something super obvious.

Excuse my idiocy

Related Discussions
...
  • Modifié

Everything you need is in the runtime folder, "spine-libgdx\src". No need for a spine .jar.
Are you configuring the Libgdx project correctly? Try running a basic libgdx app first. Then add the spine runtime source.
The only .jars i include after creating an empty java project are the following:

gdx.jar
gdx-backend-lwjgl.jar
gdx-backend-lwjgl-natives.jar
gdx-backend-lwjgl-sources.jar
gdx-natives.jar

pablosn a écrit

Everything you need is in the runtime folder, "spine-libgdx\src". No need for a spine .jar.
Are you configuring the Libgdx project correctly? Try running a basic libgdx app first. Then add the spine runtime source.
The only .jars i include after creating an empty java project are the following:

gdx.jar
gdx-backend-lwjgl.jar
gdx-backend-lwjgl-natives.jar
gdx-backend-lwjgl-sources.jar
gdx-natives.jar

Do you just copy and paste the files in the src folder into your project?

No, in Eclipse i go to right click project propierties -> Build path -> Libraries -> add external jars.
Then i go to File-> import-> file system to add the spine source folder.

pablosn a écrit

No, in Eclipse i go to right click project propierties -> Build path -> Libraries -> add external jars.
Then i go to File-> import-> file system to add the spine source folder.

Ok, thank you. You cleared up a big issue that I was having. :yes:

14 jours plus tard

spine-libgdx really only depends on the "gdx" project from libgdx. The gdx-backend-lwjgl dependency is only for running the examples in the test folder.