Log in or register to post comments

Peer to Peer possible ?

May 25, 2011 - 2:58am #3

Hi,

I found a very interesting little clip about Peer to Peer on the Qualcomm website. Multiple phones playing together in one game. Since this is a great opportunity for multiplayer i was wondering if it was possible to play the same augmented reality game on two smartphones together at once? I read that there will be Iphone support in the near future, so will it also be possible with different phones? If not, will all this be available in the near future?

-Thomas

Re: Peer to Peer possible ?

May 25, 2011 - 10:02am #2

It should be possible.

The AR is just another way to interact with the game world. With a simple game like mine (AR coming soon) AR with multiplayer code wouldn't be any different than just multiplayer code as the AR is only acting as a way to control the camera.

If your AR is moving objects in the world it wouldn't be any different than any other multiplayer code that syncs object location.

I haven't done multiplayer with Unity yet and don't know if it has libraries that support it on the Android. But that would be a question you'd want to ask on the Unity forums.

Re: Peer to Peer possible ?

May 26, 2011 - 7:29am #1

I haven't created a multiplayer app using Unity either, but do have some experience developing them, and had looked into Unity's model.

Here's a multiplayer tutorial for iPhone that people have also built and installed successfully on Android - http://blogs.unity3d.com/2010/04/21/guess-whats-on-the-picture/ . So it is viable.

But Unity's multiplayer functionality is based on a client / server architecture, using RPC calls. You could probably accomplish the same p2p, but it would require an original development effort. And you'll be limited in what you can accomplish, due to the overhead of trying to synchronize multiple peers. This is a challenge in a standard processor environment, which are much more robust than those available to mobile devices.

Log in or register to post comments