Important Notice:

The Digital-Tutors site will soon be retired and your access will be turned off - but don’t worry, you can still enjoy all your favorite Digital-Tutors content on Pluralsight (plus thousands of additional courses, skill assessments, paths and more). You can log in to Pluralsight with your Digital-Tutors credentials, as well as update your password at any time on Pluralsight. Please contact us with questions or concerns: support@pluralsight.com.
Listening for the GUI notifications
See Details
Chris Glick

Pluralsight

Chris Glick
In this tutorial we will learn how to script our character animations to work with our controls and overall game. To begin we need to bake our animations into separate animation clips and loop them correctly. Next we'll connect the left joystick position into our script to drive the base character movement animation. From there we will use If Else conditionals to drive which animation plays. Next we'll layer other animations together to easily have our character run while getting hit or swapping weapons. We'll finish our character animation script by freezing the animations while paused and correctly dealing with a game over condition.
Introduction and project overview
1

Introduction and project overview

 
00:59
Importing our character model and splitting the animations
2

Importing our character model and splitting the animations

 
06:54
Fixing the animation loop twitching and transferring scripts
3

Fixing the animation loop twitching and transferring scripts

 
06:53
Getting and mapping our Left Joystick position directions
4

Getting and mapping our Left Joystick position directions

 
05:54
Crossfading the animations based on the joystick position
5

Crossfading the animations based on the joystick position

 
05:44
Coding conditionals for the rest of our movement animations
6

Coding conditionals for the rest of our movement animations

 
08:55
Listening for the GUI notifications
7

Listening for the GUI notifications

 
07:51
Putting our animations on layers and adding blending
8

Putting our animations on layers and adding blending

 
07:31
Quickly crossfading our other animations for playback
9

Quickly crossfading our other animations for playback

 
08:11
Freezing all of our animations in certain states
10

Freezing all of our animations in certain states

 
03:00
Stopping all animations and playing the death animation
11

Stopping all animations and playing the death animation

 
06:31