Search Unity

Network game

Discussion in 'Multiplayer' started by Denyss_, May 5, 2020.

  1. Denyss_

    Denyss_

    Joined:
    Feb 17, 2020
    Posts:
    45
    Hello everyone! I want to make my online game. How can I make it so that when I click the PLAY button, the game searches for a free server and connects to it. And if he does not find a free server, then he needs to create it and connect to it.
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    That would depend on the networking API you're using. For example, Photon Cloud has this functionality largely integrated, so you'd follow their documentation. If you take a more low level approach you're talking about a rather complex set of systems you'd create from the ground up. Far too big for a single forum thread. You'd need to break this into smaller problems you tackle one at a time.
     
  3. Denyss_

    Denyss_

    Joined:
    Feb 17, 2020
    Posts:
    45
    Can I do this with Photon?
     
  4. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,067