ShortN0te,

You could use things like ray tracing to determine if one player can be seen by another on the serverside and only send packages when they can see.

But to resource heavy to do that.

Edit: Thinking about it, you simply have to render the whole map with all players server side and based on that determine which players can see each other and based on that send the information to the clients.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • gaming@lemmy.ml
  • fightinggames
  • All magazines