Good ideas! I was always going to get round to rewriting the levels properly so they weren't just random, but I did it that way initially because I was lazy. I'll sort that out some time in the near future because it'll take a while.
I've implemented the bricks changing colour though, and all the images are statically in the block class to make things a bit neater too :)
Improvements in this version:
- Bug where the ball got caught in the blocks is fixed
- More levels (10 in total)
- Lives added
- Coins added (Uses a slightly modified version of the AnimatedActor class: http://www.greenfoot.org/programming/classes/AnimatedActor.java)
- Big red text displaying each level added
- Different kinds of blocks added
- Code cleaned up a bit
- Speed changed slightly, ball is a bit more sensitive
- Source made available
I'm not convinced on the house graphic - any ideas as to what to change it to? The cloud background could be changed as well, that was just the easiest thing I could knock up on photoshop in 5 minutes!
It's not a bug, it's a feature!
... I actually mean that this time :) It won't advance to the next level until all balls are below a certain point in the world, otherwise the blocks will appear when the balls are in the midst of them and all the blocks will disappear very quickly and without the player really doing anything! So if two balls are bouncing around, then the chances of them both being below that certain point is quite low... You have to let one of them go.
There's probably a better way to do it, but I couldn't think of it...
2008/7/20
Greenfoot Breakout
2008/7/19
Bounce
2008/7/19
Bounce
2008/7/19
VisualPersistence01
2008/7/18
Greenfoot Breakout
2008/7/18
Bounce
2008/7/18
Bounce
2008/7/18
Amy's fight for website music
2008/7/17
Greenfoot Breakout