Game Development Reference
In-Depth Information
Other classes
AudioClip : This class deals with the Android MediaPlayer and is capable of
playing, stopping, or looping a sound clip.
Tools : This class contains miscellaneous help methods such as message
boxes, dialogs, and a browser launcher.
Other resources
Asteroids.xml : This is the user-defined layout of the game. It points to the
ch04.game.Asteroids class.
Asteroids.png : This is the game icon that you will see in your phone
window. Clicking this icon will start the game.
Strings.xml : This file contains game strings, such as the game name and
other messages.
Raw sounds
a_crash.mp3 : Played when an asteroid explodes
a_explosion.mp3 : Played when the ship explodes
a_fire.mp3 : Played when the ship fires the gun
a_missile.mp3 : Played when the ship fires the missile
a_saucer.mp3 : Played when the UFO shows up on screen
a_thrusters.mp3 : Played when the ship moves around
a_warp.mp3 : Played when the ship jumps into hyperspace (To avoid a
collision, a ship vanishes from one point and reappears in another.)
Search WWH ::




Custom Search