CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Gravity
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - Gravity - List
[
Other Riddle games
]
ballgame
DL : 0
重力迷宫小球。基于安卓系统,用重力感应实现小球迷宫游戏-Gravity maze ball
Date
: 2026-01-09
Size
: 2.99mb
User
:
张梦
[
Other Riddle games
]
BallGame
DL : 0
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.
Date
: 2026-01-09
Size
: 2.99mb
User
:
roc
[
Other Riddle games
]
MapMaset
DL : 0
一个重力小球走迷宫的程序,JAVA开发在android studio中运行-A small ball Gravity Maze procedure, JAVA developed to run in the android studio
Date
: 2026-01-09
Size
: 18.56mb
User
:
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.