Snapshot interpolation only works when I switch tabs for 10 seconds #244
Answered
by
Quitalizner
Seclusionist
asked this question in
Help / Questions
-
Hi there, I'm running into strange behavior: The snapshot interpolation code only works correctly when I switch tabs for 10 seconds and then switch back to the game. So I will move and then switch tabs for 10 seconds and come back and the code will be working correctly. What exactly could cause this to be the case? |
Beta Was this translation helpful? Give feedback.
Answered by
Quitalizner
Jan 5, 2023
Replies: 1 comment 4 replies
-
When you switch tabs, the browser stops sending inputs to the server. All your inputs will get bunched up. I believe the same happens for the data sent from the server to the browser |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
Seclusionist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you switch tabs, the browser stops sending inputs to the server. All your inputs will get bunched up. I believe the same happens for the data sent from the server to the browser