Reputation: 1155
cocos2d: Couldn't create texture for file:OV_map_2560x2560.png in CCTextureCache Any idea why this happens to 2 of my phones and none of my friends' phones?
Upvotes: 0
Views: 156
Reputation: 64477
Not every device is capable of loading textures that are larger than 2048x2048.
Maximum texture sizes:
1024x1024
2048x2048
4096x4096
Upvotes: 1
Reputation: 24557
Would I be right in assuming that OV_map_2560x2560.png
is a 6 megapixel image? That would need 18 MB of storage to display.
Make the image smaller, and you'll have a better chance of getting it to appear on mobile devices.
Upvotes: 0