Animating Sprites in Unity

Animating sprites

Objective: Create a looping animation for our triple shot power-up.

With the game object selected, go to the Window tab in the top left of the Unity editor and bring up the animation window. When the Animation window opens up, dock it next to the Game/console views.

Once you open up the Animation Window, click create and create a new Animations folder for your project if you don’t have one. Select that folder and name the file after whatever you are trying to animate, followed by _anim for clarity.

Ex. “Triple_Shot_Powerup_anim

Click Create
Create an Animations folder
Create (File Name_anim) and save

Then, select the first frame of the animation while holding shift, select the last frame of the animation to select everything, and drag all the frames into the Animation window’s dope sheet.

drag in the full animation

Start recording, play the animation all the way through, and stop the recording. Unity will loop the sprite animation by default. If you only wanted the animation to play once, select the animation clip and toggle off the “Loop Time.”

toggle On/Off looping




Learning to become a unity game developer

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

Recommended from Medium

Inheritance and Composition

Comparison between Inheritance and Composition

Normalization in DBMS

How to resell an Eventbrite ticket

How to Measure DevOps Metrics

Heroku From the Perspective of a Cloud Architect

ACC 421 ACC421 Wk Discussions

Laravel Form Request Validations

Laravel Form Request Validations

Journey to the IO Monad (Part 3.1)

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
Tacoma Johnson

Tacoma Johnson

Learning to become a unity game developer

More from Medium

Making a Player move in Unity

Adding Reflection Probes within our Sci Fi Scene

Audio Tracks Using Timeline in Unity 2020

Animating Sprites in Unity