Jump to content
  • Advertisement
Sign in to follow this  
bob242

about prediction (for a FPS)

This topic is 4441 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

Hi, Just to be sure : Suppose I use client(s)/server paradigm for a FPS game and I want to implement a form of client-side prediction (dead reckoning). Say that we can have the server and a client on the same host (computer). This client doesn't need prediction, right ? Thank you very much, dav

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by bob242
Hi,

Just to be sure :

Suppose I use client(s)/server paradigm for a FPS game and I want to implement a form of client-side prediction (dead reckoning).
Say that we can have the server and a client on the same host (computer). This client doesn't need prediction, right ?

Thank you very much, dav


You would expect that the client being on the same computer would mean minimal latentcy.

However, if your server sends data at a certain tickrate, and the client is allowed draw as fast as possible, you might as well leave in any code you have, it will probably smoothen the animation...

Share this post


Link to post
Share on other sites
In that position, the client shouldn't need prediction, no. However, if your client has prediction code in it anyway, it seems silly to disable it under such circumstances; it can only help :).

Share this post


Link to post
Share on other sites
Quote:
Original post by Bob Janova
In that position, the client shouldn't need prediction, no. However, if your client has prediction code in it anyway, it seems silly to disable it under such circumstances; it can only help :).


With the exception of the case where it is a listen server. If your local client is the same program as the server, and you're reading from the server's game state, then no, there's no need for prediction. If they're seperate programs, then you may as well leave it on.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!