Home » 2012»May»2 » Digital - Tutors - Unity Mobile Game Development: Character Scripting
11:36
Digital - Tutors - Unity Mobile Game Development: Character Scripting
Digital - Tutors - Unity Mobile Game Development: Character Scripting
Duration: 1 hrs. 8 min. Release Date: March 1, 2012 Author: Chris Glick Required Software: Unity 3.4
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.