Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

daxvalin

macrumors newbie
Original poster
Jul 3, 2008
2
0
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

macrumors regular
Nov 6, 2006
157
0
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

macrumors newbie
Original poster
Jul 3, 2008
2
0
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

macrumors regular
Nov 6, 2006
157
0
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

macrumors newbie
Aug 4, 2008
1
0
Letra2 a multiplayer game ported(wip) to iPhone

Hi:

Yes, is possible.

We are working porting Letra2 online multiplayer game Flash version (you can see the internet game in 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

macrumors 6502
Jan 16, 2006
294
0
New York, NY
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

macrumors regular
Nov 6, 2006
157
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.