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?
이 게시글에 첨부된 파일을 보기위한 권한을 요청할 수 없습니다.
bnemeth
  • 전체글: 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.
사용자 아바타
Nate

Nate
  • 전체글: 9334


다시 돌아감: Editor