Hello, everyone. I apologize in advance for my English - it's not my first language.
I'm trying to understand how multiplayer works. Of course, I've read all the multiplayer tutorials by —
My goal now is taking the "Multiplayer pong" example and making it non-laggy with local imput prediction and lag compensation.
Following the "real-time game" tutorial, I've enabled local imput prediction for the peer:
But what about the lag compensation? I've searched through so many topics in this forum but it seems none managed to give a real answer (lennaert tried to answer here: https ://w ww.scirra.com/forum/multiplayer-lag-compensation_t149648 )
I guess I should have some lag compensation when the ball collides with the paddle... maybe... right? How can I do it?!
I hope I don't sound lazy by asking this. I thought a lot about how to do it and how the things work and I did some attempts but none seemed to make sense. I don't know, maybe only one tutorial with lag compensation is not enough or maybe I'm not very smart.
Like, I guessed I should start by doing this?
But I'm not sure at all...
Please, help ._.