This is a android game about billiards,i get this code from a website.it has a typical implement about ball rolling.
Billiards_2D is hosted in the following web site
https://github.com/Aresxiao/Billiards_2D
If you think the Android project Billiards_2D 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 Billiards_2D.
Item | Value |
---|---|
Java File Count | 33 |
Supported screen sizes | [nodpi] |
Target SDK Version | 18 |
Minimum SDK Version | 8 |
Activity Count | 1 |
Raw File Names | res\raw\backsound.mp3 res\raw\ballin.mp3 res\raw\hit.mp3 res\raw\shoot.mp3 |
There are 99 image files in Billiards_2D. The names of the image files are listed as follows.
aim_down.png aim_up.png ball00.png ball01.png ball02.png ball10.png ball100.png ball101.png ball102.png ball11.png ball110.png ball111.png ball112.png ball12.png ball120.png ball121.png ball122.png ball130.png ball131.png ball132.png ball140.png ball141.png ball142.png ball150.png ball151.png ball152.png ball20.png ball21.png ball22.png ball30.png ball31.png ball32.png ball40.png ball41.png ball42.png ball50.png ball51.png ball52.png ball60.png ball61.png ball62.png ball70.png ball71.png ball72.png ball80.png ball81.png ball82.png ball90.png ball91.png ball92.png breakmark.png choice0.png choice1.png choice2.png choice3.png defen.png gang.png go_down.png go_up.png left_down.png left_up.png menu0.png menu1.png menu2.png menu3.png menu4.png number0.png number1.png number2.png number3.png number4.png number5.png number6.png number7.png number8.png number9.png off.png on.png pointer.png right_down.png right_up.png riqi.png ruler.png table1.png table10.png table11.png table12.png table2.png table3.png table4.png table5.png table6.png table7.png table8.png table9.png yinxiaoguan.png yinxiaokai.png yinyueguan.png yinyuekai.png
The following screenshort is generated from the image listed above.
Billiards_2D has the following Java source files.
com.bn.d2.bill.AboutView.java com.bn.d2.bill.Ball.java com.bn.d2.bill.BallGoThread.java com.bn.d2.bill.ChoiceView.java com.bn.d2.bill.CollisionUtil .java com.bn.d2.bill.ColorUtil.java com.bn.d2.bill.Constant.java com.bn.d2.bill.Cue.java com.bn.d2.bill.CueAnimateThread.java com.bn.d2.bill.DateUtil .java com.bn.d2.bill.FailSurfaceView.java com.bn.d2.bill.FailView.java com.bn.d2.bill.GameView.java com.bn.d2.bill.GameViewDrawThread.java com.bn.d2.bill.HelpView.java com.bn.d2.bill.HighScoreView.java com.bn.d2.bill.KeyThread.java com.bn.d2.bill.MainMenuView.java com.bn.d2.bill.PicLoadUtil.java com.bn.d2.bill.ScreenScaleResult .java com.bn.d2.bill.ScreenScaleUtil .java com.bn.d2.bill.SoundControlView.java com.bn.d2.bill.SoundSwitchButton.java com.bn.d2.bill.StrengthBar.java com.bn.d2.bill.Table.java com.bn.d2.bill.TimeRunningThread.java com.bn.d2.bill.Timer.java com.bn.d2.bill.VirtualButton.java com.bn.d2.bill.WellcomeSurfaceView.java com.bn.d2.bill.WellcomeView.java com.bn.d2.bill.WinSurfaceView.java com.bn.d2.bill.WinView.java com.bn.d2.bill.static.java