Getting a character to move in your game is only one part of the recipe, but without animations... Well ok, there are games without animations, but since you are here, I assume you want animations. So: ...but without animations you are missing the second part.
In this tutorial we will build up on the state from the previous video linked below. Of course you can also use the content of this video for any other movement methods. By using a sprite sheet which contains several animations we will add a relatively unspectacular idle animation and a proper walk animation with Untitys default way for handling 2D animations.
Relevant Videos:
Make Your Character Move: • The New Way for Making...
Customizing Unity: • How to Customize Unity...
Tilemaps 2021: • Creating Tilemaps For ...
Download the Character here: opengameart.org/content/16x18...
=========
💬 DISCORD: / discord
❤ SUPPORT ME: / velvary
🎮 PLAY MY GAMES: velvary.itch.io/
🦜 TWITTER: / velvary1
💡 ...MORE TUTORIALS: / velvarygames
=========
Timestamps:
00:00 - Intro
00:32 - Adding the Animator Controller
02:00 - Opening the Animation Window
02:30 - How to Create an Animation
05:10 - The First Animation: Idle Down
06:04 - Creating the Other Idle Animations
06:44 - Setting Up the Idle Blend Tree
10:12 - Updating the Animator Variables
12:47 - "IsWalking" Animator Variable
14:48 - Creating the First Walk Animation
17:30 - Adding the Other Three Animations
18:05 - The Walk Blend Tree
21:45 - Thank you for watching :)
Негізгі бет How To Animate Your 2D Character in Unity
Пікірлер: 31