Screens and Transitions

Since you have already implemented help screens and high-score screens twice, in Chapter 6's Mr. Nom and in Chapter 9's Super Jumper, you can refrain from doing so for Droid Invaders; it's always the same principle, and a player should immediately know what to do once he or she is presented with the game screen, anyway. Instead, add a settings screen that allows the player to select the type of input (multitouch or accelerometer) and to disable or enable sound. Here's the list of screens for Droid Invaders:

  • A main screen with a logo and Play and Settings options.
  • A game screen that will immediately start with the game (no more ready signal!) and also handle paused states, as well as display “Game Over” text once the ship ...

Get Beginning Android 4 Games Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.