Skip navigation

Play sound effects with SoundPool

Play sound effects with SoundPool: Building a Game App with the Android SDK
Play sound effects with SoundPool: Building a Game App with the Android SDK

In addition to music, games frequently use sound effects to give a more realistic sense of the world the player is inhabiting. Sound effects are typically provided as very short audio files that are used over and over again as the game is played. This sort of audio file is best managed by an Android component named SoundPool. In my game, each time the player pops a balloon I want to play a popping sound. I’ve already copied my audio files into my resources directory, so now I just need the code to manage the sound.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 6m
Duration
50,455
Views
Show More Show Less
Skills covered in this course
Developer Games Mobile Apps Android

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now