Snapping objects between the fine grid divisions
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
### Problem
I'm trying to support two workflows. 1) Convenient editing and placement of objects by snapping them to two divisions of the tile size and 2) More precise editing and placement of colliders (polygons) that sometimes require four divisions of the tile.
I find myself having to swap back/forth between two and four divisions often. I've noticed holding `ctrl+shift` when dragging snaps to tiles themselves and holding `ctrl` disables snap altogether but there is no way to snap between the fine grid divisions.
### Goal
Add a modifier that allows snapping to double the precision of the fine grid divisions so that users don't have to edit their preferences so often when switching between editing tasks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing handling for Ctrl and Ctrl+Shift during object dragging, along with the current fine-grid snapping logic. The change is done when a modifier enables snapping at double the fine-grid precision without requiring preference changes, while existing tile snapping and snap disabling still work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- design, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100