Important Notice:

On July 31st, 2017 the Digital-Tutors library will be retired along with Digital-Tutors concurrent licensing. Effective August 1, 2017 any active group plans will be redirected to www.pluralsight.com. Each group plan will receive one individual user license on Pluralsight for each active Digital-Tutors license. Please contact your account representative for any additional questions.
Multiphase Boss Battle in Unity
See Details
Released Oct 21, 2013
Joshua Kinney

Pluralsight

Joshua Kinney
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.
Introduction and project overview
1

Introduction and project overview

 
01:00
Splitting the animations
2

Splitting the animations

 
11:35
Testing the animations in the scene
3

Testing the animations in the scene

 
11:29
Setting up the functionality
4

Setting up the functionality

 
12:19
Setting up the detection system
5

Setting up the detection system

 
13:02
Setting up the field of view
6

Setting up the field of view

 
15:08
Setting up the turning animation
7

Setting up the turning animation

 
11:48
Creating an animation helper class
8

Creating an animation helper class

 
11:00
Finishing the boss animation script
9

Finishing the boss animation script

 
13:50
Scripting the intimidation state
10

Scripting the intimidation state

 
11:49
Scripting the charging state
11

Scripting the charging state

 
10:46
Using curves to help our scripts
12

Using curves to help our scripts

 
07:03
Scripting the stunned state
13

Scripting the stunned state

 
17:09
Tightening up the boss behavior
14

Tightening up the boss behavior

 
10:14
Enabling and disabling the damage colliders
15

Enabling and disabling the damage colliders

 
15:54
Applying damage to the boss
16

Applying damage to the boss

 
09:00