The camera for this game was inspired by Smash Bros. Ultimate, drawing on the dynamic nature with players running quickly across the screen. It moves to the average location of all points of interest, with a slight bias towards points further away from the group. The camera’s distance is determined by the two furthest players in the X or Y direction, modified by a curve relying on the percentage from minimum to maximum zoom. This gives the designers full control over the zoom. View the code here (link).