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?
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
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.
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…