Simple play icon Course
Skills Expanded

Unity Mobile Game Development: Character Scripting

by Chris Glick

In this tutorial, we will learn how to script our character animations to work with our controls and overall game. Software required: Unity 3.4.

What you'll learn

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. Software required: Unity 3.4.

About the author

Along with creating and recording training, he also used to manage the support team and work closely with the production development team at Digital-Tutors, now a Pluralsight company. He began his career working freelance and quickly realized that he wanted to find a company where he could use his talents to help people succeed in the CG industry. Chris has likely watched more Pluralsight creative training than anyone on the planet, and its evidenced by his Einstein-sized brain and encyclopedic... more

Ready to upskill? Get started