Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

That's a good solution. I assume items are already using the observer pattern so there's only one observer looking over a k-d tree of item locations rather than each item periodically checking if the mouse or player is close.