Dealing with iPhone 4/5 resolution differences?

So, I'm happy to say that we had our first app approved last week! Tonight, while trying to install it on my son's grandmother's phone, we discovered a problem. We built it for iPhone 5 portrait. She had an iPhone 4s. My scenes were all cropped at the top and bottom and, while the game was still playable, it was not the correct experience.

I came home and resized the scenes for iPhone4 ... but now they're letterboxed on iPhone5 and there's an obvious blank bar at the top of the screen.

What's the preferred method for dealing with this? The actual playing field of the game can stretch - it's more about the placement of some background actors (such as the scoreboard) that, instead of sitting in the top right, end up down lower and really making it look bad. I'm thinking I can tell those actors to dynamically place themselves relative to the device size - is that the right way? Is there something better? Some sort of "anchor yourself to the top corner" attribute I may not have seen?

Comments

  • dmorin@gmail.comdmorin@gmail.com Member Posts: 19

    P.S. Is everybody else seeing that question half in bold face? I have no idea how that happened. Sorry about that, and I'll fix it if somebody can tell me how. I don't see an edit post button.

  • vafurlogivafurlogi Member Posts: 203
    edited November 2014

    You can either use the "stretch" option on the publishing server to make the game stretch to fit. Or make objects move according to the screen size. I use a template that I bought from the marketplace called "universal build template" that moves things around so it won't be stretched. And yes, I'm seeing that bold font problem too... weird.

Sign In or Register to comment.