Creating a battle system is such a big endeavor, so we split ours into two chapters. In the previous chapter, we set up the general logic of the turn-based system and designed the HUD to allow our player to select an attack, but our player cannot actually attack any of the enemies yet and they do not attack her. Let's allow our player and our enemies to fight each other.
The following topics will be covered in this chapter:
What it means to battle
Planning for longevity
Enhancing the enemy AI
Particle systems in 2D