У нас вы можете посмотреть бесплатно I Had No Idea Godot's MATCH Was So Powerful! или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Recently I had to use Godot's Match feature and I was absolutely amazed by its capabilities. While other programming languages all have their flavors of a match or switch statement, I haven't seen any so versatile and powerful as the one in gdscript. There are many possible applications for the Match statement. One could make a script which checks if a player has performed a combo, a script for figuring out cooking recipes or even for applying Logic Programming concepts, similar to those you'd find in a language like Prolog. Resources: Match Docs - https://docs.godotengine.org/en/stabl... Assets: Food - https://opengameart.org/node/20149 -------------------- Github repository for this project. https://github.com/cashew-olddew/godo...! Support me on Ko-Fi: https://ko-fi.com/cashewolddew -------------------- Chapters: 0:00 Literal Match Patterns 1:00 Expression Match Patterns 1:53 Wildcard Match Pattern 2:21 Binding Match Patterns 3:06 Array Match Patterns 7:22 Dictionary Match Patterns 8:11 Multiple Patterns 9:18 Pattern Guards 10:30 Example Match Programs #godot #tutorial #match