Creating a custom tool plugin in Godot 4

Published: 11 May 2024
on channel: 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


Watch video Creating a custom tool plugin in Godot 4 online without registration, duration hours minute second in high quality. This video was added by user Octodemy 11 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,202 once and liked it 269 people.