ginz

Hi guys,

Whenever I scale bones in spine animation mode and export the animation as json then take it to cocos2d the images attached to the bones appear distorted/ skewed.
(I have unchecked the Inherit Scale checkbox of the bones I didn't want to be affected).
The animation looks perfect in spine.
If I don't use scale on the bones the images attached to the bones looks fine in cocos2d.
Is there something I'm doing wrong? or is it possible that cocos2d can't handle bones scale?

I'll appreciate any response.
Thanks!
ginz
  • Сообщения: 1

Shiu

*removed* :)
Аватара пользователя
Shiu

Shiu
  • Сообщения: 2382

collider

Thanks for the quick response Shiu. Another problem ginz and I were having along the same lines was the bones with "inherit scale" checked off were coming into cc2d offset and rotated. Checked on it works fine. Hope this helps anyone else having these issues...
I think we'll have to wait on any changes to cc2d - Birkemose mentioned October for the next release, but I know he's very gung-ho about a dedicated implementation of Spine.
Аватара пользователя
collider
  • Сообщения: 14

Nate

cocos2d can do non-uniform scaling just fine. The issue is likely that inherit scale is not yet implemented for all runtimes.
Аватара пользователя
Nate

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


Вернуться в Bugs