[gameprogrammer] Re: online server, propagating changes

Roger D Vargas wrote:
> Yes, I dont know the exact term to define it. What I need to do is the
> following:
> 
> if X starts walking:
>    notify all entities in visible range
> 
> Not just "walking", but any state change or action, like X starts
> attacking Y,  or changes armor, equips a new weapon, etc.

Sounds like what you want is a partitioning scheme so that you don't
have to notify *everyone* in the game of every event, just events that
might effect them.

Obviously, you also don't want to calculate who is in visual range of
whom.  I'm pretty sure it's partitioning schemes that you want to study.
-- 
 Matthew Weigel
 hacker
 unique@xxxxxxxxxxx

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: