Replies: 1 comment 8 replies
-
|
Hy, pixelorama has index mode which implements this feature |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I noticed on other pixelart editors there is an option to swap one palette into another which swaps colors placed on the same slots in the palette to the ones in the new ones as long as palettes match.
Example:
If this is my complete palette:

Swapping to another palette:

Would swap color at index 0x0 from palette 1 to color of the same index in palette 2 and so on for every other color. See below picture
Questions
Why if a color is not exact as in the source palette?
No change to the color is made.
What if palettes are not exact same size?
A proper warning depending on the scenario:
"Target palette is smaller than existing palette. Unable to swap."
"Target palette contains less colors than existing palette. Some palette colors will be lost. Proceed?"
Options: Yes, Copy extra colors/Yes, Remove extra colors/No
^ this won't cause the colors that are not on the palette to be removed from the canvas or anything, just from the palette
This would allow to quickly "reskin" sprites from one color palette to another without having to handle it via shaders or other means.
Beta Was this translation helpful? Give feedback.
All reactions