Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity3D for iOS and Android: Multiplayer (Bluetooth Connection)

i'm looking for a way to connect two devices using Bluetooth in Unity iOS and Android Basic for Multiplayer-Gaming. I found:

  • AllJoyn by Qualcomm - Bluetooth works apparently only with Root-Android Devices and currently not with iOS.

  • iOS GameKit Local Multiplayer by prime31 - Only for iOS.

  • Bonjour Plugin by Gregzo - Not Bluetooth but a other local-multiplayer solution only for iOS.

  • TNet: Not Bluetooth, only for Android and iOS Pro

Has anyone any other solution (especially for Android)?

I would be grateful for any help. Also for other p2p-Unity-Solutions.

like image 421
Oli Avatar asked Oct 23 '12 14:10

Oli


Video Answer


1 Answers

For Ships N' Battles (a cross platform multiplayer game Unity authored) we have built several ways to perform a multiplayer game:

via Bluetooth (using Prime31 plugin)

  • iOS

I've never seen a game with multiplayer between iOS and Android using Bluetooth.

via LAN (using Unity RPC)

  • iOS
  • Android
  • Mac
  • Web (Kongregate)

The players can start combats in a Local Area Network with any of above devices: iOS vs iOS, iOS vs Android, Android vs Mac, and so on.

via Game Center (using Prime31 plugin)

  • iOS

Uses the Game Center multiplayer to match combats.

via Global Server (an in-house solution)

  • iOS
  • Android
  • Mac
  • Web (Kongregate)

The players can start combats around the world with any of above devices: iOS vs iOS, iOS vs Android, Android vs Mac, and so on.

For this solution we have built a online server, but you can use something like Photon.

like image 69
giacomelli Avatar answered Oct 12 '22 02:10

giacomelli