Image effect on performance
Hello,
So I have created my images for the ipad size of 1024 by 768 and have placed the images in my iphone project with rentia display and they come out 512 by 384 and then I scale the images further to make then 480 by 320. I was wondering if anyone else does this? Since I have alot of images a total of 60 mb that shows up in the gamesalad viewer yet if you look at they total image file sizes it only equals 11 mb any reason why the viewer shows such a larger amount?
So I have created my images for the ipad size of 1024 by 768 and have placed the images in my iphone project with rentia display and they come out 512 by 384 and then I scale the images further to make then 480 by 320. I was wondering if anyone else does this? Since I have alot of images a total of 60 mb that shows up in the gamesalad viewer yet if you look at they total image file sizes it only equals 11 mb any reason why the viewer shows such a larger amount?
Comments
File size is irrelevant when it comes to memory needed to display. The memory used to display is based off the images original dimensions. Even though you are re-sizing them lower, each image is still using the amount of memory required to display an image at 1024x768. That's what the 60mb is you are seeing,
is referring to.
Thanks
And yes, your best bet would be to resize those images and use the smaller ones when needed. Theres no point using a 2048x1536 iPad 3 background image on a iphone 3gs or 4.
Image size does affect FPS, because they are loaded into memory which means you have less memory left to run everything else. Game filesize does not (only affects loading time directly).