Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Whats the best network solution for P2P with matchmaking?

Discussion in 'Connected Games' started by starforce2005, Jan 9, 2019.

  1. starforce2005

    starforce2005

    Joined:
    Dec 28, 2018
    Posts:
    3
    I'm new to network programming, my question seems noob, but i'm really lost and cannot find the right tutorial for my problem.

    If i were to make a P2P(small project party game) multiplayer with matchmaking do i have to learn a network engine?

    Most of tutorial avalible are for Unet which is discountinued(by the way are there tutorial still useful?), what are the alternitives?

    And lastly if i learn to code in one network engine, will my code work in another? for example if code in a network engine like Unet, when i want to publish on steam, does it compatible with steam network?

    By the way does P2P subject to CCU after the game has established?
     
    Last edited: Jan 9, 2019
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    4,230
    You're probably not going to get a lot of clicks on your thread because the "best" solution is not a question that can be answered by anyone but yourself. The best for me is not necessarily the best for you, because we're making different games with different requirements and the two of us have different skill sets and experiences. Also, the "best" would require anyone who answers to have tried all of them, but there are few people who have done so.
     
  3. starforce2005

    starforce2005

    Joined:
    Dec 28, 2018
    Posts:
    3
    I see your point,but you have to understand,for someone like me that lacks the knowledge not just how to do it,but even how to learn it,will have no choice but to ask a question like this to atleast find a direction to learn so that doesn't get lost in the sea of tutorial that i probably would never needed(resourse avalible on the internet is too much compare to the time an individual person had,so saving time and only learning the stuff i need would make sense right?),and i did try my best to provide as much information as possible for the question i asked (P2P matchmaking server only,small party game with very few player) to narrow it down :)
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    4,230
    I'm not saying there is a better way than asking, I'm just saying the specific question can't be answered by anyone, so I'd ask a different question instead.
     
  5. doctorpangloss

    doctorpangloss

    Joined:
    Feb 20, 2013
    Posts:
    37
    You can use UDP multicast addresses to represent "lobbies," and query them in order for locally networked multiplayer "matchmaking" purely peer-to-peer. Try googling UDP multicast to get started, and don't overthink it.