blob: f7ce9ef180b3e439ca77cbcfd944d2ece1066ad7 [file] [log] [blame]
Scott Main04680852009-08-24 15:27:00 -07001<p>JetBoy is a sample game that demonstrates the use of the
Scott Main50992e82009-08-29 13:08:18 -07002<a href="../../../reference/android/media/JetPlayer.html">android.media.JetPlayer</a>
Scott Main04680852009-08-24 15:27:00 -07003class to implement an interactive music soundtrack in an application. JetBoy uses
Scott Main50992e82009-08-29 13:08:18 -07004<a href="../../../guide/topics/media/index.html#jet">JET content created with
Scott Main04680852009-08-24 15:27:00 -07005JetCreator</a> and game-generated events fed to JetPlayer
6to adapt the soundtrack to the user actions. Listen to how the melody picks
7up when you start shooting asteroids, how you are congratulated when you
8hit several asteroids in a row, or destroy enough of them in the allotted time.</p>
9
10<p>The JetBoyView.java file in JetBoy illustrates the loading of JET content
11(loading a file, queuing segments), its playback, and how to alter what
12is currently playing (use of clips and mute masks).</p>
13
14<p class="note"><strong>Note:</strong>
15The <code>JETBOY_content/</code> directory is empty in this online presentation of
16the application. For complete access to all the JetBoy files, see the sample code included
17in the SDK, located at <code>&lt;sdk>/platforms/&lt;platform>/samples/JetBoy/</code>.
18</p>
19
20<p><strong>See also:</strong><br/>
Scott Main50992e82009-08-29 13:08:18 -070021<a href="../../../guide/topics/media/jet/jetcreator_manual.html">SONiVOX JETCreator User Manual</a><br/>
22<a href="../../../reference/android/media/JetPlayer.html">JetPlayer class</a></p>
Scott Main04680852009-08-24 15:27:00 -070023
Scott Main50992e82009-08-29 13:08:18 -070024<img alt="" src="../images/JetBoy.png" />