Jump to content
  • Advertisement
Sign in to follow this  
dongzhe

three question on server side

This topic is 3324 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 am writing a tank game 1. when to check the client input? should client input get check by engine as long as the input received? 2. what does the engine should provide? just collision checking or both checking and compute the movement? eg: if client to move tank to (x,y) and send this to server. what info should server reply? 3. when should i send the reply? should send immediately after checking or should I send all together with certain intervals? what is on my mind now now in my game client side I have timer (30) to produce each frame. no server side i have same timer (30) I will keep all the input during the 30 millisencond and check them all together when time out and send the reply all together after checking. is that all right? I feel it is not right......

Share this post


Link to post
Share on other sites
Advertisement
I'm pretty sure the Forum FAQ answers your questions. There is no one, right answer -- the answer to most of these questions depends on what your particular situation and needs are, because there are many ways to do networked gaming, each with its own benefits and draw-backs.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!