Unity Community


Results 1 to 8 of 8

  1. Location
    Land of the Dead
    Posts
    7

    Wifi/Bluetooth Multiplayer on iOS and Android

    Hi!

    We have a game for iOS and Android.

    We are looking for a way - any solution - that can make Service Discovery possible over both platforms.

    Two devices, of iOS or Android make in any two combination should be able to connect with one another for a real-time online multilayer game over Wifi. (maybe Bluetooth later).

    The solution should be robust, multiform and commercially proven.

    We are aware of AllJoyn but it doesn't have an iOS/Unity plugin yet to the best of my knowledge.

    Does Unity's built in networking API support Wifi/Bluetooth multiplayer?

    Anything similar to AllJoyn that works today? Bojour Android port?

    Prime31's Gamekit Multiplayer toolkit is for iOS only?


    Any help would be appreciated.
    Viva Le Revolution!!!


  2. Location
    Zürich, Switzerland
    Posts
    26,572
    GameKit is an iOS only feature so yes its iOS only.
    But on iOS its also the by far best solution cause it can be used for adhoc multiplayer and internet one if you want.

    From what you write though you want to use online multiplayer, then you don't need BT and you don't need GameKit, what you need is System.Net and then the TCP Socket or UDP Socket. Alternatively you can use unitys networking that works on all unity platforms out of the box, you could use lidgren that uses udp sockets under the hood or something like photon, ulink, ... which do so too but offer additional features


  3. Location
    Land of the Dead
    Posts
    7
    Thank you dreamora for your answer.

    I think we are looking for ZeroConf (dnssd) type solution, where an android device can talk to an iOS device over bluetooth or wifi ad hoc.

    Is there any unity plugin or any other solution to implement ZeroConf in an Android+iOS game?
    Viva Le Revolution!!!


  4. Location
    Zürich, Switzerland
    Posts
    26,572
    If you want adhoc networking, you will need to do it yourself and use the Bluetooth stack on both sides.
    GameKit is not compatible with anything but gamekit.

    I am at least up to now not aware of a solution that works on both sides as a fair amount of iOS devs don't care bout android and even less devs give a **** bout bluetooth for gaming due to the omnipresence of Wifi.

    Problem with wifi is that you can not build adhoc networks with it without gamekit, so you might be rather limited. Yet without gamekit you will have some probs on bt on ios too cause the user is forced to enable bluetooth before starting your game. Only gamekit is able to 'enable bt on the fly'

  5. ina ina is offline

    Posts
    328
    Quote Originally Posted by Dreamora View Post
    If you want adhoc networking, you will need to do it yourself and use the Bluetooth stack on both sides.
    GameKit is not compatible with anything but gamekit.

    I am at least up to now not aware of a solution that works on both sides as a fair amount of iOS devs don't care bout android and even less devs give a **** bout bluetooth for gaming due to the omnipresence of Wifi.

    Problem with wifi is that you can not build adhoc networks with it without gamekit, so you might be rather limited. Yet without gamekit you will have some probs on bt on ios too cause the user is forced to enable bluetooth before starting your game. Only gamekit is able to 'enable bt on the fly'

    alljoyn?


  6. Location
    NY
    Posts
    211
    Yeah AllJoyn (Unity Extension) P2P by Qualcomm currently supports Windows standalone and Android, iOS is TBA.

    Forgot to mention it's open source with Apache license!
    See https://www.alljoyn.org

    Update
    As of 3.0.2 looks like iOS and Mac OS is now supported.
    Last edited by Tomo Games; 01-02-2013 at 08:23 PM. Reason: forgot to mention...


  7. Location
    Viet Nam
    Posts
    158
    Access denied, Is it already ended ?
    Hierarchy2 - A powerful Hierarchy extension for Unity ( Website / Forum / WIP / Asset Store)
    Inspector2 - A powerful Inspector extension for Unity ( WIP )


  8. Location
    Scotland
    Posts
    4
    Hi,

    I am a networking specialist and i have developed a number of Unity 3D plugins, please check them out at

    https://www.assetstore.unity3d.com/#/publisher/2280

    Many Thanks,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •