Resources as an Enum Alternative [Bytesized Godot #7]
Автор: Bryce Dixon
Загружено: 2024-12-21
Просмотров: 332
Описание:
Suggest a topic: https://github.com/BtheDestroyer/Byte...
[Relevant Documentation]
Enums: https://docs.godotengine.org/en/stabl...
Resource.get_rid(): https://docs.godotengine.org/en/stabl...
is_same(): https://docs.godotengine.org/en/stabl...
[Social]
Mastodon: https://mastodon.brycedixon.dev/@bryce
[Table of Contents]
0:00 Intro
0:26 What is an enum?
1:00 Focus problem: elemental alignments
1:27 The limitations of enums
1:56 Proposed solution: leverage Resources
2:42 Data-driving elemental advantages
3:56 Performance analysis
4:57 Surprising benefits of is_same()
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: