O'Reilly logo

Beginning Android Tablet Games Programming by Jeremy Kerfs

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

Managing Music

Images in a game can be manipulated by rotating, transforming, and moving. In comparison, music is static: it can only be played and paused. In Android, you have ways to make music something that can be changed on the go. This is a fairly complicated technique, and it will probably be a while before you’re comfortable enough with it to incorporate it into a game. Here you touch on the surface of the issue with a brief survey of the topic. Afterward, you can continue to explore for yourself and add it to your applications.

The goal of managing music this way is to create an even more immersive experience. When you watch a quality movie, the music changes based on what is happening. For example, as the main character gets ready for ...

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