Reader small image

You're reading from  Unity 5.x Animation Cookbook

Product typeBook
Published inMay 2016
Reading LevelExpert
PublisherPackt
ISBN-139781785883910
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Maciej Szczesnik
Maciej Szczesnik
author image
Maciej Szczesnik

Not interested. Too busy with current game project. Source: Linkedin.
Read more about Maciej Szczesnik

Right arrow

Creating a 2D sprite doll animation with the Animation View


In this recipe, we will use a different approach: a 2D sprite doll animation. It is based on creating a 2D doll character with all its limbs as separate sprites and then animating those sprites using Unity's Hierarchy and the Animation View.

Getting ready

To create a 2D doll animation, first you need to prepare your character sprite sheet with all the limbs as separate sprites. See the following screenshot for reference:

You can also use the example project, and go to the Chapter 03 2D and user interface animation\Recipe 03 Creating a 2d sprite doll animation with the animation view directory. You can find the Example.unity scene there, with a Warrior character already animated in the scene's Hierarchy. In the Animation directory, you can find a Warrior.png sprite sheet with all the body parts of the character.

How to do it...

To create a 2D sprite doll style animation, follow these steps:

  1. Import your character sprite sheet with all the...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Unity 5.x Animation Cookbook
Published in: May 2016Publisher: PacktISBN-13: 9781785883910

Author (1)

author image
Maciej Szczesnik

Not interested. Too busy with current game project. Source: Linkedin.
Read more about Maciej Szczesnik