Hacker News new | ask | show | jobs
by bullen 1784 days ago
Do those 1000 send to all 1000 or are those 50nm squared partitioned so only players in a certain range see each other?
1 comments

In general, we send each player all the planes that their in-game map could possibly show (which is usually something like 140 statute miles by 140 statute miles).

We could one day be smarter about this and only send you everything if your map is actually open, and otherwise limit it based on your field of view. That hasn't been a priority yet, though.

Does X-Plane feature projectiles at all (guns, missiles)? If so, do those have to be sent over the network to deal with collisions with laggy hit boxes and such?
afaik threads in erlang are processes so where do you store and how do you share the players positions between cores?