Let's take a look at how we can implement the state pattern in Godot. Using a simple platformer project, I'll show the basic technique using enumerators and a more fully featured state machine that uses Godot's node system to provide extra conveniences over a pure code solution.
Intro: 00:00
The enumerator method: 00:53
Technique overview: 01:45
Player and state manager breakdown: 03:33
Individual states: 05:40
Conclusion and running the project: 06:58
Theory video: • An introduction to finite state machi...
Part three of this series: • Building a more advanced state machin...
Source code: https://github.com/theshaggydev/the-s...
Transcript: https://shaggydev.com/2021/11/15/stat...
Смотрите видео Implementing the state pattern in Godot 3 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал The Shaggy Dev 15 Ноябрь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 32,012 раз и оно понравилось 1.1 тысяч посетителям.