ClusterAtlas Posted February 28, 2017 Share Posted February 28, 2017 There are just far too many "dumb" implementations out there, hence we wrote this one where you work directly with Socket.IO's API: Usefulness: - Displaying the latency. - Dropping the player when latency is too high. - Using the latency as an Interpolation factor, especially in multiplayer sprite movements. Check the server.js & client.js gist @ https://gist.github.com/servercharlie/f3c85dbbfa8308e83257dc2ee31cd7cc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.