文件名称:BallGame
介绍说明--下载内容均来自于网络,请自行研究使用
Android(迷宫小球)游戏源代码,MyCircle.java为绘制圆球主文件,在此构造圆形图形绘制函数,设置圆形图形的X、Y坐标和角度等参数;HButton.java为绘制按钮主文件,通过按钮坐标宽高与触屏的坐标进行判定按钮是否被点击;MySurfaceView.java为游戏控制,声明一个物理世界的范围对象,声明一个重力向量对象,声明胜利与失败的body,用于判定游戏的胜负,为了游戏暂停时,失败,胜利能继续可能到游戏中的状态,所以并没有将其写成一个状态,定义菜单、按钮、游戏背景图片资源等-Android (maze ball) game source code, MyCircle.java for drawing the ball master file, based on the structural circular graphics rendering functions, set round graphics X, Y coordinates and angle parameters HButton.java is drawn button master file, determine whether the button is a click through button coordinate width and height with touch screen coordinate of MySurfaceView.java game the control object, scope statement of a physical world, declare a gravity vector objects, declare victory and defeat body, used to determine the outcome of the game, in order to pause, failure, success will continue to be to the game state, so it is not written in a state, define menu, button, the game background picture resources etc.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
(没有文件,原文件不完全或已损坏或有密码)