Play Directional Animations from Code ~ Making a Resource Gathering Game in Unity 2022 ~ PART 5 @ChrisTutorialsYT
Play Directional Animations from Code ~ Making a Resource Gathering Game in Unity 2022 ~ PART 5  @ChrisTutorialsYT
Uploaded February 2023 | Updated September 2026, 2 weeks ago
As an alternative to blend trees for the sake of animating the tools for the character later on, I show how to play directional animations from code by creating an animations set that can decide which direction to return based on a facing input direction.

Gatherer's Exterior Pack Download
Itch.io ➣ chris-tutorials.itch.io/gatherers-exterior-pack

Ko-fi Links
Full Project & Assets ➣ ko-fi.com/s/5063a0d7ad
Scripts Only ➣ ko-fi.com/s/f025cef198

Patreon Links
Full Project & Assets ➣ patreon.com/posts/67997091
Scripts Only ➣ patreon.com/posts/79943145

➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
patreon.com/christutorials
https://linktr.ee/ChrisTutorials
chris-tutorials.itch.io

◢ Chris Recommends ◥
Master Skills with Skillshare Video Courses ►► skillshare.com/r/user/christutorials?gr_tch_ref=on
Save Money Shopping Online with Honey Extension ►► joinhoney.com/ref/qd04c25

00:00 - What to Expect
00:17 - Camera Background
00:41 - PlayMode Settings
01:41 - Unity Animator Component
04:27 - Creating Animation Clips
06:28 - Directional Animation Set ScriptableObject
12:10 - Setting Animation from PlayerController Script
Play Directional Animations from Code ~ Making a Resource Gathering Game in Unity 2022 ~ PART 5Setup Tilesets, Top Down Y Sorting, and Cinemachine Follow Camera ~ Resource Gathering Game ~ Part 8Import Tiled Maps into Godot 4 with Tile Map LayersFade Out, Fade In & Scene Switching Tutorial ~ Godot 4 for BeginnersAnimated Tiles Setup ~ Floating Raft - Godot 4 Resource Gathering TutorialMaking a Knight Enemy Move - 2D Platformer Crash Course in Unity 2022 (Part 13)Making a Resource Gathering RPG in Godot 4 ~ GameDev Tutorial Series IntroMaking a Axe Tool Interact with a Tree ~ Making a Resource Gathering RPG in Unity 2022 ~ Part 10Installing Cinemachine, InputSystem, and PlayMode Settings - 2D Platformer Crash Course (Part 3)Particle Explosion Effect on Resource Node Depletion - Godot 4 TutorialHow to Make Characters Take Damage - 2D Platformer Crash Course in Unity 2022 (Part 15)How to Make a Flying Enemy - 2D Platformer Crash Course in Unity 2022 (Part 22)
Chris Tutorials |

Play Directional Animations from Code ~ Making a Resource Gathering Game in Unity 2022 ~ PART 5

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER