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

Report as inappropriate.

JL235 presents ...


Pip The Pea

Lead Pip to collect Diamonds and avoid Ghosts!

Graphics and original concept by Sebastian Lenton.

14145 views / 22 in the last 7 days

17 votes | 0 in the last 7 days

Tags: mouse game ghost

This scenario is a member of: Scenario showcase

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.



The trick seems to be to move very quickly early on when there's hardly any ghosts around...


my best score is 109, i love this game.. its very nicely done.. :)


Nice graphics. I like the fade-in/fade-out effects.


The fades are performed by pre-calculating a look-up table of images. Each one is a copy of the original image (a ghost or diamond) but with an added alpha value for each of it's pixels (from 0 to 255). I only make around 10 to 20 faded copies of an image based on how fast I want the fade to be (a fast fade uses less images then a slow fade). This way I make as few images as possible and so use less memory. Then the Ghost or Diamond just selects which image to use depending on how it's currently faded (or if it's fading at all).


i love it! it is kinda like my game but mine has horses.... um how do you make an actor eat a food? How do you put ur game on here and other websites?


There is already a place to ask general questions about Greenfoot: In the future it would be probably best to ask there, especially if you want a response as it's more likely to be read. Anywho, in order to upload you need to click on the File menu and then Export in the Greenfoot editor. You should also be using the latest version of Greenfoot. To make actors eat food, in the actor that's eating you check for an intersection with you food object with the getOneIntersectingObject method (i.e. getOneIntersectingObject(Food.class) if your food class is called Food). It returns null if a Food is not found, or a Food object if one is. If it did return a Food object then just remove it from the world (i.e. getWorld().removeObject(food)) and then do whatever happens when you've eaten food (like scoring some points). There are also resources on the site that should also be able to help.


good game, but no sounds :(


Impressive game... although not very complex it provides a fair amount of entertainment as the difficulty increases. (My first score was 123)


73 pts. Really like it but I agree, some sounds would be nice.


If your open to suggestions, a nice background song would be twilight techno - dimrain47. I used it in a scenario similar to this one, called bouncy. If you wish, you can take it out of there.

See all comments

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

Who likes this?

JetLennit ESARI Itamar.S Delocho Supertux RHINO_Mk.II dangjavageek kourtney1816 trickster marla luke.ferguson christophermerkel mjrb4 JttP bruce delmar