Report as inappropriate.

Smalldav_thumb

davmac presents ...

2008/3/27

Bricks

Aim: knock all the bricks out of existence. Move the paddle (using A and S keys, or by moving the mouse) to deflect the ball. Try not to let the ball bounce on the bottom of the screen.

Note that the angle the ball bounces from the paddle depends on where it hits the paddle. You can use this fact to direct the ball.

3006 views / 20 in the last 7 days

4 votes | 1 in the last 7 days

Tags: game bricks with-source

open in greenfoot
Your browser is ignoring the <APPLET> tag.
Picture_of_me_1_thumbmjoraid

2011/11/18

One level ?
269053_2022865302765_1577951557_1946192_5545470_nAkuhano

2012/1/9

Could you possibly upload the code for this game? I'm trying to create something similar, but I can't get my bricks to disappear correctly.
A new version of this scenario was uploaded on Mon Jan 09 17:38:19 UTC 2012 Upgraded to latest Greenfoot version, and upload source code.
269053_2022865302765_1577951557_1946192_5545470_n_thumbAkuhano

2012/1/10

Thanks so much x]
Coin_logo_1toytttttt

2012/1/24

There are three things that need implementing: 1. more levels 2. lose life or something when the ball hits bottom edge 3.something happening when you destroy all the blocks Otherwise its a nice simple game which is fine.
Coin_logo_1_thumbtoytttttt

2012/1/24

Sorry, looked at the source code, didnt realise it was that complex for such a simple game.
Smalldavdavmac

2012/1/24

Yeah, it's really just meant as a demo, not a full game. The nice thing about is it properly calculates the angle that a ball would bounce if it hits a brick, even if it hits the corner. But, it's more here so that others can borrow the code if they want. I don't really have time to make it into a full game.

Want to leave a comment? You must first log in.

Who likes this?

Coin_logo_1_thumb No_avatar_thumb No_avatar_thumb Small_thumb