Can you post your entire config.lua?
The whole idea behind the “Ultimate config.lua” tutorial and it’s “Modernized” version was to make sure that 0, 0 is the left, top of the screen and that display.contentWidth, display.contentHeight is the right, bottom corner. This works for some games, but not for others. It’s easier to explain the primary situation where it’s not the best choice. Take a game like Angry Birds, regardless of the device the sling shot and the distance to the pigs has to be the same regardless of the device you’re on. You can’t place the sling shot 50 pixels from the left edge and you can’t place the pigs 50 pixels from the right edge. Doing so would make the game play differently since you would have to shoot your bird a different distance on each device.
Regardless of your config.lua, when you have different shape devices, some of the screen is either going to be off-screen or you are going to have black bars filling the empty space. Most people will define a fixed content area that’s 320x480. They will make the background 360x570. On phones that are basically 16:9 devices, 40 points of content area (360-320) will be cut off the sides. When you’re on an iPad you will get the full 360px but you are going to loose 90 pixels on the top and bottom (570-480). You just don’t put anything important in those areas of your background since they are going to “bleed” off the screen.
You then use display.actualContentWidth and display.actualContentHeight to get the real edges of the bottom and right sides of the screen and use display.screenOriginX and display.screenOriginY to get the left and top sides of the screen.
Using “letterbox” assures that when you change your device’s screen shape something’s either going to get cut off or you’re going to get black bars. zoomEven forces part of the screen to be cut off.
Rob