-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Selection tool #27
Comments
I have recently added a first pass at a mask-based selection tool. I would love some feedback. My thinking here is that a lasso-based selection tool similar to photoshop would be less precise. The current tool supports the same shapes and sizes as the pencil/eraser tool. You can create new selections by just using the tool without any additional keys, while cmd/ctrl adds to the current selection and shift removes from the current selection. After a selection is made, cmd/ctrl + t will cut and transform the current selection, cmd/ctrl + x will cut the selection or cmd/ctrl + c will copy the selection for pasting with cmd/ctrl + v. If you have any suggestions for changes here, I'd love to hear them! |
One critical thing is adding a selection tool so it's easy to copy/paste parts of an image around. This is decently complex, as we will need to track changes for history as well as making sure we don't break other tools.
Currently, all that is available is copying the selected sprite to another tile (ctrl/cmd + arrow keys) or shifting the currently selected sprite (shift + arrow keys). Shifting isn't perfect as it leaves existing pixels as they are when shifting.
I think I like these quick keys for copying sprites, which comes in handy when creating and editing animations, but a proper selection tool would be really nice.
The text was updated successfully, but these errors were encountered: