Controlling Walk, Run, Idle Animations - 2D Platformer Crash Course in Unity 2022 (Part 8)
Chris' Tutorials
Create walk, run, and idle animations and set them up in the Animator state machine to have transitions that go between each other when boolean animator properties are set to true or false as conditions. Also, I show how to flip a game object using local scale to also effect any other components like colliders on that game object to flip as well!
Reference Project Patreon Download ➣ https://www.patreon.com/posts/2d-platformer-73894085 2D Crash Course Platformer Tutorial Playlist ➣ https://www.youtube.com/playlist?list=PLyH-qXFkNSxmDU8ddeslEAtnXIDRLPd_V Play the Project in Web Browser ➣ https://chris-tutorials.itch.io/platformer-crash-course-reference-project
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://www.patreon.com/christutorials https://chris-tutorials.itch.io/ https://linktr.ee/ChrisTutorials
◢ Chris Recommends ◥ Master Skills with Skillshare Video Courses ►► https://www.skillshare.com/r/user/christutorials?gr_tch_ref=on Save Money Shopping Online with Honey Extension ►► https://joinhoney.com/ref/qd04c25
00:00 - What to Expect 00:26 - Opening Animator and Animation Windows 01:56 - Creating Walk Animation Clip 04:42 - Walk Animation 05:17 - Run Animation 05:41 - Transitioning Between Animations 11:49 - Controlling Animation Parameters from Player Controller Script 17:26 - Adding Functions to Call to Run and Move Input Events 19:31 - Run Speed and Setting Current Speed 21:57 - Flipping Direction with Local Scale 26:07 - Why Flip Scale and not Sprite? 27:17 - Wrapup ... https://www.youtube.com/watch?v=sFcyg-0brZA
97080655 Bytes