-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new color palette apply tool and a new "Current frame" color palette #909
base: master
Are you sure you want to change the base?
Add new color palette apply tool and a new "Current frame" color palette #909
Conversation
This reverts commit 79a2e11.
For anyone who wants to try all of the new features I am adding in one branch, check out |
Can add a tool can made color Transparent? |
Possible to do :) seems like a corner case type of use - perhaps a mode for the eraser tool? If they did, you could have used this tool to swap them out for alpha 0 I am going to have to add it to my plus branch, since piskel's dev is very busy Its getting a bit hard to juggle with branches for staling prs for each feature, so I will just add all new stuff to the plus branch |
Not sure if this is what you are looking for, but in the current version there is the "special" paint tool which can be used to change the color of all the pixels that share the same initial color. If you use it with the transparent color, it will effectively erase all the pixels of a given color. By default only applies to current frame / current layer, but can be applied to all frames / all layers with |
|
I would suggest to do what @juliandescottes recommends.If the tool doesn't do what you want, raise a separate issue for it. This pr is for colour palette swapping feature and anything outside of that is out of its scope |
To be clear, this new tool is a Transform type operation for palette swapping. The way it works is
Holding a modifier key will apply the operation on all frames and swapout all the colours with the ones you have in your new palette - in a single click. The modifiers are the same (to all layers/ to all frames) |
This adds a new tool to the transformsection, that allowsyou to apply the currently selected palette to all the colors of the frame or the colors of all frames..
The pr also adds a new dynamic palette, called "Frame colors". This palette automatically updates itself to show you all the colors of the selected frame and their index numbers. Those index numbers are what the new tool uses for reference
To be clear, this new tool is a Transform type operation for palette swapping. The way it works is
You have a dynamic reference palette (current frame palette), which gets updated every time you add a new color to your frame. Its similar to the other one that shows you ALL the colours.
You can then duplicate your reference palette and change any of the colours in its copy. Select that new palette (should be selected when you create it),
then using this tool, the colours in it will be compared to the reference palette. A colour replace operation is applied to each of the reference colours, using their indexes - the same operation that the tool @juliandescottes showed uses - but automatically on each colour of the frame.
Holding a modifier key will apply the operation on all frames as swapout all the colours with the ones you have in your new palette - in a single click