Cocos2d iOS 2-Dimension Textures

I read about using textures with force-two parameters in several places. What are the best practices with texture sizes when using Cocos2d?

Let's say mine MyTexture.png, but the size 100x100. Currently, I just use as-is texture and ignore non-two dimensions. It may be possible to adjust the texture size to 128x128, and then set contentSizeto 100x100.

+3
source share
1 answer

Here you can find information about this. This is a discussion of POT and NPOT textures and possible errors that may cause some memory problems in your application, check this link

http://www.cocos2d-iphone.org/forum/topic/31092

, , POT NPOT, .

+1

All Articles