I need to know if a sprite is within range (circle or square doesn't matter) around the player. If the sprite is, let's say, 100 blocks away from the player, I will disable it. This wouldn't be too much of an issue, just compare positions and you're done. However, my game is a tile based game and I want the world to be as big as possible, which will result in millions of sprites.
I could also add a overlapcicle2D, but the problem is this these objects can't have a collider, since they could be walkable.
So how can I check if the millions of sprites are in range of the player, without lowering performance?
Alternatively, I could add occlusion culling. But how do you do this with sprites?