Waiting rooms with some friends

Options
Hi guys,
I want to create waiting rooms like in Fotrnite or Counter-Strike: Global Offensive, but I have a problem with doing it. Please help I don't know how to do this.

Comments

  • Nori_SC
    Nori_SC
    edited November 2019
    Options
    you know it's not as easy as it seems?
    you create a room as a lobby and wait until e.g. 10 players are ready,
    you start delaying, e.g. 10s to the start of the map
    you are loading the map
    (and here is the problem if the map is big then you will have lag
    photon has no slow map loading mode
      and this implementation is not easy)
    but let's say you have a small map (few objects to load)
    you make sure that
    PhotonNetwork.AutomaticallySyncScene is true
    and now you only have to weld the players and that's it

    Have fun writing 500 lines of code ;)
  • OneManArmy
    OneManArmy ✭✭✭
    edited November 2019
    Options
    You don't have to use PhotonNetwork.LoadLevel() with AutomaticallySyncScene. It's completely optional.