I really don't know how to make the actors jump...):
I don't understand how to check if it is falling or check if it lands on a platform while falling
public void jump()
{
if (Greenfoot.isKeyDown("space"))
{
setLocation(getX(), getY() - 4);
fall();
}
}
public boolean onPlatform()
{
Actor below = getOneObjectAtOffset (0, getImage().getHeight()/2, Platform.class);
return below != null;
}
public void checkFall()
{
}
public void fall()
{
setLocation(getX(), getY() + 4);
}

