Building Custom Enemies
Rules of the Exercise
1Create a custom ground and flying enemy that utilizes pathfinding and waypoints
2Provide a visual indication of enemy health with UI and particle systems
3Include a death state either in the form of an animation or particle effect
In the "Developing a Tower Defense Game" course we created a series of enemies. Two were ground based, and one was a flying drone. Each utilized their own navigation system. Now it's your turn to get creative by creating two new enemies. One will be utilizing the pathfinding system, the other using the waypoints.
Creating Two Enemies
In the tower defense game we have two ground based enemies and one flying enemy. You goal is to create two more enemies for a total of 5 enemies that will be spawned in. One will be a ground based enemy the other flying. This process should be relatively easy but will allow you the freedom to create your own custom models for these enemy characters. They will operate just like the other enemies, so ground based enemies will use a navmeshagent to navigate, and the flying enemy will use the custom waypoint system. These enemies must be detected by the weapons included. Both enemies will be spawned in just like the others and share similarities including a health ring, damage smoke system, and lastly an explosion sequence either in the form of an animation, particle system, or both. Lets see what you can create!
Below is the finished example of how I created my enemies and implemented them into the game