Showing posts with label BestKeeper. Show all posts
Showing posts with label BestKeeper. Show all posts
Friday, December 21, 2012
[Android] BestKeeper code block 4
Left block is for initialize x,y value with random number. When ball collision is happened with goal, then right side methods will be called. This method check how many chance is left, and change the chance score board to red and X mark. If there is no more chance is left, then call game over method.
[Android] BestKeeper code block 3
Left block means when start button is clicked, save all the rankings(name, score), change screen to play mode, change all the value to initial setting. Right side means the keeper collided with ball, then call new ball to the ground, and block score will be increased. And “you got it” sound is also be played.
[Android] BestKeeper code block 2
When game is over, the "GAMEOVER" picture will be shown up on the main screen and then switch the ground screen to the score screen. On the right side blocks is for if any ball reached edges, then recall new ball in the ground.
[Android] BestKeeper code block 1
There are 4 timers, the first timer will be started when the start button is clicked. Clock2 will be started when player got block point 2, and clock3 will be started at block point reach 4. Clock 4 will be started when block point 6. Right side block is for the resetting of the balls' directions.
Subscribe to:
Posts (Atom)



