Bluetooth multiplayer help...

Discussion in 'Public Game Developers Forum' started by arkanigon, Sep 12, 2009.

  1. arkanigon

    arkanigon Well-Known Member

    Dec 24, 2008
    439
    0
    0
    How do you make sure the gameplay on two devices is synchronized... any tips?

    I was working on a bluetooth fighting game before... one of the problems I had was the divergence between what was happening on one device vs the other... every few seconds, I'd send a "course correction" to make sure both players were in the right place on both devices...
     
  2. ElectricGrandpa

    ElectricGrandpa Well-Known Member

    Sep 5, 2009
    344
    0
    0
    Game Developer
    Brampton, Ontario
    Hey, check out some of these articles: http://www.gamedev.net/reference/list.asp?categoryid=30

    I think you might want to check out the idea of dead reckoning, which is basically anticipating where the player is gonna be based on the direction they were moving: http://www.gamasutra.com/features/19970919/aronson_01.htm

    The key thing for this sort of multiplayer game is that what the player does has to be accurate on their screen, so if they press the punch button, their character should punch right away. On the other hand, it's ok if the enemy character is a few milliseconds off where they should be.
     
  3. arkanigon

    arkanigon Well-Known Member

    Dec 24, 2008
    439
    0
    0
    Thanks!
     

Share This Page