Real limit of maximum players count in one room

Options

Hi there!

What if I need the room where players will not play, but will be splitted to the several different rooms after some time? Is it possible to handle 100 (and more) players in one room simultaneously?

Maybe in this room will be a chat (based on RaiseEvents, not Photon Chat), so the messages per seconds limit will not be reached.

Answers

  • Klover
    Options

    void LimitRoom()

    {

    RoomOptions roomOptions = new RoomOptions();

    roomOptions.MaxPlayers = 100;

    PhotonNetwork.CreateRoom("Room Name", roomOptions);

    }


    public override void OnJoinedRoom()

    {

    Debug.Log(PhotonNetwork.CurrentRoom.PlayerCount + "/" + PhotonNetwork.CurrentRoom.MaxPlayers);

    }