godot-demo-projects/plugins
Kostas Mouratidis d059806f20 Fix "is mount_event" check in gui_in_3d to work with both 4 beta and 4 rc 2023-02-26 13:10:46 +01:00
..
addons Fix "is mount_event" check in gui_in_3d to work with both 4 beta and 4 rc 2023-02-26 13:10:46 +01:00
screenshots Ensure most demos have descriptions and screenshots 2021-08-16 21:13:06 -05:00
README.md Ensure most demos have descriptions and screenshots 2021-08-16 21:13:06 -05:00
default_env.tres Convert demos to Godot 4 using regular expressions in a script 2022-03-26 16:09:10 -05:00
icon.png Improve icon.png for projects using default icon 2020-08-15 17:25:12 -05:00
icon.png.import Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
project.godot Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
test_scene.tscn Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00

README.md

Plugin Demos

This contains multiple plugin demos, all placed in a project for convenience.

Due to bug 36713 you need to open the project to import the assets once, then close, then open.

Please see the documentation for editor plugins: https://docs.godotengine.org/en/latest/tutorials/plugins/editor/index.html

Language: GDScript

Renderer: GLES 2

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/585

How does it work?

This project contains 4 plugins:

  • The custom node plugin shows how to create a custom node type using add_custom_type. More info.

  • The material import plugin shows how to make a plugin handle importing a custom file type (mtxt). More info.

  • The material creator plugin shows how to add a custom dock with some simple functionality. More info.

  • The main screen plugin is a minimal example of how to create a plugin with a main screen. More info.

To use these plugins in another project, copy any of these folders to the addons/ folder in a Godot project, and then enable them in the project settings menu.

For example, the path would look like: addons/custom_node

Plugins can be distributed and installed from the UI. If you make a zip that contains the folder, Godot will recognize it as a plugin and will allow you to install it.

This can be done via the terminal: zip -r custom_node.zip custom_node/*

Screenshots

Heart Plugin

Main Screen Plugin

Material Import Plugin

Material Creator Plugin 1

Material Creator Plugin 2