Time for action – adding background sounds

First, we are going to add some background sounds because it is too quiet in our tropical forest. We are going to generate some sound and then use it in the game by performing the following steps:

  1. We are going to use an online sound generator website. Visit the http://naturesoundsfor.me and create a new sound. I've set this up by adding Fire by navigating to Nature | Fire, Forest Ambient by navigating to Nature | Forest Ambient (both at 20 percent volume), and Grasshopper by navigating to Other Animals | Grasshopper at 10 percent volume, but set the grasshopper track to play intermittently (there is a dropdown for that at the bottom). Refer to the following screenshot:

    My nature sound settings

  2. Then, click ...

Get Learning iPhone Game Development with Cocos2D 3.0 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.