2D Toolkit Forum
2D Toolkit => Support => Topic started by: M.O. on August 20, 2013, 09:29:31 pm
-
Hello all I dont't know if anyone else is having problems getting spine skeletons to work with Platform specific sprite collections, but I am. Here is a link to the esoteric software thread that I am participating in: http://www.esotericsoftware.com/forum/viewtopic.php?f=3&t=514 (http://www.esotericsoftware.com/forum/viewtopic.php?f=3&t=514). Basically when I set up my skeleton for the multiple platforms, I use the 1x images (I leave off the 1x on the images). Than set up my sprite collections in unity. Unfortunately I am getting an array index is out of range error. When I set up the skeleton without support for platform specific sprite collections everything works great. Does anyone have any clue why this would be happening? Thanks.
-
I've not looked at the spine integration code recently,
but it should probably be doing spriteCollection.inst.spriteDefinitions instead of
spriteCollection.spriteDefinitions
normally inst == this, but with platforms, that is not the case. Its probably worth changing all other occurances of spriteCollllection.XXX -> spriteCollection.inst.XXX
-
Thanks that appears to work! :D