Background max size?

Hello guys

I m creating a Map based game. The bg of my map is obviously bigger the screen size , 640X960 instead of 320X480 and it scrolls up, down, left and right

I would like to know which is the maximum size of image (supported by most devices)  that can I insert as bg??

It all depends on the device and the operating system.  There is a value called “MaxTextureSize” that you can get from system.getInfo() that will let you know the device’s maximum image size.  On Android, however, we automatically resize it to 2048x2048.  iOS we take what you give us.  Most devices on the market today should handle 2048x2048 and newer devices larger, but you may find older devices limited to 1024x1024. 

In other words fitting in to a 2048x2048 box is the most safe option for you.

Rob

Really appreciated… thanks very much

It all depends on the device and the operating system.  There is a value called “MaxTextureSize” that you can get from system.getInfo() that will let you know the device’s maximum image size.  On Android, however, we automatically resize it to 2048x2048.  iOS we take what you give us.  Most devices on the market today should handle 2048x2048 and newer devices larger, but you may find older devices limited to 1024x1024. 

In other words fitting in to a 2048x2048 box is the most safe option for you.

Rob

Really appreciated… thanks very much