Open LiamFeasey opened 2 years ago
Victor made the first iteration of this.
I fixed the bugs it had and now it works.
A revised version of this system is being looked at.
We want it to be able to handle multiple spawn points and asynchronous spawning.
I've changed the system used to respawn the enemies, works a lot better and simpler than the other way. There's a bug where the enemy will spawn while in the walking animation. Also I came across a bug where if you are in the radius of the enemy when it spawns, it will walk to your last position and just stand there. We can create more enemies by copying and pasting the enemy respawn point in the hierarchy and placing them throughout the map, it might not be the most efficient way of doing it but it works well I believe.
Make an enemy spawner that respawns enemies when they die.