In my landscape oriented game, the player launches projectiles with a catapult at targets on the main screen. Since some projectiles go a bit off the top of the screen (worse on Android than iOS), I would like to pan to follow them. I can easily move the main display group to accomplish this, and it looks pretty smooth, except the background is part of the group and some shots pan past the end, so I get the dreaded black bar at the top.
I can think of three ways to address this:
-
Do nothing and live with the bar
-
Move the background to its own group and don’t pan (or pan less)
-
Make the background large enough to eliminate the bar when panning
My background images are currently rendered at 570x380. if I go with 3), what would be a good size to cover most devices?
I’m going to experiment with 2) and pan less, as panning less seems to be a more realistic approach.