iPhone Multiplayer Game - Use external SDK like Photon?

Hi everyone,
I am developing an iPhone multiplayer game. I am new to unity and have not tried unity iphone yet but i am planing on buying it soon. The only problem i have is the multiplayer aspect of my game. It is going to be a real-time game with up to 6 players where speed is very important.
Right now i am searching for a practical, low budget solution to get wifi multiplayer or even 3G multiplayer to work.

Which multiplayer sdk’s do you know about?

What are your experiences with multiplayer games on the iPhone?

Thanks a lot for your advice!
bas

I’m not sure, but maybe you can use iPhone SDK GKSession?

I’m implementing multiplayer via Bluetooth and Wifi right now, but my game is pure Objective C, not Unity.

keep in mind that plugins / networking on the iphone requires iPhone Advanced

iPhone Basic does not offer any networking aside of WWW

I thought unity produces a ready to run xcode project. Waht i wanted to do is take the xcode project and work from there. But this would of course mean that the unity code has to be readable :slight_smile:

was this assumption wrong?

The Unity build process takes your mono code, written in JavaScript or C#, and compiles it into an .dll that gets added to an Xcode project. There is very little code that is user modifiable, and it is mostly dealing with app initialization (creating a window, etc.)

You can add code to the project, but the challenge is invoking it from your mono code. iPhone Advanced allows you to call external code, iPhone Basic requires slow and sloppy hacks.

ok that is not good!

Do you know of any Multiplayer SDK’s that work well with unity?

@ej2009 Yes the GameKit.Framework is what i considered as well. Right now i am just deliberate about whether i should use a commercial sdk or do the work myself
How is your project coming along? Is the GameKit from Apple easy to use?

Various ones work but they required iPhone Advanced (Photon, Neutron, SFS Pro)

Without iphone advanced, the only way for you to talk with the outer world in xcode is through PlayerPref ↔ NSUserDefault which is restricted on the frequency and data you can push around without killing the performance

I’ve finished my game, but decided to add multiplayer part so another few weeks (probably more due Xmas period).

GameKit is quite simple to implement, especially if there is only 2 players (you can use out of the box peer picker).

On the other hand my game is a turn based racing game, so it’s not as hard as fast paced first person shooter from networking point of view.

I’m afraid that with Unity basic you are stuck, you need to upgrade to Pro or do your game with other engine so you can implement multiplayer part with either GameKit or sockets etc. in Obj C…

How to do the network by iPhone 3.0 GameKit and Unity script?

you need to implement corresponding code to work with it on the xcode side and then create c functions to expose to your unity iphone advanced project

A question I’m having. How do you pass the peer list over to unity from xcode?

What engines does Eliminate Pro run on? I heard it’s a Quake engine but anything else? hands down best multiplayer game on iphone.