Multiphase Boss Battle in Unity
In this series of Unity tutorials, we will learn how to create a multi-phase boss battle for a first person shooter. Software required: Unity 4.2.
What you'll learn
In this series of Unity tutorials, we will learn how to create a multi-phase boss battle for a first person shooter. We will start out by learning how to set up our animated game boss for use with Mecanim in Unity. We'll learn how to properly import our boss's model, rig and animations. From there, we'll begin assembling the colliders needed to take and receive damage from the player. Then we'll jump into bringing our boss to life with scripting. We'll begin scripting the boss detection system that will be based on sight. Then we'll begin scripting the different states of the boss. Once we have the major framework of the boss's behavior, we'll begin tightening up the overall functionality by testing for any noticeable gaps in our logic. Then we'll wrap up the training by creating the boss health script that will bring the boss battle to an end. Software required: Unity 4.2.
Table of contents
- Splitting the Animations 12m
- Testing the Animations in the Scene 11m
- Setting up the Functionality 12m
- Setting up the Detection System 13m
- Setting up the Field of View 15m
- Setting up the Turning Animation 12m
- Creating an Animation Helper Class 11m
- Finishing the Boss Animation Script 14m
- Scripting the Intimidation State 12m
- Scripting the Charging State 11m
- Using Curves to Help Our Scripts 7m
- Scripting the Stunned State 17m
- Tightening up the Boss Behavior 10m
- Enabling and Disabling the Damage Colliders 16m
- Applying Damage to the Boss 9m