Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Where to start with multiplayer game

Discussion in 'Getting Started' started by quaikohc, Feb 1, 2023.

  1. quaikohc

    quaikohc

    Joined:
    Jan 8, 2016
    Posts:
    2
    Hi,
    I'm a programmer with lots of experience in custom engines - mostly graphics programming. I want to finally try to make a game based on the idea I've had long time ago. I don't know Unity but that's not a problem. There are lots of tutorials.
    The problem is that I know very little about network programming and the question is where should I start?
    The game is not Clash Royale clone but I think it will have very similar requirements in terms of networking code. Short 1x1 or 2x2 matches where users are selecting their units and sending them into battles - after that they have no control over them.
    How would I handle this? How and where should I host a server? Do I need some third party libraries or unity's built-in networking features are enough?

    Cheers and thanks for all the answers
     
  2. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    https://www.youtube.com/results?search_query=multiplayer+game+tutorial+unity

    Don't say I never do anything to help you guys! :D
     
  3. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,658
    You should definitely familiarize yourself with Unity (and C#, if you haven't already) first before worrying about and tackling something advanced like multiplayer. It's never a good idea to start with a multiplayer game as a beginner.

    Since you're mainly into graphics programming, maybe only worry about that part and leave multiplayer to someone else?
    .
     
  4. AngryProgrammer

    AngryProgrammer

    Joined:
    Jun 4, 2019
    Posts:
    437
  5. quaikohc

    quaikohc

    Joined:
    Jan 8, 2016
    Posts:
    2
    Yeah, I know C#, I will familiarize with Unity first a bit but the advice I got was to start looking into multiplayer as soon as possible and I think that it makes sense.

    I want to make the first prototype by myself. I don't know if my idea for the game will work out. I kind of assumed it won't be that hard in Unity.

    It looks like Photon Engine is quite popular and should be enough for what I'm trying to achieve.