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 frame-by-frame sprite animation with the Animation View


This recipe shows how to use the Animation View to create sprite animations from previously rendered (or hand drawn) frames.

Getting ready

To create a frame by frame sprite animation in Unity, you should first draw or render out the animation frames from a 3D package, combine them into a sprite sheet, and import the sprite sheet into Unity (see the Exporting a 2D sprite animation from a 3D package recipe). You can also download the provided example Unity project and go to Chapter 03 2D and user interface animation\Recipe 02 Creating a frame by frame sprite animation with the animation view directory. You will find a scene called Example.unity there, with a Coin game object that has been already animated. You can select it and go to WindowAnimation to see how the animation was prepared.

How to do it...

To create a frame by frame sprite animation in Unity, follow these steps:

  1. Select your sprite sheet asset in the Project View...
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