O'Reilly logo

Monkey Game Development by Michael Hartlef

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up the game objects

What's next? Let us create some methods that will help us to create the various objects in this game.

Klick, bang, swoosh… the sound effects!

For Treasure Chest, you will want to add some sound effects too. You will have a sound when you select a menu item, an explosion when gems are removed from the game, and a sound that tells the player that the selected gems don't match.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required