Hierarchical state machines and dependency injection are two great techniques to know about when building your state machines in Godot. Let's look at how these techniques can be used to build upon the simpler implementation from the previous video on state machines and make something more flexible and reusable.
Intro: 00:00
Hierarchical state machines: 01:46
Dependency injection: 03:36
More options: 05:22
Source code: https://github.com/theshaggydev/the-s...
Text version of this video: https://shaggydev.com/2022/02/13/adva...
Video on FuncRefs: • Callbacks and function references in Godot...
Watch video Building a more advanced state machine in Godot 3 online, duration hours minute second in high quality that is uploaded to the channel The Shaggy Dev 13 February 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 47,880 times and liked it 1.4 thousand visitors.