Creating a custom tool plugin in Godot 4

Опубликовано: 11 Май 2024
на канале: Octodemy
5,202
269

How to create your own custom plugins in Godot 4.
It's very easy to create your own addon in Godot. Most of the editor is built using the very same UI game nodes you are already used to. A plugin is just another tool script.

Here we'll go over the basics of what are Godot plugins and make a simple tool plugin.
We'll make Undo and Redo actions work with our addon.
And I'll teach you how you can re-use the inspector UI node's functionality within your own scenes.
Lastly, we'll cover how to spawn nodes with an editor plugin.

····················································································
Want to support me?
https://ko-fi.com/octodemy
Source code
  / octodemy  
····················································································
I've made a demo plugin with all the locations available to insert UI nodes.
You can comment each section to check how it works.
You can find it on the free patreon post here (non-paid sub):   / next-video-godot-103979423  

CHAPTERS:
0:00 Intro
0:26 Creating a plugin
2:47 Tool plugin - Random rotation
5:57 Undo/Redo actions
7:50 Re-using Inspector UI nodes
9:22 Spawning nodes

#godot #godot4 #godotengine #godotplugins


Смотрите видео Creating a custom tool plugin in Godot 4 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Octodemy 11 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,202 раз и оно понравилось 269 людям.