hey guys ive been using the other discussions to try and get my character moving, ive tried the following but it doesn't work!;
public Character1()
{
if(Greenfoot.isKeyDown("right"))
{
setLocation(getX()+3, getY());
}
if(Greenfoot.isKeyDown("left")) setLocation(getX()-3, getY());
if(Greenfoot.isKeyDown("down")) setLocation(getX(), getY()+3);
if(Greenfoot.isKeyDown("up")) setLocation(getX(),getY()-3);
}
tried it both ways, any ideas?