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

Results

Search

Scenarios

leaves-and-wombats test

leaves-and-wombats

leaves-and-wombatsleaves-and-wombatsleaves-and-wombatsleaves-and-wombatsleaves-and-wombatsleaves-and-wombatsleaves-and-wombats

Wombat Conveyor

Trap the wombats on the conveyor belt. With highscores

… fire or by a Wombat reaching you. HOW POINTS … +15 for making a Wombat feel trapped sometime during its … of points) for every Wombat that reaches the fire … . -25 for every Wombat that reaches the fire … remembered). Hint: If a Wombat is getting too close …

Wombat Simulator

The wombats now do more! new background too.

The world is bigger and has random generation of rocks, wombats and leaves! The wombats wander around eating leaves. More leaves and wombats spawn, and the wombats turn around when they hit a rock or the edge of the world. However, it isn't always peaceful …

Wombat Simulation (again)

The Wombat tutorial code with some extra features that I used to help teach a quick introduction to programming presentation.

… my version of the Wombat Tutorial code with more features … with a single wombat and leaf... The wombat will be hungry … unless you do something. **** The Wombat Controls **** You can right-click … right-click on a Rock, Wombat or Leaf, select new...() …

WombatAndSheep

An extension of the wombat project for gaming.

… sheep gets hit by a wombat, the game ends.

Wombats go to McDonald's

Wombats walk through McDonald's and eat.

The Wombats we all know and love walk around in a McDonalds and eat any burgers or fries they come across. My first ever program, just a few additions to the original Wombats sample.

Wombats in Space

Help the hungry wombat get his leaves!

This poor little wombat is stuck in a space- … + invisible) can hold leaves, the Wombat's food source. Bump blocks …

Wombat Wars

You're a wombat.You are fighting for survival

You control the wombat using the arrow keys. Use … . Press "z" to use a wombat wave. Press "x" to teleport …

Samuel Reilly Wombat Scenario

Wombat game.

Wombat eats leaf, it grows. Wombat runs into Snake and Snake eats it.

Stoner Wombats

Dude this Wombat toally likes to get high, man

Dude this wombat totally likes to get high, man. It will go through an entire maze just to get to some cannibis dude. But, this game is a work and progress, you are welcome to make it more elaborate, and fancylike.

The hungry wombat

wombats

If you're hungry you have to eat right? Wombat Max is really hungry so he decides to eat some leafs in the forest. But care there are some angry bees which stab everything. You're job is to eat the leafs and dodge the bees. Good luck and watch out!

wombats2

wombats2 as bundled with Greenfoot installation

Just putting this out so I can download it as a GFAR. This is just the wombats2 that is bundled with the Greenfoot installation. Author: Michael Kölling

wombat

watch the wombat collect leafs

a simple example of scripting where the wombat turns left each time it hits the worlds ege, furthermore it will eat any leafs it passes

Wombat Maze Extravaganza

Lead the wombat through the maze and eat all the pies.

Control your wombat with the keyboard, and direct him through the maze without being eaten by any of the other animals. Eat all of the pies in the world to win.

Silly Wombats

Wombats turn randomly

The Wombats will turn a random direction when faced with a rock or a wall.

WombatRockLeafSimulation

Wombat that collects leaves and avoids rocks

Wombat wanders around aimlessly and collects leaves without walking over rocks.

The Wombat 3

Take the wombat back home!

After being oppressed by the evil regime of the starfish in the Arctic Ocean, the wombat has decided that it was time for it to make a change. This began its epic quest to return back home to Australia. Are you up to the challenge?

Hungry Robot Wombat

Wombat autonomously eats hamburgers while avoiding cactuses

This is a modified variation from the Greenfoot scenario Wombat Rock.

WombatRockFinished

Made the wombats avoid the rocks

The goal was to make a wombat avoid a rock, which it did. It also was supposed to turn randomly when confronted with either rocks or edges, which was also accomplished.

WombatRock

Wombat Rock Assignment

This is my wombat rock assignment

Discussion

stopGame problem by smcgee

Wombat wombat = new Wombat(); addObject(wombat, 1499, (Greenfoot.getRandomNumber(500))); Wombat wombat2 = new Wombat(); … getRandomNumber(1500), 450); Wombat wombat3 = new Wombat(); addObject(wombat3, Greenfoot …

Help Constructor not working interchangeably by vivabenfica4

… /** * Write a description of class Wombat here. * * @author (your … environment. */ private Wombat wbOne = new Wombat(); private int cooldown … public void push() { if(isTouching(Wombat.class)){ move(3); } } public …

Need help with a counter. by Marko_Radoicic

… { Wombat w1 = new Wombat(); addObject(w1, 3, 3); Wombat w2 = new Wombat(); … public void AddWomb() { Wombat Klank = new Wombat(); int wombX = Greenfoot.getRandomNumber …

Change background in leaves and wombats by Ravens52

… () { addObject(new Wombat(), 7, 1); addObject(new Wombat(), 6, 6); … prepare() { Wombat wombat = new Wombat(); addObject(wombat,1,2); Wombat wombat2 = new Wombat(); addObject(wombat2 …

Book Scenarios from First Edition - updated? by stevex

… x, y); } } } Wombat Class code: import greenfoot.*; // … and Greenfoot) /** * Wombat. A Wombat moves forward until it … Actor { private int leavesEaten; public Wombat() { leavesEaten = 0; } /** …

How to create a persistent global object reference? by ez4u2c

… , but when one of Wombat's methods tries to use … spot object, called getSpot(). if Wombat has a method that calls … ] ...and one from Wombat: [code]public class Wombat extends Actor { private … exception occurs line #6 in Wombat. Why doesn't it work …

Leaves and Wombats - Random Leaves by Gruff757

… public int countWombatsInTheWorld() { return getObjects(Wombat.class).size(); } /** * HALL: … < howManyWombats; i++) { Wombat randomWombat = new Wombat(); int x = Greenfoot.getRandomNumber …

Wombat movement with left or right arrow by Mutex

… that is null if no wombat is selected or a reference … the selected one). Once a wombat is selected and the water … populate() { Wombat w1 = new Wombat(); addObject(w1, 3, 3); Wombat w2 = new Wombat(); addObject …

Help with greenfoot by darokrithia

… = (getNeighbours(distance, false, Wombat.class)); if (wombatsNearby.isEmpty()){ distance … } wombatsNearby = getNeighbours(distance, false, Wombat.class); if(done = true){ prey …

My Counter is not working? Please Help by coder04

… void prepare() { Wombat wombat = new Wombat(); addObject(wombat, 278, 152); Wombat wombat2 = new Wombat(); addObject(wombat2 … .*; /** * Write a description of class Wombat here. * * @author (your name) * …

Wombat - alter code to show the following: by Jammn3

… ; private int moves;//JM public Wombat() { setDirection(EAST); leavesEaten = 0; } /** … * Do whatever the wombat likes to to just now … I run this my wombat eats 5 leaves in the …

Stopping the scenario..... by jennnnay24

… , 60); setBackground("cell.jpg"); setPaintOrder(Wombat.class, Leaf.class); populateWorld(); } … { Wombat w1 = new Wombat(); addObject(w1, 3, 3); Wombat w2 = new Wombat(); …

Stopping the scenario..... by JetLennit

… , 60); setBackground("cell.jpg"); setPaintOrder(Wombat.class, Leaf.class); populateWorld(); } … { Wombat w1 = new Wombat(); addObject(w1, 3, 3); Wombat w2 = new Wombat(); …

Greedy Behavior by wallace989

… ) { case SOUTH : setImage("wombat.gif"); setRotation(90); break; case … EAST : setImage("wombat.gif"); setRotation(0); break; …

Trying to Use Boolean to Recognize Occupied Cells by blairtch

… populate() { addObject(new Wombat(), 1, 7); addObject(new Wombat(), newX(), newY()); randomLeaves …

Wombats facing each other by lucky555

… , and Greenfoot) /** * Wombat. A Wombat moves forward until it hits … 2.0 */ public class Wombat extends Actor { private int … leavesEaten; public Wombat() { leavesEaten = 0; } /** …

How to create a persistent global object reference? by ez4u2c

… once: [code]public class Wombat extends Actor { private … called: [code]public class Wombat extends Actor { private … WombatWorld MyWorld ; public Wombat() { MyWorld = (WombatWorld) getWorld(); …

Prevent Objects From Spawning in the Same Cell by blairtch

… () method to place the second wombat? Here is my code: [code … populate() { addObject(new Wombat(), 1, 7); addObject(new Wombat(), Greenfoot.getRandomNumber(getWidth …

Issue with counter (nullexceptionerror) by ladamson

… . Whenever the crab eats a wombat the counter fails to update … () { Actor theWombat=getOneObjectAtOffset(0,0,Wombat.class); if (theWombat != null) { WombatWorld …

Wombats and Leaves Edge of World by FreeBobby2020

… , and Greenfoot) /** * Wombat. A Wombat moves forward until it hits … 2.0 */ public class Wombat extends Actor { private int … leavesEaten; public Wombat() { leavesEaten = 0; } /** …

Comments

Scrolling SuperWorld by danpost

… for the subclass of SWorld: Wombat wombat = new Wombat(); // creates the main actor … background image int leftOffset = -getUnivX(wombat.getX()); // get -offset from … left edge of scroll world wombat.move(leftOffset); // move actor …

Simple Puzzle Game by Zamoht

… the exact same issue with Wombat Puzzles, which uses Greenfoot.start … world as well. But in Wombat Puzzles I tried to add … a wombat from the normal greenfoot scenario … on any button, but the wombat was running as it should.

invaders by davmac

… .setImage(GifActor.java:50) at Wombat.addedToWorld(Wombat.java:34) at greenfoot …

Crates by pushy

… crate in front of the wombat, but I was not able …

Cars and Wombats Multiplayer by ITTC

A new version of this scenario was uploaded on Sun Mar 25 09:53:36 UTC 2012 Wombatplayer:up,left,right,down Carplayer:w,a,s,d only Wombat:space to create a few cacti.

Scrolling SuperWorld by danpost

… likely, the movement of the wombat causes a slight change in … assure you, however, that the wombat is not changing colors at …

PIP Actor Class by danpost

… -- just a sample world. The Wombat world was a sample of … a counter (and gave the wombat user-key control).

wombat cross creek -- basic example of making world by computers.fun

Use the left, right, up, down, arrow keys to help the wombat go across the creek.by stepping on each red brick. The code for this scenario is published on kidslike.info at http://www.kidslike.info/greenfoot_game_wombat_crosses_creek

wombat rpg by Ninto

Why are the wombat eating metroids?

wombats by ericjjiang99

It's pretty good but maybe next time you should make a game where you can control to wombats or something else.

merletestfertig by Merly

wombats sind immer süß. :)

merletestfertig by ...dana...

ich find das spiel klasse! auch deine idee mit den sprechblasen, wenn das wombat die rakete oder die pilze berührt find ich richtig gut!

merletestfertig by Monesi6

Ich mag den Wombat!! Die Sprechblasen sind auch toll. …

MortonRWk1App1 by 4xtra

A new version of this scenario was uploaded on Sat Dec 10 23:47:17 UTC 2011 Wombat facing each other

MortonRWk1App1 by 4xtra

A new version of this scenario was uploaded on Sat Dec 10 23:47:21 UTC 2011 Wombat facing each other

GhettoFrogger by NJoson

A new version of this scenario was uploaded on Tue Jan 17 02:02:52 UTC 2012 Now there's a wombat to race against!! Unfortunately, it's still a work in progress.

GhettoFrogger by NJoson

@CallMeTheCaptain Source Code is up. Does anyone have any suggestions as to how I can fix the wombat problem?

Turtle by Napler

A new version of this scenario was uploaded on Fri Feb 03 00:49:59 UTC 2012 I made the area a little smaller. Created a limit to one lazergator at one time. There is always at least one wombat.

CACC Chippewa FN watch the hippo with swag eat hamburgers by CACC

I <3 this game I hate wombats grrrr!!!

Wombat Puzzles by fireandlce

… button, it continuously moves the wombat. I have made several accidental …