by: nyasuda93 • 1
This game is a ballgame using gravity sensor.
it operates as balls appear on the square board.
The motion of balls when the board is leaned is simulated.
When starting and the Restart button touched,32 balls appear on the board.
if AndroidPhone is leaned, according to gravity, 32 balls will move and it will collide with an obstacle.
A point can be acquired if a ball is moved to the black circle.
The grade of restutution can be set up by slider of YoungModulus and the length of rectangular for quarters is decided by four buttons.
A point when a ball is put in becomes large,so that Young's modulus is hight and the length of the rectangular four quarters is short.
The sum total of point appear and lapsed second time.
Tags: move a ball according to gravity