I am making a MMORPG game for a local competition, I have started working on the server and the problem that I am having is that I want a method to detect Other players that each player see, so that I can send info about players around them to the specific players.
First I thought of attaching a 2d circle object to the Player Object and doing a collision check for each and every player in the Data structure, but This will be very Performance taking, is there a suitable algorithm for this? Please Help me!