Music can greatly enhance any game when used properly. Great games like great movies use music to accentuate the mood in a scene. Thing thing about games is that the mood is dynamically changing, one moment things could be sailing smoothly, and in the next in danger of losing a life.
I found an interesting tutorial on how to create multiple tracks with Garage Band for different moods, and how to play those tracks seamlessly with Cocos2D. Here’s an example of dynamic music in action:
The above video is from the game Wordsurge by Adam Allen creator of the tutorial.
You can find the tutorial here:
Give Your Game Dynamic Background Music
While the code was written using the Cocos2D open source game engine and the included CocosDenshion audio engine the principles can be used anywhere.
Thanks for reading, please share this using the buttons below!
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.