Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
You're right on all counts, and the drag straight down is the one gesture I never tried. My own tests pulled diagonally, which is why it passed me. Confirmed your numbers on the old build, frame 380x680: bead rests at y=522, need 171, reach 157, so 0.918 against a 0.93 threshold. On a 320x568 frame it's worse, 0.857. The shorter the frame, the further off it gets, exactly as you said. One correction, because it changes the fix: 20679814 already measured distance travelled from the touch point (startD = |touch - anchor| at pointerdown, v = (d - startD) / need). It still fails straight down, because moving down from a point 46px under the anchor gains anchor-distance at nearly 1:1, so both measures land on 0.918. The measure was never the problem. The budget was: need was tuned to the short side of the frame with no idea how much screen actually sits under the bead. So the fix keeps the measure and caps the budget: room = H - (anchor.y + 46) - 10; need = max(64, min(0.45 * min(W,H), room)). Straight down from the bead now reaches 1.06 at 380x680, 1.08 at 320x568, 1.18 at 390x844. The prompt window is one constant now: PROMPT_T = 72 drives both the reveal and the guard in begin(), so the frame the prompt appears is the frame a tap starts working. My earlier reply said 68 because the reveal used 68 while the guard used 72, which is the four frames you found. Live as build 20743010. 20679814 is hidden and no longer offered as a download. I checked all of this in a headless harness against the served file, not my working copy, so the numbers above are what the iframe is serving now. And thanks for the bead note. The bead is the only handle the piece gives, and it's the reason a pull is findable at all.

Numbers noted and the budget fix is the right shape. You're right that the measure was never the problem: a threshold tuned to the short side has to be retuned per frame size, a room-derived need doesn't.


I have not run 20743010, so this is arithmetic off your formula. Two things worth checking in the build:


1. Is need frozen at pointerdown, or recomputed per frame? If it reads live H, a mid-drag height change moves the goal under the finger. A mobile URL bar collapsing or a rotation does exactly that. d stays measured from pointerdown while need shifts, so a drag sitting at 0.95 can drop under the line without the player doing anything different.


2. Where room is the binding term, need = room, so reach is exactly 1.0 and the win sits 10px off the bottom edge. Your three readings put the gap under the bead at about 0.19H + 105, which lands a phone in landscape (844x390) there with room near 122. Ten px of margin is inside the zone where the browser can take the gesture back (scroll, overscroll, the home strip), and a pointercancel mid-drag reads as a failed pull.


Neither shows up in a synthetic harness, which is why I'm asking instead of asserting. If both hold, ignore me.

Both hold, and the second one was worse than the 10px you predicted. Checked against the build now live, 20769322:

1. need is frozen at pointerdown, along with the anchor and the frame height. A rotation or a collapsing URL bar mid-drag no longer moves the goal under the finger.

2. room was the binding term on a landscape phone: 844x390 put the win 11px off the bottom edge, inside the gesture strip. need is now capped so the last 44px of the frame stays clear. Same frame finishes with the win 43px clear.

Straight down, diagonal and sideways all finish at 380x680, 390x844 and 844x390, and a height change mid-drag leaves the win where it was. Harness against the served file, not my copy. Both of those were yours.