I am making a minigame inside my game, where you are attacked by enemies who spawn randomly on the layout at specific spawn points. Now I tried two different solutions:
1. (Yellow solution) I let the system pick a spawn point randomly to spawn the enemy. Problem with that was, that the enemies sometimes spawn so close to you, you actually have no time to react an get hit. Not fun...
2. (green solution) I always pick the spawn point furthest away from the player. The player must collect things on the layout anyway and therefore will move. Enemies mmight just spawn far away from him and thanks to their other behaviors they eventually reach player and attack. Problem is, too many spawn at the same point, forming clusters, game gets too easy, since they sort of attack in waves that are easy to handle.
I would like enemies to spawn on all the possible spawn points except for the closest to the player.
... but i am too dumb for that yet. Does someone see a way to insert that?