top of page
Final Project: Bounce Off

This game is similar to a game most of us are familiar with, "Brick". One of the few games that was played on the 1st and 2nd generation iPod nano. Unlike the original game, the main objective of this game is for the ball to bounce off the walls and hit the platformEvery time the ball hits the platform, you get a point and every time the ball misses the platform and hits the red spikes, the game is over. 

Game link: https://editor.p5js.org/nvillota/present/si08lS0nn

Process:

I started off with creating the variables for the ball and paddle, for the speed, color, and position. Then I had to set how fast I wanted the platform and ball to move across the screen. Then I added the functions to make the color of the ball change every time it collides with the platform or the walls and make the platform move across the screen using the left and right arrows. Under the draw function I also included the text for the title, the score, and the red "spikes". 

https://editor.p5js.org/nvillota/sketches/si08lS0nn

bottom of page