A simple Android animation app based on John Purcell's Games and Animation tutorial. See Learn Android 4.0 Programming in Java..
TennisGame is hosted in the following web site
https://github.com/blogscot/TennisGame
If you think the Android project TennisGame listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of TennisGame.
Item | Value |
---|---|
Java File Count | 9 |
Supported screen sizes | [hdpi] |
Activity Count | 1 |
Raw File Names | res\raw\beep.wav res\raw\bounce1.mp3 res\raw\bounce2.mp3 res\raw\lose.mp3 res\raw\start.mp3 res\raw\win.mp3 |
There are 3 image files in TennisGame. The names of the image files are listed as follows.
ball.png ballshadow.png small_tennis.png
The following screenshort is generated from the image listed above.
TennisGame has the following Java source files.
com.diamond.iain.tennisgame.ApplicationTest.java com.diamond.iain.tennisgame.Ball.java com.diamond.iain.tennisgame.Game.java com.diamond.iain.tennisgame.GameRunner.java com.diamond.iain.tennisgame.GameView.java com.diamond.iain.tennisgame.MainActivity.java com.diamond.iain.tennisgame.Paddle.java com.diamond.iain.tennisgame.Sounds.java com.diamond.iain.tennisgame.Sprite.java