Do i need to worry about my images being divisible by 2 and having even pixel dimensions and stuff like that? I currently do that for iPod stuff but is it necessary for iPad?
When you say that, do you mean every picture will be four times smaller than on screen? (like the retina display) And for the ^2 for images, does that mean just keeping your image dimensions in even numbers - like 234 instead of 237 or 23?
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
Hi DoMan,
DoMan said: When you say that, do you mean every picture will be four times smaller than on screen? (like the retina display)
No, images come at the sizes you want on the iPad. There is no retina display (yet?...) on the iPad so Resolution Independence is not relevant.
DoMan said: And for the ^2 for images, does that mean just keeping your image dimensions in even numbers - like 234 instead of 237 or 23?
What kipper is saying: an example, say you have an image which is 256 x 258. This is fine as the dimensions are divisible by 2, but it will be allocated memory as if it was 512 x 512 (because the 258 dimension tips it into the next "power of 2"). So ideally try to keep all images to, or just below 2,4,8,16,32,64,128,256,512 and the max. of 1024. (But don't worry too much, if an image is around 200 let's say, that's fine, just be aware it'll be allocated memory of a 256 image, etc.)
No, images come at the sizes you want on the iPad. There is no retina display (yet?...) on the iPad so Resolution Independence is not relevant.
What kipper is saying: an example, say you have an image which is 256 x 258. This is fine as the dimensions are divisible by 2, but it will be allocated memory as it was 512 x 512 (because the 258 dimension tips it into the next "power of 2". So ideally try to keep all images to, or just below 2,4,8,16,32,64,128,256,512 and the max. of 1024 if they "tip over".
And if you have lot's of the same actor, with a bad image size? Will that slow down the game's performance, if so, my game to needs to be practically rebuilt...
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
"Bad" image size itself won't slow the game's performance so much if they're all the same actor but still probably best to resize them. Just drag them into the Images well and providing it's the same name, a dialog will appear giving you the option to replace the images in one go. :-)
Comments
kipper
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
A somewhat dashing for his age... Kipper
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps