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

Report as inappropriate.

BlackholeGF presents ...


Pyro Sand

Click on the boxes to toggle different materials.
When a box is selected, press space to spawn some material where the mouse is.
Ice freezes water, fire melts ice and burns plant, plant grows up water.

9654 views / 1069 in the last 7 days

Tags: mouse game physics

Your browser does not support the canvas tag.


yeah publish it.
A new version of this scenario was uploaded on Mon Mar 16 17:51:34 UTC 2009


Hiya, As others have pointed out, this doesn't run at the moment, the exact error I'm getting is: java.lang.NullPointerException at greenfoot.util.GraphicsUtilities.toCompatibleTranslucentImage( at greenfoot.util.GraphicsUtilities.loadCompatibleTranslucentImage( at greenfoot.GreenfootImage.loadURL( at greenfoot.GreenfootImage.loadFile( at greenfoot.GreenfootImage.<init>( at checkerun.act( at greenfoot.core.Simulation.runOneLoop( at NullPointerExceptions often occur when you haven't initialised something properly - i.e. you're doing something with a variable that contains null (is empty.) But apart from that, there's not much anyone can do unless you upload the source code (it's via a check box in the export dialog.)
You really need to upload the source. Its easy, just click the 'publish source code' box when you upload a new version.


How can you see the error on a browser, mjrb4?


Go into the Java control panel, navigate to the advanced tab and make sure either show console or hide console is checked (as long as it's not never show console.) Also make sure you have the option set to get the java coffee icon in your taskbar when a java application launches. If you selected show console it'll open automatically (which I find dead annoying.) If you selected hide console then just right click on the icon and select show console when you want to see it (if the simulation stops suddenly when you don't expect it to, that's usually a good sign that an error's occured.)
It might have something to do with the message it throws when you start it sun.plugin2.main.client.PluginMain: unrecognized message ID 46 Buuuuuuut the only way to know for sure is to see the source code (hint hint)


Hmm, I don't get that message. Just the NullPointerException when it crashes. Either way though, as has been said already, it's all going to be guessing games without the source to look at. Feel free to upload it here or over on Greenfoot discuss, and then whoever gets there first will take a look!


Why don't you upload the source code?
I've seen him around, so obviously he hasn't left greenfoot...

See all comments

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

Who likes this?

No votes yet.