Chapter 9. Getting Ready to Fight
One of the hardest parts of any game development is engagement. This centers on how you can keep the players playing the game, how the game balances out to keep them challenged, and how to deliver enough varied content so they feel they are always experiencing something new.
This chapter will start out by laying the main foundation for the battle system of our game. We will create the Head-Up Display (HUD) as well as design the overall logic of the battle system.
The following topics will be covered in this chapter:
- Creating a state manager to handle the logic behind a turn-based battle system
- Working with Mecanim in the code
- Exploring RPG UIs
- Creating the game's HUD
Setting up our battle state manager
The most unique ...
Get Mastering Unity 2D Game Development - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.