I'm not sure what you made the game with.. but I'd say if you're using an engine or anything that can get a reference to the screen width (Gamemaker or Unity for ex) - then you could set it according to screen width / 2.. or something similar.
right - so what you could do though - is make the camera position(s) set to a specific location that goes according to screen width and then
add / subtract an "offset" variable - also according to screen size or the player. Another alternative - would be to use a LERP in order to move the camera more smoothly to the position that it needs to be.