Among Us Idle And Run Animation Unity Software Tutorial | Top Down Movement In 2D Unity Game @AlexanderZotov
Among Us Idle And Run Animation Unity Software Tutorial | Top Down Movement In 2D Unity Game  @AlexanderZotov
Uploaded October 2020 | Updated September 2026, 3 weeks ago
#AmongUs #UnityAnimation #UnityIdleRun
Episode 1. Among Us Idle And Run Animation Unity Software Tutorial

I play games here - twitch.tv/zzotoff
You are very welcome :-)

Following Videos

Episode 2. Give Among Us A Weapon Pistol & Shotgun youtu.be/nDAZIKNx0wg

Episode 3. Fire Pistol And Shotgun Switching Them Back And Forth youtu.be/vmbZsbdqza0

Episode 4. Create Enemy Run Animation youtu.be/9OV_M5PpjPY

Episode 5. Make Enemy Follow The Player youtu.be/jdAoLlCn2e8

Episode 6. Spawn Enemies At Random Position With Random Color In Among Us 2D Shooter Clone Made With Unity youtu.be/C3VExnf4kmY

Episode 7. Kill Or Destroy An Enemy With A Bullet. youtu.be/X7-1Mr9w6Sk

Character here drive.google.com/file/d/10CKKRnmksCMypEjQwk_Rvq9Re47b78ed/view?usp=sharing

Hi!
In this short video I show you a very simple way to animate your character in a Top down game like Among Us.
Here I have an empty project and a blue character sprite which you can get by the link in the description by the way. First of all I need to slice it to separate images. Sprite mode to Multiple and hit apply. Now I go to the sprite editor. Nice guy. I go to Slice menu. I’m going to slice it in automatic mode. So I select it and hit slice button. My sprite sheet is sliced now. But here is one wrong piece of picture. I delete it. And expand this slice down to the bottom. Make sure the right edge of the slice is near enough to the sprite. That’s good enough. Hit apply to apply the changes. One important thing about sprites pivot points. To make animation go correctly I need to place this pivot point at the bottom of the sprites. Just like so. Same for the rest of the sprites. Another important thing here is to make sure that pivot point is positioned at the same place of each sprite. If those pivot points don’t match then the animation will jitter. You will not have this problem if your sprites have the same width. But as you can see sprite number four and sprite number five have different widths. That means that their pivot point should be shifted. So I shift those points a bit to the left. We will see if its enough later when animation is created. Hit apply to save the changes. Here are my sprites. I take one and put it to the scene to create a character. Scale it down a bit. It’s time to create animations.

Make sure the character is selected and go to animation window. Click create new animation button. I save it into animation folder and name this first animation as IdleAnim. Animation name is important because this name will be used in the script. Ok. Take first sprite and D&D it to the timeline. Idle animation is done. Create new animation clip. THis will be Run Animation. Name is important as well. Here I have to create a correct sequence of the sprites. I already know that sequence so I just drag corresponding sprites into timeline in certain order. Like this. Hit play to check it out. If you think your animation plays to fast you can slow it down by reducing sample rate here. Don’t forget to hit enter. Cool. Now back to pivot point. As you can notice the third sprite in sequence is shifted to the left a bit. That’s because of the incorrect pivot point position of this particular sprite. Thankfully we can easily fix this. Select the sprite sheet, go to the sprite editor, select the sprite we need to fix and shift the pivot point a bit in X axis. Hit apply. Check it out. Almost perfect now. Animations are ready.

Now it’s time to check the script that will make this all work. It's a pretty simple one. Here are some variables which are initialized in the start method. Local scale will help us to flip character left and right. In Update we read input from arrow buttons and perform animation control. In fixed update we pass a velocity to rigidbody depending on our input. And in Late update we face the character left or right depending on where he goes altering his local scale by X axis. In animation control method we play corresponding animations depending on velocity of the character. In X and Y velocity is zero the Idle animation is played. If either X or Y velocity isn’t zero then run animation is played. That’s the script. Script goes to character. I hit play to see how it works and immediately get a bunch of errors which means that I forgot to add a rigidbody 2d component to the character. I do so and set gravity scale to zero so my character will not fall down. Take two. Works great! Hope you like this tutorial. Thank you for watching and see you next time.
Among Us Idle And Run Animation Unity Software Tutorial | Top Down Movement In 2D Unity GameUnity 2D Tutorial How To Create Simple Board Game With Dice Rolling And Turn Based Movement FeaturesUnity Tutorial How To Create Scrolling Background That Follows Player In Android Jetpack Clone GameGyroscope Parallax Effect For 2D Android Or iOS Game Made With Unity SoftwareSimple Way To Kill Or Destroy An Enemy With A Bullet In 2D Top Down Shooter Game Clone Like Among UsMake a simple puzzle game about door, ball and maze with Unity Software At Live StreamUnity Tutorial How To Change Gameobjects Sprite In Sprite Renderer Component. Simple C# Script.How To Make Simple Educational Puzzle Game For Kids For Android Mobile Platform With Unity SoftwareHow To Open And Close 3D Door And 3D Drawer With Mouse Click In Unity Game | Simple TutorialHow To Rotate Turret Or Barrel By Swipe And Fire Bullet By Tap In Mobile Unity Game | Touch ControlsMake Game Object Visible And Invisible With Finger Touch Or Mouse Click In Unity Software GameHow To Fire Bullet Or Projectile With Tap And Rotate Game Object With Swipe | 3D Android Mobile Game
Alexander Zotov |

Among Us Idle And Run Animation Unity Software Tutorial | Top Down Movement In 2D Unity Game

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER