Adding Spider Walking Animation

2D Mobile Game

Objective: add a walk animation to the spider

First of all select the Walk animation sprite and set the sprite mode to Multiple. Then hit apply and select sprite editor.

Here, select slice and grid by cell size then give the proper pixel size for your sprite which in this case is 256 x 256 then hit slice and select apply and your sprite is ready for animation.

Then with the sprite in hierarchy selected, open the animation tab(ctrl + 6) and Select the drop down below preview and select create new clip. Give it a name Walk and store in your desired location.

Now, select the red button beside preview for recording and shift select the first and last frame of your animation sprite to select all the sprite from first to last and then drag those sprite in the animation panel.

To change the sample rate, select the three dotted points beside the animation time, select set sample rate and select the one you need.

And this is the final result.

--

--

--

Unity Developer

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

Recommended from Medium

Deploy Postgres in Horizontally Scalable Architecture using Kubernetes, Docker, and Kafka on IBM…

The power of celebration

Segregation of responsibilities with the Single Responsibility Principle

Use ViewStub to Lazy Load and Make your Users Happy.

Deciding The Development Cost For The E-Scooter Application

That One Math Thing You Need To Understand Before Getting Into Cryptography —Factorisation

Solutions Architect Tips — The 5 Types of Architecture Diagrams

Design on paper

Jenkins for Node.js App on AWS EC2 Part 3: Jenkins — Node.js App Integration

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
Niraj Karki

Niraj Karki

Unity Developer

More from Medium

Command Pattern in Unity

Creating Elevator in Unity — Part 3: Moving Elevator.

Loading Scenes In Unity

Level Design in Unity 3D Part 6: Colliders