Skip to content

Latest commit

 

History

History

gdquest_colorpicker_presets

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

GDQuest ColorPicker Presets

Reads a color presets gpl (GIMP Palette) file in the addon local directory, called presets.gpl. It adds the colors to the editor ColorPicker for quick access.

This repository includes a presets.gpl file as an example. It's the official GDQuest color palette.

✗ WARNING

Compatible: Godot >= v4.0

The addon:

  1. Doesn't check the length of the color palette/file.
  2. Overwrites the ColorPicker presets whenever you reopen the project or re-enable the addon.

✓ Install

Manual

  1. Copy the contents of this folder into res://addons/gdquest_colorpicker_presets/.
  2. Replace res://addons/colorpicker_presets/presets.gpl with your preferred version.
  3. Enable the addon from Project > Project Settings... > Plugins.
  4. Profit.

gd-plug

  1. Install gd-plug using the Godot Asset Library.
  2. Save the following code into the file res://plug.gd (create the file if necessary):
#!/usr/bin/env -S godot --headless --script
extends "res://addons/gd-plug/plug.gd"


func _plugging() -> void:
	plug(
		"[email protected]:GDQuest/godot-addons.git",
		{include = ["addons/gdquest_colorpicker_presets"]}
	)
  1. On Linux, make the res://plug.gd script executable with chmod +x plug.gd.
  2. Using the command line, run ./plug.gd install or godot --headless --script plug.gd install.

install project settings

Where do I find the presets?

They'll be available in the editor ColorPicker.

ColorPicker presets