O'Reilly logo

Starling Game Development Essentials by Juwal Bose

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Essential tips and tricks

We employ a bunch of tricks for our game to be supported on all devices that are explained as follows:

  • For startup images, we show the iOS default image when the game launches for the period of initializing the new texture atlas and remove it once the menu launches.
  • The background of all the scenes except the game scene is set to stretch and fit. This will distort the image, but will make sure there is no letter boxing black areas. Choose the better evil.
  • We use 2048-based texture assets to make sure most of the current devices won't have any quality loss for images.
  • The ground layer is modified to draw grass tiles to fill out the entire visible area. We then align the effective game area in the middle of the screen. This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required