Hello.
I managed to write my own "reliable UDP" network protocol, so my basic game already works ( a bomberman clone ). What I want now is to have monsters, or enemies in general, on the map. Some of them may be passive ( just walking around ) whereas others may follow a certain player when within range.
How exactly are those kind of enemies handled?
Clients send move requests and the server answers with the position, is the server also constantly telling the clients the new positions of other enemies/npcs? I wonder how this is done in games like GTA, where there are a lot of npcs walking around on the map.
Maybe there is a cheaper ( regarding network traffic ) solution instead of just telling the clients the new positions as with normal players ( the other clients )?
Thanks in advance!