Client loading entities
Members - Reputation: 1482
Posted 12 June 2014 - 12:58 PM
Crossbones+ - Reputation: 14737
Posted 12 June 2014 - 03:18 PM
Moderators - Reputation: 9553
Posted 12 June 2014 - 04:43 PM
you don't want to waste network bandwidth by constantly sending everyone "create X entity" messages when they already have those entities loaded
The google term you want is "interest management."
In general, this is a server-side mechanism that in some cases take almost as much work as the server-side simulation itself (because it, too, is n-squared in complexity.)
Crossbones+ - Reputation: 2247
Posted 14 June 2014 - 06:14 AM
I kind of figured that would be the answer but wanted to check anyway. I found this article that seems to go over the topic nicely, thanks to that search term, though I'm not sure why it claims to be an O(1) algorithm.
I wouldn't use that archived one. Here's a recent one. Basic idea is there for interest management.