Sign in to follow this  
stilianos

The online tennis problem

Recommended Posts

stilianos    104

I call it the 'tennis problem'.

Imagine a networked tennis game, the ball is hit from one person to another, assume that the path of the ball is sent and not the location of the ball, this allows for predictability, because we know where and when the ball is going to land, and therefore we can have a nice synced game, we can just speed up/ slow down the velocity of the ball to do this. However consider when the two players are very close to each other (right next to the net), in LAN circumstances this wouldn't be a problem, but suppose we had a 1 second delay in our connection, the ball that player A hits will have traveled passed player B by the time player B received the message that player A had hit the ball. What can you do in this situation? The only thing I can think of is teleport the ball back to the correct position and risk ruining all immersion, surely there is a better way.

Hopefully you were able to follow the example, I'd like to hear your thoughts on this 'tennis problem' and what strategies could be used to overcome it.

Thanks

Happy Holidays/ Happy New Year

Share this post


Link to post
Share on other sites
hplus0603    11347
If your game designer comes up with a game design that requires faster turn-around time than the latency between the players, you smack him on the knuckles with a ruler and say "Bad designer, not considering the requirements!"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this