The main challenge in Ball Breaker Roku was to shoot each and every ball and preventing the shooter from getting hit by the ball. To complete the level, the shooter has to get rid of the balls, either by destroying it or avoiding it by moving in left/right direction.
To design the game board which would consist of the shooter, balls, and arrows. Also, to handle the left, right and ok click controls.
To implement the functionality for shooting arrows in an upward direction and hitting the balls.
The score to be calculated should be based on two criteria, the number of balls destroyed and the number of balls from which the shooter get rid of.
Initially, we designed the game board having shooter, arrows, and ball using the scene graph’s different renderable nodes.
We used different scene graph nodes to create multiple poster and animation nodes during the gameplay and set the moving animation of balls.
Implemented logic in BrightScript to calculate a position to move the ball poster nodes in a vertical manner from top of the screen.
Implemented logic in BrightScript for calculating the number of balls destroyed and calculated the scores accordingly.
Successfully designed the game board and handled the left, right, and ok click control to move the shooter and to shoot the balls.
Completed the smooth animation for moving the balls in a vertical pattern using multiple posters and the animation nodes created during the gameplay.