Client loading entities,
Members - Reputation: 1486
Posted 12 June 2014 - 12:58 PM
Crossbones+ - Reputation: 16007
Posted 12 June 2014 - 03:18 PM
Game Developer, C++ Geek, Dragon Slayer - http://seanmiddleditch.com
C++ SG14 "Games & Low Latency" - Co-chair - public forums
Wargaming Seattle - Lead Server Engineer - We're hiring!
Moderators - Reputation: 10189
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: 2263
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.