How to optimize graphics for retina display?
Spontida
Member Posts: 0
Ok so I finished my game and everything and plan to publish it for the iPhone 5s/5, how do I optimize the graphics? Thanks!
Comments
64x64/128x128/256x256/512x512 etc etc
Like Balls? Then click here! We've 100 coming soon
I'd say you should make them 1 times the size you need ! And that size is double the resolution of your actors, so if you have a 100 x 100 pixel actor the graphics for that actor should be 200 x 200 pixels.
PNG files that will be best because they tend to not blur when scaling ?
PNG files will soften just like any other image format when scaled.
To summarise: definitely, for RI: double the width, and double the height, which is 4 times the size. And not double the resolution: same resolution (72ppi). Preferably length and width both divisible by 4.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
For the record, here's "proof" that if you make an image twice the width and twice the height, the resulting image is 4 times the size of the original:
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
The problem with these simple concepts is that there is so many ways of communicating them !
Sure is, @Socks :-) The only danger with just doubling the resolution without touching the width or height, is if the png is outputted in Save for Web and Devices... (in Photoshop at least) the image will automatically revert to 72ppi... meaning you still have to input the double width and double height anyway... some might forget.... probably best to just double the dimensions and leave the pip as is before outputting, I'm thinking...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Yeah, you are probably right, like I say there are so many ways of describing what needs to be done for Retina, the end result is always the same - I personally favour dumping any reference to ppi . . . . sorry, I mean 'pip' . . . and always working with absolute pixel values, so if you want a 512 x 512 pixel image, you make a 512 x 512 pixel image and ignore what the 'pip' is set at - as it makes no difference to GameSalad whether your 512 x 512 pixel image is 4500ppi or 12ppi.
Also I never use Save for Web and Devices, I just save stuff as good ol' fashioned PSDs.
Anyhow, pip pip, ol' chap...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps