Skip to main content
deleted 5 characters in body
Source Link

I'm new to game dev and I'm learning about quadtrees for planet rendering. I'm curious on how do I separate player state with quadtrees. For example I have a ship A that's getting close to a planet, and the quadtrees for that planet are showing the correct levels and resolution for player A the closer he gets. How would I keep player B who is behind player from seeing the quadtrees activated by player A?

Player A and B are both on different computersthe same server communicating by WebSockets

I'm new to game dev and I'm learning about quadtrees for planet rendering. I'm curious on how do I separate player state with quadtrees. For example I have a ship A that's getting close to a planet, and the quadtrees for that planet are showing the correct levels and resolution for player A the closer he gets. How would I keep player B who is behind player from seeing the quadtrees activated by player A?

Player A and B are both on different computers communicating by WebSockets

I'm new to game dev and I'm learning about quadtrees for planet rendering. I'm curious on how do I separate player state with quadtrees. For example I have a ship A that's getting close to a planet, and the quadtrees for that planet are showing the correct levels and resolution for player A the closer he gets. How would I keep player B who is behind player from seeing the quadtrees activated by player A?

Player A and B are both on the same server communicating by WebSockets

added 79 characters in body
Source Link

I'm new to game dev and I'm learning about quadtrees for planet rendering. I'm curious on how do I separate player state with quadtrees. For example I have a ship A that's getting close to a planet, and the quadtrees for that planet are showing the correct levels and resolution for player A the closer he gets. How would I keep player B who is behind player from seeing the quadtrees activated by player A?

Player A and B are both on different computers communicating by WebSockets

I'm new to game dev and I'm learning about quadtrees for planet rendering. I'm curious on how do I separate player state with quadtrees. For example I have a ship A that's getting close to a planet, and the quadtrees for that planet are showing the correct levels and resolution for player A the closer he gets. How would I keep player B who is behind player from seeing the quadtrees activated by player A?

I'm new to game dev and I'm learning about quadtrees for planet rendering. I'm curious on how do I separate player state with quadtrees. For example I have a ship A that's getting close to a planet, and the quadtrees for that planet are showing the correct levels and resolution for player A the closer he gets. How would I keep player B who is behind player from seeing the quadtrees activated by player A?

Player A and B are both on different computers communicating by WebSockets

Source Link

How to separate player state on shared object?

I'm new to game dev and I'm learning about quadtrees for planet rendering. I'm curious on how do I separate player state with quadtrees. For example I have a ship A that's getting close to a planet, and the quadtrees for that planet are showing the correct levels and resolution for player A the closer he gets. How would I keep player B who is behind player from seeing the quadtrees activated by player A?