• Advertisement
Sign in to follow this  

The online tennis problem

This topic is 1838 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
Sign in to follow this  

  • Advertisement