bnemeth

We have a panel created in Spine, which does render well on all the platforms except on iOS.

Here is a very lightweight integration of the Spine web player to showcase the issue: http://runiosit.com/spine_test/
If you open it on Desktop or on Android phones, it looks perfect, but on iOS there is a glitch:
IMG_2162.PNG


Here are the atlas exported version (can be imported in Spine): https://www.dropbox.com/s/s2n5rsxgh8owvbl/display.zip

We do not use premultiplied alpha, so this cannot be the source of the issue.

Can you please give us some hint about what could be the issue?
You do not have the required permissions to view the files attached to this post.
bnemeth
  • Posts: 1

Nate

It looks like a problem with precision. The upper left is a region attachment? Is it positioned in the right place, so pixels map to integer world coordinates? When rendering are you mapping the skeleton's world coordinates 1:1 with screen pixels?

Note that a region attachment is positioned using its center. If your image has an odd dimension, the attachment needs to be positioned at an x.5 world position. Eg, if an image is 10x10 it could be positioned at 15,15 and the image pixels would match 1:1 with screen pixels. If your image is 11x10 you'd need to place it, for example, at 14.5x10 because the X dimension is an odd number.
User avatar
Nate

Nate
  • Posts: 9333


Return to Editor