SteadyHands: track the fingertip directly, drop cursor offset
SteadyHands: track the fingertip directly, drop cursor offset
#15 in Riparion/riparion-retro — merged 2026-06-09
The on-target ring is large enough that the finger doesn't occlude it, so the sniper-scope offset (cursor floating above the fingertip) just made the control feel indirect. Remove it — the cursor now tracks the finger, and the goal is simply to keep your finger inside the ring.
Changes
- Remove the
cursor_offsetprop (no caller set it). target_positionspans the full[MARGIN, 1 - MARGIN]band on both axes again — no need to reserve vertical room for the offset's reach. Dropped its now-moot "within reach" test.- Cursor render and hit test use the finger position directly.
- Refresh on-screen hints and doc comments accordingly.
All minigames-kit SteadyHands tests pass.
🤖 Generated with Claude Code
Last updated 2026-06-10
Links to this note
Credits
Merged pull requests, newest first.