Description
Changelog
Reviews (0)
Features
- A Palette dock for color palette manegement
- Every
Colorproperty in the Inspector gets a Palette row, on nodes and on resources alike (theme overrides, StyleBoxes, Theme items, shadersource_coloruniforms). Pick from the swatch grid to set the color and link the property to that entry. The built-in color picker stays where it was. - The addon writes a constants file to
res://live_palette/palette_const.gdand keeps it current:$Sprite2D.modulate = LivePalette.SKY_BLUE # autocompleted, checked at compile time var c := LivePalette.color("Sky Blue") # lookup when the name is in a variable if LivePalette.has_color("Sky Blue"): ... - Several palettes at once: keep a
palettefor the game world and auibeside it, each with its own colors and variants. They all apply together; the dock's picker only chooses which one you are editing. Everything is reached through one class:LivePalette.SAND # the default palette, res://live_palette/palette.tres LivePalette.UI.ACCENT # ui.tres LivePalette.UI.color("Accent") - Variants: one set of named colors, several palettes of values. Add a Dark variant
beside your Default, switch with the dropdown at the top of the dock, and the editor
retints as you look at it. At runtime one call does the same to a live game:
LivePaletteRuntime.set_variant("Dark") # every bound property follows var ink := LivePalette.color_in("Dark", "Ink") - You can import and export GIMP
.gplfiles, so a palette from Lospec, Aseprite or Krita lands in the dock in one step. The import is a single undoable action. - Each row has a search button that lists every saved scene or resource using that color. Double-click a result to open it.
Changelog for version Version 1.2.1
No changelog provided for this version.