In this video, we'll discuss finite state machines and how they can be used to write cleaner, more maintainable, and more expandable code for your games. We'll look at the naive way of managing state in a game, how we can improve upon that method slightly with enumerators, and finally how to build a robust system using the state pattern.
Intro: 00:00
Life without state machines: 00:54
Finite state machines: 02:38
Using enumerators: 04:55
The state pattern: 06:09
Final thoughts and where to go next: 10:28
Game Programming Patterns: https://gameprogrammingpatterns.com/s...
Video transcript: https://shaggydev.com/2021/11/01/stat...
Artwork by Kenney: https://www.kenney.nl/
Смотрите видео An introduction to finite state machines and the state pattern for game development онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Shaggy Dev 01 Ноябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 60,835 раз и оно понравилось 2.5 тысяч людям.