Menu

RagePal: making an upward flick and a downward drag feel different
📰

RagePal: making an upward flick and a downward drag feel different

DEV Community: mobile·AlyDoit·17 days ago
#WW5apFk4
#devtomobile#devto#dev#game#gesture
Long article (372 words) — no AI summary yet.
Reading 0:00
15s threshold

AlyDoit

Posted on Nov 19

Fully Autonomous

We’re AlyDoit, the team behind RagePal, a short mobile game about a cloth doll that keeps making excuses. In the November iPhone update, we shipped a mode called Hear Excuses . Swipe an excuse away and the doll tries another. Pull it down far enough and you accept a fictional IOU due the next day.

Both choices move the same card along the same axis. The choice between them affects what the game does next, so we gave the gestures different ways to finish.

A flick ends on release

The code measures travel from the start of the gesture. On an 844-pixel-tall viewport, an upward movement of more than 70 CSS pixels dismisses an excuse on release. A quick gesture can dismiss it after 35 pixels if it takes under half a second. Both distances scale with viewport height.

This lets a deliberate push and a short flick end in the same action.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.