Control Player Character with LimboAI Hierarchical State Machine ~ Godot 4.4 Tutorial

16 days ago
11

Adding a Hierarchical State Machine (HSM) to break player logic into separate pieces as it goes between different states and make it more manageable in the long run.

Series Project Files
Ko-fi ➣ https://ko-fi.com/post/Project-Files-Control-Character-States-with-Limb-P5P118FNW8
Patreon ➣ https://www.patreon.com/posts/119247384

Grid Building Plugin ➣ https://linktr.ee/gridbuilder
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops

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

Art Assets
Treasure Hunters by Pixel Frog
https://pixelfrog-assets.itch.io/treasure-hunters

Timestamps
0:00 What to Expect
0:54 Install Limbo AI 4.3
2:06 Add Limbo HSM
3:11 Idle State
3:49 Initialize State Machine
5:30 State Label for Debug
9:04 Playing Animations on Entering States
12:33 Move State & Adding Transitions
14:50 Player Input as Seperate Script
21:51 Static Blackboard BBNames class
24:04 Move on Idle and Move States
31:20 Add Transitions and State Dictionary for LimboHSM
33:23 Removing Move and Direction Logic from Player CharacterBody2D
34:47 Testing State Transitions

Loading comments...