supertux
supertux copied to clipboard
Find tiles/objects from tilemap in toolbox
When using the editor, using the middle mouse button to click on a tile or an object (depending on which mode the toolbox is in) will show that object or tile in the toolbox by switching the toolbox to the appropriate category and scrolling to the icon for that object/tile.
NOTE: The middle mouse button is currently also used to pan around the editor. It would be good to discuss what to do with this before merging.
In GIMP when using the pencil or a similar tool, it is possible to pipette a colour with Ctrl + left mouse button. In SuperTux Ctrl is already used for autotiling, but Ctrl + middle mouse button could be an alternative to only middle mouse button.
Potential suggestion for future revisions of the editor: there should be something to make it easier to know which mouse combinations exist and what they do. I feel like Ctrl+Midclick won't be found by most users unless they're told about it.
On another note, would anybody find it useful that I write extended commit messages like I do for Meltdown?
Not sure if this is intended: https://user-images.githubusercontent.com/63350514/196030775-ba83a8cf-7d2f-4226-9374-f5cd91bfcf08.mp4 Also it seems like some builds are failing
What is the current status of this PR?