Every step taken so far has taught us more about game development on the iOS/Android devices. In this new segment, our game will include sound effects, which will enhance the sensory experience in our games.
The new game we will be creating is called Egg Drop. The player controls the main character, which is a lumberjack with a frying pan. During gameplay, eggs start falling from the sky and it is the lumberjack's job to catch the eggs in his frying pan and not let them hit the ground. Every egg caught earns 500 points. The player starts with 3 lives. When an egg fails to hit the frying pan and hits the ground, a life is lost. When all 3 lives are gone, the game is over.
When starting the new game project, be sure to grab the Egg
Drop
file from the Chapter
7
folder. You can download the project files accompanying this book from the Packt website www.packt.com. It contains all...