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

Report as inappropriate.

JL235
JL235 presents ...

2008/3/27

Pip The Pea

Lead Pip to collect Diamonds and avoid Ghosts!

Graphics and original concept by Sebastian Lenton.

13578 views / 1494 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.

mjrb4mjrb4

2008/7/14

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

2008/7/15

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

2008/7/18

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

2008/7/21

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).
kourtney1816kourtney1816

2008/8/12

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?
JL235JL235

2008/8/13

There is already a place to ask general questions about Greenfoot: http://groups.google.com/group/greenfoot-discuss 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 www.Greenfoot.org site that should also be able to help.
qnanqingqnanqing

2008/10/26

good game, but no sounds :(
RHINO_Mk.IIRHINO_Mk.II

2008/11/12

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

2010/3/9

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

2010/11/7

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