Problem one:
How do I make my actor look left when he moves left and look right when he moves right.
This is the code:
Problem 2:
How do in make my bullets disappear when they are touching the border.
if (Greenfoot.isKeyDown("w"))
{
setLocation(getX(), getY()-9);
}
if (Greenfoot.isKeyDown("s"))
{
setLocation(getX(), getY()+9);
}
