Game Development Reference
In-Depth Information
The game settings
This is a portrait-only game and accelerometer-based, so it should not autorotate. It was de-
signed for the regular iPhone and its screen resolution size is set to
kResolu-
tionShowAll
, so the screen settings are similar to the ones in our previous game.
Designing a game for the iPhone screen and using the
kResolutionShowAll
paramet-
er will result in the so-called
letterbox
view when playing the game in screens that do not
match the iPhone's 1.5 ratio. This means you see borders around the game screen. Alternat-
ively, you could use the
kResolutionNoBorders
parameter, which results in a
zoom-
in
effect, causing the game to play at full screen but the areas around the borders will be
cropped.
The following screenshot illustrates these two cases: