This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

webmessia
webmessia presents ...

2010/10/19

Super Crab

I've been using the little-crab scenario for teaching
Greenfoot, and whilst adding the features we we're going
to teach next, I got a bit carried away :D

Main additions:
-Key Control using a and d for crab
-Crab eats worms and adds to score counter
-Worms added at random position one at a time
-Lobsters eat crabs and causes game over
-Control for number of lobsters and speed of
lobsters via difficulty chooser.

UPDATE: 18/10/2010 v0.92
-Simplified difficulty setting code
-Added code to prevent lobsters spawning within a given range of crab
-Worms now hafe a lifespan, and if not eaten will die and respawn elsewhere in the world.
-When worms die the new worm they spawn has a shorter lifespan.
-Once the worms lifespan reaches zero, a gameover is triggered.

UPDATE 19/10/2010: v0.94
-Added different worm lifespans for different difficulties
-Fixed bug where after first worm was eaten, aging effects no longer occured

4601 views / 12 in the last 7 days

Tags: game with-source little-crab

Your browser is ignoring the <APPLET> tag.
A new version of this scenario was uploaded on Tue Oct 19 16:37:27 UTC 2010

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

Who likes this?

No votes yet.