Scene Palette
by ccpixel
Scene Palette
A plugin for Godot 4 to easily drag and drop nodes into a scene from a palette.
Using Scene Palette
The Scene Palette Plugin is essentially an alternative file browser with tiled
thumbnails, making it easier to see all your scenes at once.
Dragging and dropping scenes from the Scene Palette induces the same behavior
as dragging and dropping tscn
or scn
files from the file browser, so you can take
advantage of the same keyboard shortcuts, such as holding ctrl
when dropping
a file to add it as a child of the currently selected node.
In the settings you can enable "non scene files" to directly drag other files such as png
, obj
, etc onto the workspace.
Navigating to a new Palette
Using the file browser on top, navigate to the folder containing scenes for
your palette. The plugin will create a palette automatically using the scenes
in this folder. Nested folders will also be shown as expandable "sub-palettes".
Press the heart button next to the file selector to save this directory to your
favorites. You can change the colors of your favorite palettes to differentiate
them and saved palettes will persist when closing and reopening the editor.
More Options
If you are working on a 2D project, you can instantiate the actual scenes to display in the palette thumbnails to get a crisp image, or you can use the editor's built-in previews (default). These previews come from a snapshot of the scene in the editor window from the last time you saved the scene. If you are using editor previews and no preview shows up, open the scene with the the button on the top right of the thumbnail, center the image and save it again. You may need to re-open the folder in the plugin, but this should update the thumbnails.
Installation
- Download Scene Palette from AssetLib in the Godot editor or simply copy the contents of the
addons
folder of this repository into theaddons
folder in your project. - Enable the plugin in your project settings.
Upgrading
- Disable the plugin in your project settings
- (optional) If you want to save all of your favorited directories and colors, copy
addons/scene_palette/save_data/save_data.tres
to another location in your file system - Delete
addons/scene_palette
- Reinstall the plugin
- (optional) Copy the save data file back into the
addons/scene_palette/save_data/
directory. - Enable the plugin in your project settings.
Issues and Feature Requests
Feel free to submit an issue or PR for small feature requests.
Like this Plugin?
You may like my other plugin, Snap Rotate
Similar Plugins not by me:
- Kobewi's Godot Instance dock
is very similar and has a couple more advanced features, but you create docks by adding scenes to them manually, where as this plugin uses an existing directory structure and has subfolders. Worth checking out to see which better fits your needs. - https://github.com/MightyPrinny/godot-scene-palette/tree/master (Godot 3)
Download
Support
If you need help or have questions about this plugin, please contact the author.
Contact Author