Hello all!
I make a texture size 2048x2048. But when i added AtlasSprite to AtlasManager sprites a scaled down.
If i add texture size 1024x1024, it added in normal size.
What's wrong?
AtlasSpriteTexture 2048x2048
(6 posts) (4 voices)-
Posted 2 years ago #
-
The iPhone 3G can't handle textures bigger than 1024x1024.
Posted 2 years ago # -
Tirex, as Nicke said dont use textures over 1024^2 - its a limitation of the iphone/ipod hardware, not the cocos library.
Does anyone know if its the same limitation for iPhone 3GS? It seems like with more ram it may have a higher upper limit.
Posted 2 years ago # -
3GS is supposed to be 2048 x 2048 but I haven't tried it out and from memory the 1024 limit is hard coded in the Texture2D class so we'd need to fix that.
Posted 2 years ago # -
The 3GS can indeed handle 2048x2048 textures, but seeing as the main market is still iPhone 2G/3G owners, you'd be pretty silly to start using them in your software.
Posted 2 years ago # -
Thanks all for answers.
Posted 2 years ago #
Reply
You must log in to post.