Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Schtiv

Member Since 28 Jun 2011
Offline Last Active Sep 14 2013 04:56 AM

Topics I've Started

The online tennis problem

05 January 2013 - 07:19 PM

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


Video tutorial series for directx

28 June 2011 - 11:49 AM

3dbuzz did a fantastic video tutorial series on openGL I was just wondering if anyone knows of anyone who has done something similar, as in from the ground up video tutorials.

Thanks.

PARTNERS