At the moment: 5 levels in total, each level has more blocks, there's a score, a few powerups and a few different kinds of blocks. It also uses the explosion class that's available on the greenfoot website as one of the support classes (I just had to fit it in somewhere! Have a look at http://greenfoot.org/programming/classes.html if you want to use it) but you'll need to delete the following code in it for it to work:
if(imageNo <= -30) {
((Space) getWorld()).gameOver();
}
I presume this piece of code was specifically tailored to a different scenario.
<br><br>
As for extra images I've used, they're all standard ones with greenfoot, apart from the coloured blocks. The red one is there already, but I used photoshop to make the rest from the original, so feel free to nick the other coloured blocks if you're after some variety. (Oh, and the powerups. Forgot about them, they're photoshopped from scratch as well.)
I've had a quick check and everything seems to work as it should, but it's gone midnight and I'm therefore not the most alert, so there's always the chance I've made an embarassing mistake... Hopefully not though!
Source code is included, I've tried to comment things and keep it pretty clean.
I don't know why and it might just be me, but this didn't work until I logged in :S
Apart from that, amazing graphics, looks really 3D (especially the rocks) and a great game!
One last point - it's generally risky to divide by a variable that could be any value without checking to see if it could be 0 first.
Computers can do all sorts of wonderful things, but dividing by 0 is alas not one of them :( I only mention it because it's a bug that's caught me out a couple of times in scenarios, and it's not always immediately obvious!
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html#atan2(double,%20double)
That's the documentation if you're after a thorough explanation.
To put it basically, atan just gives you the tan inverse. As for atan 2 - imagine a point on a graph at (x, y) - then draw a line from that point to the origin. atan2 returns the value of the angle of that line with the x axis.
2008/7/16
Greenfoot Breakout
2008/7/16
Greenfoot Breakout
2008/7/15
Super Thundershot
2008/7/14
Pip The Pea
2008/7/14
DragonBallZ
2008/7/14
Reaction version 2
2008/7/14
PointToMouse
2008/7/14
PointToMouse
2008/7/14
BallGame