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.

Multiplayer options

Discussion in 'Multiplayer' started by samvilm, May 16, 2023.

  1. samvilm

    samvilm

    Joined:
    Jan 17, 2021
    Posts:
    40
    I'm making a multiplayer game that will need similar networking as slither.io.

    It will be free to play with income from ads.

    I'm trying to decide the best way to do it. I need a good balance between:
    1. ease of setup
    2. cost
    3. workability
    I've narrowed it down to 3 options.
    1. photon fusion in shared mode (cheapest)
    2. photon fusion in server mode
    3. fishnet with playflow server
    Servers are more expensive but may do a better job.

    Can anyone share with me they're thoughts as to which one is best for what I want?

    If I missed any other good options please let me know!

    Thanks!
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    2,991
    I work on Photon, so I can only comment on our SDKs.

    Fusion shared mode is good fit here if you go for mobile or WebGL.

    This might even be a candidate for Quantum. It only needs to sync input and runs well on mobile and in WebGL.
    It is likely a bit more effort to get started but you don't really have to think about networking, when using it. Once the frames are confirmed, this is the state on all clients for that frame (as it's deterministic).
     
  3. samvilm

    samvilm

    Joined:
    Jan 17, 2021
    Posts:
    40
    Quantum does sound good except that I need at least 200 players per room, if not more. Plus it sounds expensive.
     
  4. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    2,991
    With this many players, Quantum is not an option. It's not that expensive when it fits the use case well and helps you create some things other network solutions can't as perfectly.
    Fusion is likely the best basis (out of our options) then.
     
  5. jlbaker2779

    jlbaker2779

    Joined:
    Jun 14, 2020
    Posts:
    84
    "Best" is a relative term. They all have pros and cons.

    Fish is free and has fantastic support on Discord. 24/7 questions answered. That's priceless when it comes to networking. Top notch support.

    If you are looking for a framework for multiple-servers and whatnot, check out FishMMO in the resources channel of the Fish Discord. Very well built multi-server/scene setup created by users on the Discord with constant development and it's free as well.