Resolution independent: work?
Neverbe
Member Posts: 117
I'm drawing background using iPhone4 resolution.
Can I build the game for the iPhone4 and for the standard iPhone using resolution independent?
PS: someone could tell me the best setting for the PNG background?
Can I build the game for the iPhone4 and for the standard iPhone using resolution independent?
PS: someone could tell me the best setting for the PNG background?
Comments
If you do your background as 960 x 640 then it will resize automatically for standard iphone screens.
The problem comes with any graphics that are not a resolution that is divisible by 4. By ticking resolution independence it produces quarter sized graphics (half width by half height). Odd numbered resolutions would result in a half pixel when resized, which is not possible so the resulting image appears blurry. Also sometimes when GS crashes it can result in corrupted half size graphics so do test the game on actual devices (iphone 4 and a standard res device).
As far as building the game goes it is fine to tick the resolution independence and build it using iphone 4 res graphics. Nothing will be the wrong size on any device but may appear blurry if you don't plan the graphics sizes well.
- If I use my backgroung (960x640) and in the "script" I don't use number related with the resolution the game will look good also on the iPhone4?
- If I use a 960x640 scene how the game will look on the old iPhone and it will work on iPhone4 also if it don't work on the old iPhone?
If someone has tested this and knows otherwise then please correct me.