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

mjrb4's Comments

Back to mjrb4's profile

Brilliant!
So do I, it looks much nicer. This was literally something I threw together in, well, very quickly ;)
mjrb4mjrb4

2009/3/20

Nice - this is definitely getting there now!
Seems to run much better now with lots of balls in the world - nicely done.
Clever - really nice idea! I can't get out, but at the moment I think that's more to do with my reaction times than bugs. Good game.
Looks good - are there any instructions for playing it? I spent a fair while trying to figure it out but I'm not sure what to do... Perhaps I'm just being a bit thick and tired!
mjrb4mjrb4

2009/3/18

Hi Drumlind, The problem isn't with compilation - everything on the gallery is already compiled, regardless of how the scenario shows up. This is instead a runtime error - because of the wrong image cases the scenario freezes before it's done anything. You can't actually upload to the gallery without compiling - it won't let you ;)
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(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 checkerun.act(checkerun.java:22) at greenfoot.core.Simulation.runOneLoop(Simulation.java:200) at greenfoot.core.Simulation.run(Simulation.java:129) 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.)
Nice! At the moment the gravity seems a bit weak (it'd be nice to keep it in orbit just by clicking which it doesn't seem like you can do at the moment) but apart from that good work!