Questions tagged [extrapolation]
The extrapolation tag has no summary.
16 questions
0 votes
0 answers
235 views
Explaination of Extrapolation from Game Programming Patterns
I'm looking for help because there is one thing from the game loop which I don't clearly understand. I'm in some way of doing implementation of my own 2D game engine based on book „Build Your Own 2D ...
0 votes
0 answers
121 views
how can I visually compensate for latency in a diep.io style game
implementing extrapolation using linear velocity, orientation and position like on here gafferongames.com/post/state_synchronization/ I'm a little confused if I want to extrapolate from a known ...
0 votes
1 answer
276 views
Network interpolation wont work for local player
im currently developing a little duengon crawler. It should have lan multiplayer and it works great but i think im sending to much packets. Should i send packets over network, when a player moves in ...
1 vote
0 answers
130 views
Extrapolation - synchronize destination point on a second device while moving
First of all, I read all of the Valve and Gaffer articles but I still have no clue, how to achieve my goal. I am creating a UDP multiplayer game with a lot of physics (knockbacks, attacks). Packets ...
1 vote
1 answer
834 views
How to predict future position of an object(bullet sync)?
There is a multiplayer game and server sends to all clients a message when a shot happens, containing bullet position, bullet velocity and timestamp. By having timestamp, we can calculate the lag, let'...
0 votes
3 answers
855 views
How to calculate Pong ball's expected position perfectly (taking wall bounces into account)
I'm writing a Pong clone where the player has to type a word in order to move the paddle. Because of this, I need a way to calculate the position of the ball immediately after it hits the CPU's paddle....
0 votes
1 answer
74 views
Is there an equation to determine when to invoke extrapolation in response to lag?
I've implemented interpolation to smooth character drawing in my networked game. But now I want to fall back on extrapolation if too much time has passed from a user sending an update and the ...
1 vote
3 answers
3k views
Interpolation using a sprite's previous frame and current frame
Overview I'm currently using a method which has been pointed out to me is extrapolation rather than interolation. As a result, I'm also now looking into the possibility of using another method which ...