• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 <p>JetBoy is a sample game that demonstrates the use of the
2 <a href="../../../reference/android/media/JetPlayer.html">android.media.JetPlayer</a>
3 class to implement an interactive music soundtrack in an application. JetBoy uses
4 <a href="../../../guide/topics/media/index.html#jet">JET content created with
5 JetCreator</a> and game-generated events fed to JetPlayer
6 to adapt the soundtrack to the user actions. Listen to how the melody picks
7 up when you start shooting asteroids, how you are congratulated when you
8 hit 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
12 is currently playing (use of clips and mute masks).</p>
13 
14 <p class="note"><strong>Note:</strong>
15 The <code>JETBOY_content/</code> directory is empty in this online presentation of
16 the application. For complete access to all the JetBoy files, see the sample code included
17 in the SDK, located at <code>&lt;sdk>/platforms/&lt;platform>/samples/JetBoy/</code>.
18 </p>
19 
20 <p><strong>See also:</strong><br/>
21 <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>
23 
24 <img alt="" src="../images/JetBoy.png"  />
25