Hello.
I am new here in Greenfoot world and java, and i would like to have help with make a level in my game
http://www.greenfoot.org/scenarios/3961
anyone who have a good idea how to do plzz help me
if (Greenfoot.isKeyDown("space")) //or whatever is checked when the princess is saved. { Greenfoot.setWorld(world); // the 'world' in the '()' is a reference to whatever world you want to switch to. }
{ if (Greenfoot.isKeyDown("space")) { Greenfoot.setWorld(Worldto); } }