PlaceholderGames / 2122-yr2-team-2

CS2S561 2021/22 Team 2
0 stars 0 forks source link

Enemy Spawner #47

Open LiamFeasey opened 2 years ago

LiamFeasey commented 2 years ago

Make an enemy spawner that respawns enemies when they die.

LiamFeasey commented 2 years ago

Victor made the first iteration of this.

I fixed the bugs it had and now it works.

LiamFeasey commented 2 years ago

A revised version of this system is being looked at.

We want it to be able to handle multiple spawn points and asynchronous spawning.

30001606VA commented 2 years ago

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.