Advanced state machine techniques in Godot 4

Опубликовано: 28 Ноябрь 2023
на канале: The Shaggy Dev
37,526
1.4k

Here's a look at some more advanced techniques you can implement in your state machine when you need something a bit more complex than the starter state machine I showed in the last video. We'll look at three techniques worth understanding for building out the state machine you need and address a few common pain points people run into when programming a state machine.


Text version with code snippets: https://shaggydev.com/2023/11/28/godo...

Sample project: https://github.com/theshaggydev/the-s...

00:00 Dependency injection
02:50 Composition
07:15 Hierarchical state machines
09:25 How to do multiple things at once
10:30 Sharing data between states


Смотрите видео Advanced state machine techniques in Godot 4 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Shaggy Dev 28 Ноябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 37,526 раз и оно понравилось 1.4 тысяч людям.