how can i make a new level in a game??
please help me:):):):)
if (Greenfoot.mouseClicked(this)) //this command could be anything, whatever you want to be checked.
{
Greenfoot.setWorld(world); // the 'world' in the '()' is a reference to whatever world you have in your senario and want to switch to.
} if(Greenfoot.mouseClicked(this)) {
Greenfoot.setWorld(new Floor1());
}