Do These 4 Things to Write Fewer Bugs

Опубликовано: 17 Февраль 2024
на канале: Bacon and Games
2,366
165

In this Godot tutorial we'll look at how to write GDScript that can, in a way, catch its own bugs. We'll cover fallbacks, lazy instantiation, custom node warnings, and a little something I'm calling "flexible initialization". It's gonna be a thing (no it's not)

0:00 - Intro
0:23 - Failing With Style
2:27 - Assert()
3:39 - Failing With Style 2
4:50 - Flexible Init
6:10 - Custom Node Warnings
8:19 - Lazy Instantiation
9:45 - Thank You!!!

#debugging #godot4 #godotengine #gdscript #godottutorial


Смотрите видео Do These 4 Things to Write Fewer Bugs онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Bacon and Games 17 Февраль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,366 раз и оно понравилось 165 людям.