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

Report as inappropriate.

BwuffaloBwill2 presents ...


Bird Poop

Push space bar to drop poops into buckets at bottom of screen. You get 50 poops before the game ends. Good Luck!

3777 views / 551 in the last 7 days

Tags: game physics with-source keyboard target bird poop pooping buckets

open in greenfoot
Your browser does not support the canvas tag.


Hi, the error you're getting is the following: java.lang.IllegalArgumentException: Could not load image from: bucket.png at greenfoot.GreenfootImage.loadURL( at greenfoot.GreenfootImage.loadFile( at greenfoot.GreenfootImage.<init>( at greenfoot.Actor.setImage( at Bucket.<init>( at BirdWorld.<init>( at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at greenfoot.export.GreenfootScenarioViewer.instantiateNewWorld( at greenfoot.export.GreenfootScenarioViewer.init( at Source) at Source) This is probably because you've referenced your images in the source in the wrong case - make sure that you refer to the images exactly (bearing in mind upper and lower case characters) and try again. You should also upgrade - this problem has been solved in Greenfoot for a while now (the compiler now tells you if any of the cases are incorrect.)
A new version of this scenario was uploaded on Tue May 26 15:03:09 UTC 2009


If you're still struggling with this, feel free to upload the source so we can point out what's wrong! I'm still pretty much convinced it's a problem with your images being in the wrong case though.
A new version of this scenario was uploaded on Wed May 27 15:28:55 UTC 2009
Source code now available. Any help would be great!


Hmm, it appears you are referencing things in the correct case after all - my mistake! I simply opened your project, dropped all the images in an images folder inside the project directory (instead of in the directory itself) and exporting seemed to work fine. So firslty I'd suggest trying that. Secondly, I really would recommend upgrading - it does seem like you're using an old version and there have been a fair few fixes in the last couple of releases. Unless there's a bug in the latest release that means you have to use an older version (unlikely) then it's always worth upgrading.
A new version of this scenario was uploaded on Wed May 27 22:26:49 UTC 2009
Thanks for all your help. It works!

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

Who likes this?

No votes yet.