toadbirb

I'm trying to view an animation on a skeleton, and the skeleton loads in perfectly fine but in the .JSON instead of having animation data it just says ("animations": {"idle01": "idle01",) and there is another file that seems to contain the animation data, but I'm not sure if I'm supposed to merge both .JSON's into 1 file or if there is something else I'm supposed to do. :wounded:
toadbirb
  • Postovi: 3

Nate

Spine exports only an entire skeleton as a single JSON file. It never separates animations into separate files. If you got the data from someone else's application, they could be doing such a thing.
Avatar
Nate

Nate
  • Postovi: 11875

toadbirb

is there anyway to re-combine them or import all assets into spine?
toadbirb
  • Postovi: 3

Nate

I can't say, since I don't know what the software the files are for is doing. If it's Spine data and you knew how to combine them to get the data in the format that Spine understands, then sure you could import them into Spine.
Avatar
Nate

Nate
  • Postovi: 11875

toadbirb

it is spine data, in the main file im able to import it into spine it just wont play the animations and i think it references another file? the main file says something like
"animations": {
"idle01": "idle01",
and then there is another file i have that starts off like:
{
"idle01": {
"bones": {
"bone48": {
"scale": [
{},
and then it goes on to list animation data, but in a separate file than the main asset, I'm not sure if those are combinable to become readable in spine but thats the situation with the separate files
toadbirb
  • Postovi: 3


Natrag na Editor