Tag Info

New answers tagged


Divide your game world into rectangular chunks which are about half the size of the players screen. Keep track of which players are in which chunk. You can easily do that in the code which handles player movement. When a tile changes, inform only those players which are in this or in an adjacent chunk. When a player moves to a new chunk, give them an ...

Top 50 recent answers are included