Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
interpolating
Print
Pages: [
1
]
Author
Topic: interpolating (Read 2002 times)
0 Members and 1 Guest are viewing this topic.
iride
Jr. Member
Posts: 88
interpolating
«
on:
December 28, 2013, 05:43:57 pm »
http://www.gabrielgambetta.com/fpm3.html
I'm trying to implement entity interpolation explained in this article. I understand that I have to display the game couple frames late, but I have no clue how to translate this into code.
sf
::
Packet
packet
;
receivePacket
(
packet
)
;
packet
>>
newX
>>
newY
;
//now what should I do with this new position?
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: interpolating
«
Reply #1 on:
December 29, 2013, 12:40:48 am »
Well we aren't your code monkeys either...
If you can't understand a concept or an article, either ask specific questions or go and read some more books/articles/papers on that topic.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
interpolating