Summary
In this chapter, we added some polish to the shooting and player character by introducing URP post-processing, Shader Graph, 2D lights, and the Trail Renderer effect. Phew! Having these features out of the box with Unity allows us to add visual quality to our games with little effort.
We continued by adding some configurable enemy characters to the game by creating two enemy Prefabs and assigning unique configuration variables to each via the ScriptableObject assets. The enemy objects were then given behavior by implementing the State Pattern to introduce basic behavior with an FSM and evaluate conditions for transitioning between states.
In the next chapter, we’ll complete the adventure game by adding health and damage systems for enemies that we’ll spawn into the level, implement the attack mechanics with additional weapon types, create a simple quest system for collecting key objects for solving the entryway puzzle, and introduce a new event system for...