Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17070

[Bug] Trimmed Sprite Sheets does not work on all devices

$
0
0

@coindrop wrote:

I have spend a lot of time with this issue and I can see that it is something that has been discussed earlier but it's a long time ago, so maybe this is a different issue.

It seems that if I create a spritesheet (for animation) that is NPOT and trimmed, then the animation will look scaled and "wobbly" on some devices. To make it work on all devices I found out that the sprite atlas has to be POT, so for instance 16 images that's 256x256 in a 1024 atlas and with trim off works fine.

It's only a problem on some devices, PC seems to handle both trimmed, NPOT and POT textures just fine.
But when the same spritesheet animation is displayed on our Ipad2 (9.0.3) or Sony Experia Z3 it does no longer look correct. It looks scaled and wobbly. Strangely enough my Iphone 5c ios (9.0.3) has no issues.

Earlier threads (not sure if it's 100% related):
1. cocos2d-iphone - issue #1345
2. enter link description here

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>