Skip to content
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 alternating colour mode #45

Open
ace-dent opened this issue Sep 24, 2022 · 1 comment
Open

Add alternating colour mode #45

ace-dent opened this issue Sep 24, 2022 · 1 comment
Labels
Feature Request This issue is a feature request

Comments

@ace-dent
Copy link
Contributor

Enhancement:
Add a new 'colour' option - alternating mode.
Drawing will invert the colour of the existing pixel (black --> white / white --> black).
If the pixel is set to transparent, set to white on the first draw.

This is very useful in the pencil drawing mode. It saves time avoiding manual colour changes.
When the background has been set (flood fill), we can just draw the foreground details. If a mistake is made, a second click will restore to the background colour.
Various other pixel drawing programs act in this way.

Re. icons - I'd suggest using the current 'invert' icon - as the square form will fit well under the other colour boxes.
A new icon for the global invert tool, could incorporate a round element (which is common). e.g. https://www.flaticon.com/free-icon/invert-colors-button_61136

@Pharap Pharap added the Feature Request This issue is a feature request label Sep 25, 2022
@ace-dent
Copy link
Contributor Author

My first suggestion was essentially: 1st click 'on', 2nd click 'off'. This duplicates the behaviour of bitsy and other editors. I'm not too sure how well that fits with the overall design of your program?...

Alternative: Keep single colour draw on left click unchanged, just add right click for colour sampler/ selection. This will act to speed up drawing, as we can change colours without having to move the mousing from the editor to the palette. This approach is used in PICO-8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request This issue is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants