Improved Transform Controls
This mod enhances the default Transform (warp) Controls.
Overview
This mod adds 4 new buttons to the transform controls menu:
- Anchor: when disabled, all transformations are relative not to the anchor but to the opposite side (like in Photoshop).
- Snap: snap the anchor to the transform points
- GridSnap:
- snap positions of pivot points to the grid (only when rotation is multiple of 90)
- snap anchor position to the grid
- snap rotation to the multiple of 90 degrees angles
- Free rotation: rotate transform interface without rotating transformed objects
You can use Ctrl
and Shift
keys to do certain actions:
- Shift:
- grid snap
- Ctrl:
- anchor snap - when dragging the anchor
- free rotation - when dragging the control
- transform relative to the center - when anchor is disabled
Mod also adds some nice features such as:
- Visible transform rectangle
- Keeping transform interface buttons vertical during rotation
And fixes some RobTop's bugs:
- Fixed button sprite scale issue (when button sprite size doesn't match the button touch box)
- Fixed overlap of buttons with the controls after certain transforms
- Fixed RobTop's crash when transforming extremely thin objects
(to-do: better description, pictures)
Contribution
- You can report a bug or suggest a feature on my Discord server
- You can contribute to the code on GitHub