if( Key.isDown(Key.UP) )
{
if( this._y >= 24)
{
_y = _y - velocity
}
}
mess around with the value on each of them such that the ship just gets close to the borders
you need to add a bit more code to make it more original. First put in boundaries, I can just move off the back and shoot forever without dying since the missles and notes? disapear before they hit me.