move some of the player sprite logic into the camera