mbrown1413 / Mechanical-Puzzle-Studio

The Swiss Army knife of mechanical puzzle design.
https://puzzlestudio.io/
Mozilla Public License 2.0
1 stars 0 forks source link

[Pieces] Initial editing tools #9

Closed mbrown1413 closed 5 months ago

mbrown1413 commented 8 months ago

Currently, the only way to edit a piece's voxels is left-click to add and right-click to remove. This can be cumbersome at times.

Adding different tools that provide editing modes will make editing much faster in different circumstances. Some examples of tools we may want to implement:

The tool concept will also be useful for future features, such as:

The exact scope of this issue is to:

  1. [ ] Determine an initial set of tools to implement
  2. [ ] Create issues for tools we want to implement in the future
  3. [ ] Implement the initial set of tools
mbrown1413 commented 5 months ago

I've implemented box select (da66325c083c85f7729d9213be76425b4edd89c3) in the 2D view. There aren't any buttons to toggle it since you can still individually click voxels. We can already toggle optional voxel drawing.

All other tools will be done later: