I have a file with size 560x1100, in which has 88 frames with size 70x100. I create animation for Charactor from these frames. If I use file with size 560x1000, everything OK. But with size 560x1100, when I load Charactor, the frame 70x100 appears 4 frames with size 35x50 in it. Could anyone help me? How could I load a file with size >1024 each dimension? Thanks so much.
Dimension of Image problem
(2 posts) (2 voices)-
Posted 2 years ago #
-
You can't use an image with a dimension greater than 1024 pixels. 1024x1024 is the maximum texture size on 1st and 2nd generation iDevices.
In future also tell us what version of cocos2d you are using as I believe now when oversized textures are used they are truncated whereas in older versions of cocos2d oversized textures were scaled to half their size.
Posted 2 years ago #
Reply
You must log in to post.