Make an Animation with Sprites- Game Dev Series 16

Objective: Make an animation to our triple shot powerup.

Previous: Feeling Like A Real Video Game!

Our powerup is great, except it looks dull.
In Unity, there is a strong system to create animation for 2D sprite. We can use it to our powerup.

To add an animation, we need to open the animation window by clicking the drop down menu of Window and select Animation> Animation.

Then drag the Triple_Shot_Powerup prefab into hierarchy, and click Create in Animation window while the prefab was selected. Then give a name to this animation.

Now you can see the animation timeline. To create an animation, we need to click the recording button, then import the animation sprites.

We can press the Play in animation window to check the animation.

Go to Inspector window and you will notice that there is a new component called Animator has been created automatically.

Don’t forget to override and delete!

You got a pretty unique animated powerup now.

--

--

--

A passionate gamer whose goal is to work in video game development.

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

Recommended from Medium

Hack The Box (HTB) — Sunday

Part 2 — A complete beginner’s guide to Computer Programming with Clojure: Installation.

Eight Must Have Non Technical Skills For Software Development

Getting Hired in Agile

WebApp development team structure: roles and responsibilities

Accelerating API Delivery

Footprinting and Reconnaissance using Linux OS

My experience and learnings from Internship at CutShort.

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
S.J. Jason Liu

S.J. Jason Liu

A passionate gamer whose goal is to work in video game development.

More from Medium

OnClick Event in Unity

Day 105: Working with Animation Events in Unity

Creating Elevator in Unity — Part 3: Moving Elevator.

How I used scriptable objects to build a powerup system