PDA

View Full Version : iPhone multiplayer game possible?




daxvalin
Jul 3, 2008, 02:30 PM
Hey all, haven't gotten too deep into the devkit or xcode yet, so thought I'd throw a general question out to the geniuses...

We've got a game were prototyping for xboxlive, 2 player (networked).

Wondering if its possible to do this type of multiplayer in the iphone environment? IE: peer to peer game networking or possibly client/server networking.

If needed, wifi could be mandatory. Who knows, we'll see how the 3g version stacks with connectivity.

Anyone have anything they've tried like this (2 iphones accessing same datasets at once?)

Its a quick response type of game, but NOT a shooter or move your character type thing, more card game style, so lag is an issue, but not to the extent a shooter or multiplayer platformer would have.

Thanking you in advance for anyone's thoughts...



RossOliver
Jul 3, 2008, 03:31 PM
You can get two (or more) iPhones to talk to each other - check out the WiTap sample code. I'm in a similar position and will be making the multiplayer aspect of my game soon.

My only concern is how I am going to test it. Not living in the US means I can't sign up to the developer program and you can't run two simulators so I don't know how to test iPhone connectivity :confused:

-Ross

daxvalin
Jul 3, 2008, 04:36 PM
Stinks on the non-U.S. development limits... sorry to hear that.

I'm just wondering if it'd make sense to build some sort of client/server architecture into the game as well as a lobby system like you see in a fps.

If i was doing p2p connectivity with 2 iphones, that limits the users that could play against each other. But then again, that seems to work pretty well for the psp & ds on certain games. (especially when you don't have to have the 2nd player buy the game to play)

thinking its going to have to be more xbox live like...

this thread will probably be huge a year or two from now...

RossOliver
Jul 3, 2008, 05:00 PM
Stinks on the non-U.S. development limits... sorry to hear that.

I'm just wondering if it'd make sense to build some sort of client/server architecture into the game as well as a lobby system like you see in a fps.

If i was doing p2p connectivity with 2 iphones, that limits the users that could play against each other. But then again, that seems to work pretty well for the psp & ds on certain games. (especially when you don't have to have the 2nd player buy the game to play)

thinking its going to have to be more xbox live like...

this thread will probably be huge a year or two from now...

I'm going to dish out the game settings client-server style and then go P2P for the individual updates - should be an interesting project if I can figure out how to get more than one simulator going. I wonder if I have the simulator on two macs they may be able to communicate - has anyone tried this?

Mihail
Aug 4, 2008, 03:55 PM
Hi:

Yes, is possible.

We are working porting Letra2 online multiplayer game Flash version (you can see the internet game in www.ellascontraellos.com (http://www.ellascontraellos.com)) to iPhone (spanish version).

Actually we get a prototype playing with the internet players.

It's based in CFSocket.

We hope finnish it early

johnnybluejeans
Aug 4, 2008, 04:15 PM
My only concern is how I am going to test it. Not living in the US means I can't sign up to the developer program and you can't run two simulators so I don't know how to test iPhone connectivity :confused:


Is this true? I haven't heard this before.. I know a number of non-US developers in the program...

RossOliver
Aug 5, 2008, 01:10 PM
Is this true? I haven't heard this before.. I know a number of non-US developers in the program...

You couldn't when I posted this, but you can now... I also discovered having iPhone simulators on two macs on the same network allows you to simulate networking iPhones...

-Ross