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

Report as inappropriate.

bkiza
bkiza presents ...

2008/10/27

Carrera acuatica

The game consists of a boat race where the fastest player must advance its competitors while rising to their shipwrecked boat to go to each one of them scored over 100 more. must dodge obstacles such as plants in which to run into them a bit and jam at a rock immediately encounter the game ends. Must reach the target level in the fourth to win the competition. The tanks will give you more speed so that when these occur, and so should take the move more quickly, if you reach the target level does not accrue the necessary points (lvl 1 = 500 or more or lvl2 = 1000 more lvl3 = 1500 = 2000 or more lvl4 or bad) will return to the beginning of the advanced level, and not until you get the required score, you have the help of the arrow up, down, left, right, for to move. It has three lives, that is if faced with another boat has three opportunities to keep playing if not to exhaust the 3 lives the game ends.

6098 views / 9 in the last 7 days

1 vote | 0 in the last 7 days

Tags: game with-source codepoint-08-general

open in greenfoot

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.

A new version of this scenario was uploaded on Mon Dec 15 20:05:35 UTC 2008
mjrb4mjrb4

2008/12/17

I can see a greenfoot and a barrel appear seemingly randomly after I click the buttons a few times...
A new version of this scenario was uploaded on Sat Jan 03 23:41:13 UTC 2009
mjrb4mjrb4

2009/1/4

It keeps generating a nullpointerexception for me - it's hard to know what exactly is going on without the source to look at, but a good start would be to make sure that you're referring to all the images you're using in the right case and you've declared them all properly. If it helps you sort the problem, the console output I'm getting is: java.lang.NullPointerException at greenfoot.util.GraphicsUtilities.toCompatibleTranslucentImage(GraphicsUtilities.java:274) at greenfoot.util.GraphicsUtilities.loadCompatibleTranslucentImage(GraphicsUtilities.java:221) at greenfoot.GreenfootImage.loadURL(GreenfootImage.java:143) at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:167) at greenfoot.GreenfootImage.<init>(GreenfootImage.java:70) at greenfoot.World.setBackground(World.java:152) at Mar.iniciaJuego(Mar.java:190) at Iniciar.act(Iniciar.java:24) at greenfoot.core.Simulation.runOneLoop(Simulation.java:199) at greenfoot.core.Simulation.run(Simulation.java:128) If you want to post the source, I and others might be able to help a bit more :) Also, what's the scenario meant to do?
A new version of this scenario was uploaded on Sun Jan 04 03:28:28 UTC 2009
mjrb4mjrb4

2009/1/4

Adding the with-source tag doesn't add the source automatically, you also need to select the "publish source code" check box.
BlackholeGFBlackholeGF

2009/1/4

It just doesn't work....sorry
A new version of this scenario was uploaded on Mon Jan 05 17:39:39 UTC 2009
A new version of this scenario was uploaded on Fri Jan 16 18:14:44 UTC 2009
mjrb4mjrb4

2009/1/17

The problem is the case sensitive filenames. You've got to refer to the file in the code in exactly the same case that it is in the directory, in this case your mar.JPG needed to renamed mar.jpg. If you do that and re-upload, it should work fine. Incidentally, the new version of Greenfoot (1.5) will warn you about this, which should make this problem disappear from the gallery once people use the new version! java.lang.IllegalArgumentException: Filename 'mar.jpg' has the wrong case. It should be: 'mar.JPG' at greenfoot.util.GreenfootUtil.checkCase(GreenfootUtil.java:547) at greenfoot.util.GreenfootUtil.getURL(GreenfootUtil.java:515) at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:170) at greenfoot.GreenfootImage.<init>(GreenfootImage.java:75) at greenfoot.World.setBackground(World.java:176) at Mar.iniciaJuego(Mar.java:245) at Iniciar.act(Iniciar.java:16) at greenfoot.core.Simulation.runOneLoop(Simulation.java:286) at greenfoot.core.Simulation.run(Simulation.java:157)

See all comments

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

Who likes this?

ing_icarocastro