Another way to handle camera movement is to set an sprite that will serve as the camera and link all the entities to it with splink (Except the player since he's always on the middle of the screen.) The you just need to move the camera sprite to move everything else. Note that you need to ensure that the management number of each sprite is greater than the one used by the camera.