1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

iPhone multiplayer game possible?

Discussion in 'iPhone/iPad Programming' started by daxvalin, Jul 3, 2008.

  1. macrumors newbie

    #1
    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...
     
  2. macrumors regular

    #2
    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
     
  3. macrumors newbie

    #3
    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...
     
  4. macrumors regular

    #4
    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?
     
  5. macrumors newbie

    #5
    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
     
  6. macrumors 6502

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

    #7
    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
     

Share This Page