Photon Networking - Create Rooms or add to lobby?

Hello,

Im adding multiplayer funcionalty to my billiard game with Photon PUN Turnbased.

The scenario is like this:

  1. Player goes into the game.

  2. If no online players are there, I let the player play offline mode.

  3. In the background, a new room is created where only this player is placed.

  4. When a new player arrives, the cod checks if there are rooms only with one player.

  5. Players start a match.

Now my question:

Is is smart to create empty “waiting rooms” or it a waste of resources?

Is there maybe a way to add players to a lobby, where they wait for a new opponent?

Mirza

You should post this in the networking subform or on Photon’s forums.

Hello @mirzahat I hope you find solution cuz I have the same issue.