Arena Daemon multiplayer integration (iOS + Android)

Discussion in 'iOS Programming' started by aragon81, Jul 13, 2015.

  1. aragon81 macrumors newbie

    Joined:
    Jul 11, 2015
    #1
    hi everyone, i m trying to use arena daemon sdk to build a multiplayer game for iOS. i successfully retrieve the tables list and also the registration goes fine

    but i cannot understand when a match starts.



    how can i hook that event?

    thank you!
     
  2. Carl87, Jul 15, 2015
    Last edited: Jul 16, 2015

    Carl87 macrumors newbie

    Joined:
    Jul 15, 2015
    #2
    Hi Aragon! If you want to create a match with 2 or more players, you have to each player register to the same table.

    When the table is full (no seats left) the match automatically starts and each player receive the event (for iOS)
    i
    OS :
    Code:
    - (void) arenaPlay:(BDArenaPlayConnector*)connector matchDidStart:(BDArenaMatchData*)matchData;
    Android :
    Code:
    public void arenaPlayMatchDidStart(BDArenaPlayConnector connector, BDArenaMatchData matchInfo)
    when a match starts, you can exchange messages between player calling the methods you can find under ‘Managing matches’ paragraph of the documentation
    (http://arenadaemon.com/references/detail/33 | http://arenadaemon.com/references/detail/8)
     

Share This Page