Spritesheet Size Limitations?

Monkey Forums/Monkey Programming/Spritesheet Size Limitations?

zoqfotpik(Posted 2013) [#1]
I remember a while back there were some issues with using a spritesheet that exceeded the dimensions of the screen.

Is this still a limitation with Monkey or am I thinking of Blitzmax?


Amon(Posted 2013) [#2]
It's a limitation with the Hardware gpu, I think! Best bet is to stick to 2048x2048 as a maximum.


Tibit(Posted 2013) [#3]
I have not heard or noticed any problems with larger-than-res texture packs. However like Amon said, I have also heard that 2048x2048 is some sort of max for mobile - if it applies to "all", "some", "most" or "few" I have no idea, but none the less a simple rule to follow - simply use multiple maps for bigger games :)


FelipeA(Posted 2013) [#4]
From my experience there is a limit size on the iDevices, I belive is the size the Amon and Tibit metioned. I can't be sure about the other targets. It's not a monkey thing.


zoqfotpik(Posted 2013) [#5]
That resolution is no problem at all, I was more concerned about using strips that might exceed the screen size by some minimal amount.


Jesse(Posted 2013) [#6]
http://www.monkeycoder.co.nz/Community/posts.php?topic=188#1050

I got this a while back from Mark. maybe is helpful.


Nobuyuki(Posted 2013) [#7]
max texture sizes:

1024 x 1024
iPhone 2g
iPhone 3g
G1


2048 x 2048
iPhone 3gs
iPhone 4
iPad
Galaxy Nexus
Nexus S
Xoom
Galaxy Tab
Nexus 7

4096 x 4096
iPhone 4s
iPhone 5
iPad 2
iPad 3
Nexus 4
HTC One S
Xperia Play


Rex Rhino(Posted 2013) [#8]
Also of note: While the Xbox 360 can handle textures larger than 2048x2048, the XNA texture import tools cannot convert a file larger than that - Thus, you will get a compile error in Monkey if you try to use a texture larger than 2048 for XNA.