Tuesday, May 30, 2017

Bye Bye Bricks

Bye Bye Bricks

So, the main point of breakout is to remove all the bricks right? Well it wouldn't be a breakout game if that pitiful blue ball didn't remove them plentiful bricks on the game field. Soo Through the magic of some very simplified and ghetto collision detection, I've made it so when the center of the ball touches dem bricks, they bounce back. cool huh? check the code for the new additions.

Wednesday, May 17, 2017

Cant Be Breakout Without Bricks

Can't be Breakout Without Bricks...

So in order for this to be a Breakout game its gotta have some bricks so using some rather overcomplicated logic to creating the block I've managed to create the rows, of three and colums of 5. Look at the last five variables in the code and the new brick drawing code in the javascript section of the code above. the bricks as of now have no function but worry not, I'll get to that.

Tuesday, May 2, 2017

You Gotta Lose Sometime

You gotta Lose sometime...

As with every game there has to be a game-over sometime. But seeing as im not a visual artist of any sort i decided to use the chrome alert system. you know, the popups with the messages that come at the top of the screen... anyway youll see. Changes are at the top as usual.