Android Exercises14-Try it out,Android Exercises


1. You may have noticed that a sound file called oof.ogg is included in the down- loadable code (in the assets/mfx folder). Change Level1Activity.java so that the “oof ” sound is played whenever a vampire’s head hits the floor.
2. Many games take special notice when the player achieves a new high score for a gamelet. Change the results screen on the three gamelets so “New High Score” will be displayed only when the player’s score is higher than any other score on the high scores list. The graphic for “New High Score” is already in the downloadable code, in the assets/gfx/scoring folder, and an example screen is shown in Figure bellow.
 

                                                                                          High score indication
  www.cinterviews.com