Multiple Player Camera Problem

So, I was Collab with Indie users and we made a 5v5 onl game. The only issue I have for now is a camera for 10 players that using only 1 object for ALL 10 PLAYERS. For example, I added for 10 characters that controlled by 10 different players with 10 cameras I put at the blind spot, while I testing for 2 characters first, all the cameras followed to the first character only, the others just left there. This problem will break the game by only revealing the location first player on the screen, which makes the other players have bad experiences like suboptimal display in-game screen and frustrating for controlling character for 9 players. In case I use the zoom out of the entire map, it will reveals everything, makes the dramatic and tension decrease, making the fighting game, especially 5v5 only game more bland, even I use a shadow block that limit vision of the players. If I create 10 objects just for 10 cameras for the player, it’ll take a lot of objects spot, making the camera problem over complicated and unnecessary (unless it’s the very last option).

1 Like

Maybe try to get each players position and get the average x any y of all of them and have the camera set there?

I use it for 2 players in my game fight night for 2 player: Fight time V1.0 - Flowlab Game Creator
It is local, and only 2 players but should be able to be expanded further

This is why, man :frowning:

1 Like

you can use 1 camera to do it, look at my game and check the camera object

if you’d like i can create the camera outline for you

download (1)

1 Like

when getting the average it wont zoom out unless you make it so

Let me try. I will be back.

1 Like

I will admit making the camera for all 10 players without using 10 objects is difficult but it probably can be done

Nope, that code can’t be applied for 5v5 games because it limits the vision of the far player too much.

1 Like

Sorry i have been gone for the weekend but i have an idea. Maybe make 1 camera and just attach one to the player when they join? as long as the camera is set to a no multiplayer object then it should only render for 1 person.