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!
©2010 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.
Share and Enjoy: