So I’m creating a 2D Fighting game, and the progress is going well so far! Got some of the mechanics done, started animations a few hours ago, it’s going well. But one thing I can’t figure out on my own is creating the camera for it. You see, in fighting games, the camera will always be centered on the 2 fighters, and if the fighters get far away from each other, the camera will zoom out to make sure both fighters are visible, all while being centered on the 2 fighters. So how would I go about creating a 2D camera, that centers on 2 different players, while also zooming out if they get too far away to make sure both fighters are visible on screen? Despite getting a good chunk of my game done completely by myself, I can’t seem to think of a possible solution to creating a camera like this. So, I’d like to know how I can approach this situation, all help is appreciated!