Game Development Community

Recommended Texture sizes

by Hugo Munoz · in iTorque 2D · 09/18/2011 (10:36 am) · 3 replies

Hi guys, Im working on a platformer game for ipad, currently I have some big spritesheets for my characters, let's say 1860 per 1800. The game works fine on the simulator and desktop app but on the device it crashes, so I want to know which is the maximum "safe" size for my sprite sheets.

Also I know that I have to compress it on PVR and all the images must be POW of 2, but before doing all that I want to make sure I have my textures (PNG's) on a safe size for the device.


Thanks in advance


Hugo.

#1
09/18/2011 (1:30 pm)
I would say no more than 1024 x 1024, but the memory usage depends on the density i.e. how much of the available space contains pixel data.

Have to remember that iPad 1 is the WORST device of the lot out of (3GS, IPhone4, iPad1 and iPad2). It has the same amount of RAM as a 3GS but has to push around 4x as many pixels.

You should really split your sprite sheets into small chunks and have on-demand datablock loading.
#2
09/19/2011 (6:27 am)
@Hugo - Scott's suggestion is also my own. Most devices cannot handle above 1024 x 1024. It's only the more recent hardware (iPod 4th gen, iPhone 4, iPad 2), that can handle about that resolution.
#3
09/19/2011 (7:36 am)
Thanks guys, good info