Megaman style camera

Hello everyone, I have a huge question I need answered fast so I can finish my school project. I want to make a camera system that acts like it did in Megaman and metroid games. Basically when I move to a different area on the level the camera will transition with me to the new part of the level but only show a part of the level. I only found one tutorial on facebook, but it did not work unless I did something wrong. Going to retry it now, but really would like someone to help me create this feature I need to complete it. Thanks in advance.

I don’t think anyone knows what the Megaman camera looks like. Can you link to a vid?