Save HOURS with Godot 4.4’s new typed dictionaries!

preview_player
Показать описание

🚨 Save HOURS with Godot 4.4's new typed dictionaries! 🚨

With this feature, you can now assign keys and values directly in the inspector using the export annotation—no more manual declarations in scripts! It's faster, more visual, and a massive time-saver for your projects.

Start using it today and speed up your workflow! 💻⚡

Learn Godot for free at @Zenva
Рекомендации по теме
Комментарии
Автор

You can previously use Dictionaries exported in the editor, BUT it seems like 4.4 allowed you to set Typed Dictionaries to use in the editor…

Key point is: You had to set up a key TYPE and a value TYPE, for *EVERY* item in the list, meaning you’d have to set it to STRING every time you want to add a item.

Now, you can type, modify, and add in very few clicks and seconds compared to resetting types individually and every time.

THIS IS A HUGE TIME

shokwave
Автор

Thanks for this tip! It just so happens typed dictionaries will be perfect for the next project I have planned😊. And exporting them will speed up development considerably.

TheRythimMan
visit shbcf.ru