Palette Creator

If you liked this item, please rate it up on Steam Workshop page.

Authors: Harvie, Tricrystal

Last revision: 8 Apr, 2023 at 15:19 UTC

File size: 391.17 KB

On Steam Workshop

Description:

Add a dev tool in order to make new palette easier

How to use:

First you need to open DevTools panel, and the creator is inside roomsetting page.

Top buttons :

GetCurrent : Copy current room paletteA to the workspace
ClearRow : Clear all gradient label in selected row
ApplyCurrent : apply current palette in workspace to current room, this is not permanent change, you can use this to preview the effect of the palette in the current Workspace:
SelectPalette : Select and load a palette to workspace, grey button means its a vanilla palette or loaded by others. Blue button is palette created by you, which is located in OutputPalettes folder. Use yellow button "New palette" to create a new palette file.
SavePalette : Save the palette in workspace into png file. If its copy from a vanilla palette, this mod will automatically create a new palette and save it as the new palette. Newly created palette need to be save at least once inorder to show up in OutputPalettes folder.
Also, some details of current palette will show in a label on the top right.

Workspace :

Every rect inside workspace represent a pixel in palette texture. Click one to choose it, it will become bigger in size, and definition of current pixel will show in a label on the top left. If the pixel is in a gradient row, the hole row will also become bigger in size. If the pixel is undefined (This means game will not use current pixel as a palette color), the rect will simply not allow you to select it.
What is gradient row :
Gradient row is in order to generate gradient colors easier. Every rect in row that has a gradient label will show a small dot opon it. That means other rects which dont have label will use it as a source color to generate their own colors. Color of no label rect will lerp from the first labeled rect on the left to the first labeld rect on the right. First and last rect in row will always be labeled.

ColorPicker :

ColorTape is used to select hue of picked color, rect below is used to select value and saturation. (Just a HSV color you know)
A small rect on the right of tape is used to show current picked color.
SetCol : Set the color of current selected rect in workspace to picked color. If current rect is in row and not labeled, a label will be added.
RemoveLabel : Remove label of selected rect if it is labeled.
Pick Color : Click this to pick a color on screen of current mouse position.

More infos:

Github : https://github.com/pkuyo/PaletteCreator
After finish creating a new palette, you need to move it to Palettes folder in your own mod folder in order to use it. (for example modsmoreslugcatspalettes)
You can find OutputPalettes folder inside mod folder.
If you still have any problem, please leave comment on steam workshop page.