A quick guide to animating a sprite in Unity

This article is going to show you how to animate a sprite. We will not be creating the images/frames for your animation, so moving on, we are assuming you have this already organized and just need to link them all together to animate them.

How to create an animator and animation

Open your Animation window and while you have the object you want to animate selected click the create button. This will prompt you to name and save your animation. We are going to name ours “Tripleshot_anim”

Unity has now automatically created and added an animator controller to our object.

Next, we want to click record and slide all of our frames into the animation window. We can adjust the frame rate if the animation plays too quickly and then stop recording to save.

Our sprite is now animated.

That's all for now.

--

--

--

Unity developer with a love of learning all things programming.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Fun with Code Signing in Xcode 8

Power Up Your Cloud Computing With Golang

Get a premium Customer Experience in your store using the Tikkie API

Hibernate : Mapping Enum to the database column

Multimodal Language Acquisition Tool for People in the Autism Spectrum Disorder (ASD)

ANTLR + Scala: An introduction to Metaprogramming

Caveats in C++ #2: Implicit conversions: size is not an int!

Why (I think) white board interviews matter

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Luke Duckett

Luke Duckett

Unity developer with a love of learning all things programming.

More from Medium

Converting from 3D to 2D in Unity

How to Build an Interactive Security Camera System in Unity

Manipulating game objects in Unity

Layering Materials In Unity