Description: Android (maze ball) game source code, MyCircle.java to draw the ball master file, in this construct circular graphics rendering functions, set the circular pattern of X, Y coordinates and angle and other parameters HButton.java to draw the button the main documents, coordinate by coordinate buttons and touch screen width and height determination whether the button is clicked MySurfaceView.java game control, declare a range of objects in the physical world, declare a gravity vector object, declare victory and defeat body, to determine the outcome of the game, when the game is paused to failure, victory may be able to continue to the game state, so do not be written as a state, custom menus, buttons, games, background images and other resources, please download Java files refer to the specific
To Search:
File list (Check if you may need any files):
(迷宫小球)\BallGame\.classpath
..........\........\.project
..........\........\AndroidManifest.xml
..........\........\bin\BallGame.apk
..........\........\...\classes.dex
..........\........\...\.om\bg\HButton.class
..........\........\...\...\..\MainActivity.class
..........\........\...\...\..\MyCircle.class
..........\........\...\...\..\MyRect.class
..........\........\...\...\..\MySurfaceView.class
..........\........\...\...\..\MySurfaceView2.class
..........\........\...\...\..\R$attr.class
..........\........\...\...\..\R$drawable.class
..........\........\...\...\..\R$layout.class
..........\........\...\...\..\R$string.class
..........\........\...\...\..\R.class
..........\........\...\MainActivity.apk
..........\........\...\resources.ap_
..........\........\default.properties
..........\........\gen\com\bg\R.java
..........\........\lib\jbox2d.jar
..........\........\proguard.cfg
..........\........\res\drawable-hdpi\icon.png
..........\........\...\.........ldpi\icon.png
..........\........\...\.........mdpi\ball.png
..........\........\...\.............\gamelost.png
..........\........\...\.............\gamewin.png
..........\........\...\.............\game_bg.png
..........\........\...\.............\h.png
..........\........\...\.............\helpbg.png
..........\........\...\.............\icon.png
..........\........\...\.............\lostbody.png
..........\........\...\.............\menu_back.png
..........\........\...\.............\menu_bg.png
..........\........\...\.............\menu_exit.png
..........\........\...\.............\menu_help.png
..........\........\...\.............\menu_menu.png
..........\........\...\.............\menu_play.png
..........\........\...\.............\menu_replay.png
..........\........\...\.............\menu_resume.png
..........\........\...\.............\s.png
..........\........\...\.............\sh.png
..........\........\...\.............\smallbg.png
..........\........\...\.............\ss.png
..........\........\...\.............\winbody.png
..........\........\...\layout\main.xml
..........\........\...\values\strings.xml
..........\........\src\com\bg\HButton.java
..........\........\...\...\..\MainActivity.java
..........\........\...\...\..\MyCircle.java
..........\........\...\...\..\MyRect.java
..........\........\...\...\..\MySurfaceView.java
..........\........\bin\com\bg
..........\........\gen\com\bg
..........\........\src\com\bg
..........\........\bin\com
..........\........\gen\com
..........\........\res\drawable-hdpi
..........\........\...\drawable-ldpi
..........\........\...\drawable-mdpi
..........\........\...\layout
..........\........\...\values
..........\........\src\com
..........\........\assets
..........\........\bin
..........\........\gen
..........\........\lib
..........\........\res
..........\........\src
..........\BallGame
(迷宫小球)