Search Unity

Multiplayer Mobile Game

Discussion in 'Multiplayer' started by patos_, Dec 21, 2019.

  1. patos_

    patos_

    Joined:
    Jun 3, 2019
    Posts:
    1
    Hi, I would like to ask how to create a multiplayer mobile game? It will be the game for 2 or 4 players. Players can connect to the game via Bluetooth or the same wifi network. I have no experience with this. What should I learn before making my game? Which libraries, assets or servers for connections via wi-fi should I use?

    I have read about UNet and Photon, but I don't know which is better.
     
  2. mischa2k

    mischa2k

    Joined:
    Sep 4, 2015
    Posts:
    4,347
    It's definitely a good idea to use an existing networking solution, especially if you are new to networking.

    As far as I am aware, only UNET's LLAPI networking transport works over Bluetooth. They mentioned that in a presentation a few years ago, but I don't know anyone who actually tried it.

    That being said, UNET is deprecated so you should use Mirror (our UNET fork, which still supports LLAPI), or any of the other networking libraries like Photon/MLAPI/etc. Try a few and use what works best for you.
     
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847