Spritesheet Size Limitations?
Monkey Forums/Monkey Programming/Spritesheet Size Limitations?
| ||
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? |
| ||
It's a limitation with the Hardware gpu, I think! Best bet is to stick to 2048x2048 as a maximum. |
| ||
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 :) |
| ||
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. |
| ||
That resolution is no problem at all, I was more concerned about using strips that might exceed the screen size by some minimal amount. |
| ||
http://www.monkeycoder.co.nz/Community/posts.php?topic=188#1050 I got this a while back from Mark. maybe is helpful. |
| ||
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 |
| ||
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. |