Original Post
So I've been trying to make a 2D top-down shoot-em-up game where numerous enemies chase a single player (pretty much like a zombie game), but I do not want to overwhelm the player solely through number especially due to performance issues (pathfinding, collision detection, etc.). Currently the limit is 100, and I want to find a way to give the player a challenge. After numerous amounts of testing, I find it easy to create a "rape train", where there is a whole crowd of enemies following the player behind with the player picking them off while running. I also want the AI to be "flexible" enough to give them a challenge in big maps. I do not want a "hacky" way to do this, including by making the enemies go faster or shrinking the maps to lessen running space. I thought up of having some enemies predict player movement and blocking their path or removing enemies never seen by the player for a while and spawning new ones around where the player is going. I am working on the first idea with struggle; I'll probably post on the math section for a last resort. Any other ideas?