enayetn

We've encountered a little bug when exporting an animation from Spine into JSON with pretty print active.

In Spine, everything looks good, and exporing a .gif works like a charm.

However, upon exporting to JSON and then compiling in LibGDX and rendering in game, some, not all, of the sprites are rotated incorrectly for some reason (seems like 180 degrees off). We manually changed the rotation values in the file to fix it however this process would be needed everytime I update the animation and export for use in our game. Any ideas as to what might be causing this issue? I have included the project files and pictures to illustrate what's happening. Unfortunately the program doesn't crash so I don't have a log file.

project files:
https://www.dropbox.com/s/n4zpcpn329yl4 ... eton.atlas
https://www.dropbox.com/s/qr6wgsh1m7psy40/skeleton.json
http://www.khelainteractive.com/wp-cont ... eleton.png


good (in spine): http://www.khelainteractive.com/wp-cont ... ng.png.gif
bad (in eclipse): http://www.khelainteractive.com/wp-cont ... il_bug.png


Thanks in advance! Great work on the software :D
enayetn
  • Сообщения: 4

Nate

Ah, oops, I accidentally broke this in git. Fixed, thanks!
Аватара пользователя
Nate

Nate
  • Сообщения: 10503

enayetn

Looking good now, thanks Nate!
enayetn
  • Сообщения: 4


Вернуться в Bugs