Chapter 16

Adding Sound

Sound is one of the final touches that you need to add in order to make a complete, market-ready game. In mobile gaming, sound often plays a secondary role. There are several reasons for that.

  • Mobile games are mostly casual. People play mobile games while traveling, in long lines, at airports, and in dull meetings—places where sound might actually disturb others.
  • If the player has headphones, most likely he’s listening to the music he likes—songs from his huge MP3 collection.
  • Sound consumes battery life, so even though the amount of actual power loss is very small, some users would rather save it for something else.
  • The lack of sound doesn’t hurt the playing experience for most casual games. In desktop games like Counter ...

Get Pro Android Web Game Apps: Using HTML5, CSS3 and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.