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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How create offline multiplayer by hotspot(Wifi) ?

Discussion in 'Multiplayer' started by AMIR_REZAs, Feb 3, 2015.

  1. AMIR_REZAs

    AMIR_REZAs

    Joined:
    Jan 20, 2014
    Posts:
    54
    Hello

    How can I create a android multiplayer by hotspot (Wifi) ?
    Which plugin should I use?
    Can Unity do it ?

    I want to make an offline game and just by hotspot or wifi (like share it app).
    How can I do it?

    Thnaks.
     
  2. Ashkan_gc

    Ashkan_gc

    Joined:
    Aug 12, 2009
    Posts:
    1,103
    Hey
    First of all unity's built in networking can be used if you find/write a script which does udp broadcasting to find others. secondly QUALCOMM has an open source platform called all joyn which can be used and is specifically created for these scenarios.

    https://developer.qualcomm.com/mobi...ces/intelligent-proximal-connectivity-alljoyn
    I've never used it but it seems to do the job and big companies used it.
     
  3. Ashkan_gc

    Ashkan_gc

    Joined:
    Aug 12, 2009
    Posts:
    1,103
    uLink of www.muchdifferent.com can be used with it's lan discovery feature as well and it's very easy to use but you should buy a license.
     
  4. AMIR_REZAs

    AMIR_REZAs

    Joined:
    Jan 20, 2014
    Posts:
    54
    Thanks a lot.
     
  5. Brent_Farris

    Brent_Farris

    Joined:
    Jul 13, 2012
    Posts:
    881
    Good news! You would create networking the same way that you normally would when it comes to local WiFi :D

    You can use other third party networking solutions like one that my team and I have designed. We have video tutorials to teach networking on our system, however, if you want to learn how to do it yourself (for fun) then, I also have a video tutorial series on how to get started with built in Unity networking. :D