It doesn't seem to work for me, I'm getting this error:
java.lang.IllegalArgumentException: java.io.FileNotFoundException: Could not find file: Gems\yellow.gif
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:202)
at greenfoot.GreenfootImage.<init>(GreenfootImage.java:100)
at greenfoot.Actor.setImage(Actor.java:296)
at Diamond.<init>(Diamond.java:53)
at PlatformWorld.buildLevel(PlatformWorld.java:181)
at Screens.background(Screens.java:75)
at Screens.act(Screens.java:55)
at greenfoot.core.Simulation.runOneLoop(Simulation.java:346)
at greenfoot.core.Simulation.run(Simulation.java:178)
If you haven't already, make sure you put all your images inside the images folder. I'd hazard a guess that your gems folder isn't in your images folder at the moment which is what may be causing the issue.
2009/12/17