Time for action – finding and playing our first sound effect
Now that we have the basic code to play sound effects ready, I am sure you are eager to try it. We are going to find some sound effects, add them to the game, and even play one.
Note
There are many places on the Web where you can find some free sound effects for your game. You can find a bigger list of websites with free sound effects and music at the end of the book in Chapter 12, Standing Out– Integrating Game Center and In-App Purchases. This final chapter can be downloaded for free from the Packt website at www.packtpub.com/support, as it does not fit in the print book.
You can choose any sound effects you like. The only thing you need to take into account is the supported audio formats.
Note
You can find detailed information about iOS supported formats at https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/MultimediaPG/UsingAudio/UsingAudio.html (short link: http://bit.ly/RLfmsx).
Most of the files on the...