★ TouchArcade needs your help. Click here to support us on Patreon.

Bluetooth multiplayer help...

09-11-2009, 06:38 PM
#1
Joined: Dec 2008
Posts: 439
Bluetooth multiplayer help...

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...
09-12-2009, 10:07 AM
#2
Joined: Sep 2009
Location: Brampton, Ontario
Posts: 344
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/19...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.
09-12-2009, 10:31 AM
#3
Joined: Dec 2008
Posts: 439
Quote:
Originally Posted by ElectricGrandpa View Post
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/19...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.
Thanks!