Загрузка...

Some cool MATCH patterns in Godot!

This video was sponsored by Brilliant!
To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/Queble/ . You’ll also get 20% off an annual premium subscription.

Godot's match (also called a switch statement in other languages) is super powerful! This video aims to provide all the info you'll need to start using match to it's potential!
Hopefully this video can teach you something you didn't know before!
Thanks for watching, and I hope you have a great week! :)

NOTE: In Godot 3.x, you were able to use the 'continue' keyword to do just that in a match statement. This is no longer possible, but here are the resources regarding that if you'd like to check em out:
- https://github.com/godotengine/godot/pull/71914
- https://github.com/godotengine/godot-proposals/issues/9009
- https://github.com/godotengine/godot-proposals/issues/160
- https://github.com/godotengine/godot-proposals/issues/4667

Resources:
• Discord: https://discord.gg/kgWXhZjd69
• Twitch: https://www.twitch.tv/queble_game_dev (game dev streams)
• Godot Download: https://godotengine.org/
• I offer live Godot Tutoring: https://www.fiverr.com/s/o8Wq7AG

Timestamps:
0:00 Intro / Basics
0:34 Constant Match Pattern
1:35 Wildcard Pattern
2:11 Binding Pattern
3:13 Sponsored Segment • Brilliant :)
4:54 Array Patterns
6:23 Dictionary Patterns
7:29 Pattern Guards
8:31 Outro, thanks for watching!

This video was recorded in Godot v.4.4 stable

Видео Some cool MATCH patterns in Godot! канала Queble
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять