Multiplayer camera follow?

Does anyone know of any method to make the camera follow several players in the Lemming Ball Z style?
Thanks you for reading.

Do you program this in 2D or 3D ?

in 2D, look this https://www.youtube.com/watch?v=ooC45Tvx3Bk

Continued in his other thread

For a demo of a “Lemming Ball Z”-style camera, see mode 2 TRACK_ZOOM in this example sketch: