- Home /
Network game design recommendation
I'm working on an app game right now with VR that's using UDP to send the other player's position to a server. It's working pretty well right now on a local 5G network but does anyone have any recommendations for network game design or how to reduce latency? There's just the slightest but of delay updates that I want to improve.
Thanks!
There isn't much you can do about latency itself, aside from assigning servers dynamically based on the player's actual location.
Packet loss can be mitigated though, if that's what you're experiencing. This is usually done by $$anonymous$$imizing what is contained in each packet to ensure that you're using as much of it as you can. So, if you're sending an int
for something like damage
, then you're wasting a fair bit of space unless your damage really does range from -2,147,483,648 to 2,147,483,647.
Thanks for comment! I'll look into what I can reduce with it!
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
send data from client to local server 0 Answers
Controlling a network game? 0 Answers
Unity NetworkTransformChild - Syncing the Child of a Child 0 Answers