> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ochrebound.ibrahimsultan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The stitch

> How a press of Q pulls both children two and a half strides through the page, on the very frame you press it, without ever hiding their drawings.

![Live capture of Ishia chaining stitches across the bridge, leaving charcoal ink husks and an indigo-black seam.](https://mintcdn.com/ibrahim-sultan/ElgR_ikrUgz5hmmd/media/live_stitch_ink.gif?s=817c41b66cad5a2c9497ed7245b63819)

Chained stitches across the bridge: ink husks left behind, a seam snapping shut, the scarf carried through.

In the story, Noor's thimbles let a person take up the binding thread one stitch at a time along their own page. Pull a stitch tight and its two ends touch, so whoever stands at one end is standing at the other. The game had to make that read in a fraction of a second, in paint and ink, with no glow and no sparkle.

It is split into two parts. `StitchStep` decides **what happens**: where the children go, and when. `StitchInk` decides **what it looks like**.

## What happens: on the frame you press

Most games queue an ability behind an animation or a physics tick. The stitch does not. A press is read in the same frame it happens and resolved there and then.

* **One press, one stitch.** Both children move 2.5 metres (two and a half of Kai's strides) at once, with Kai keeping his place beside Ishia. A click, <kbd>Q</kbd>, the right bumper and a tap in the same frame count as one press.
* **Which way.** A click goes toward the side of Ishia it lands on. <kbd>Q</kbd> goes the way the stick points, or the way she faces.
* **Never through a wall.** The landing is tested with a box lifted 0.95 m off the feet, so a stitch can clear a low terrace lip but never pass through a house. It can land on stone up to 1.15 m above or below the feet. If the full distance is blocked it goes shorter, down to 0.8 m, or not at all.
* **Chains interrupt cleanly.** Press again while a stitch is still drawing and the old seam snaps shut in that same frame while a new husk is left. Nothing is ever queued, so nothing fires after you stop pressing.
* **Not everywhere.** On the stair, on the parapet, under the arch, in a menu or in the Viewfinder, presses are ignored. A press that closes a menu is not a stitch.

## What it looks like: around the drawing, never instead of it

The children's real drawings are never hidden for a single frame. They are where they landed on the press frame. Everything else happens around them.

```mermaid actions={false} theme={"system"}
%%{init: {'themeVariables': {'fontFamily': 'IBM Plex Sans', 'fontSize': '14px'}, 'flowchart': {'wrappingWidth': 240, 'nodeSpacing': 30, 'rankSpacing': 34}}}%%
flowchart TD
  P["Frame 0: the press. Both children are already at the landing"] --> I["Frame 0: one slash of ink, Ishia only"]
  I --> S["Frames 0 to 6: the seam crackles, the print tears along it, both snap shut"]
  S --> H["Frames 0 to 9: the husk leans, stretches and is eaten away"]
  H --> A["Frames 1 to 6: the arrival squash settles; Kai lands a beat later"]
```

| Part | Life | What it does |
| :- | :- | :- |
| **Husk** | 0.15 s, about 9 frames | The exact drawing the player saw last frame, drained to a lifeless ink-and-ochre shell. It slumps, leans toward the landing, is drawn out along the stitch and eaten away from the back. It never fades; it gets thinner and shorter until it is gone |
| **Seam** | 0.1 s, about 6 frames | A lightning-jagged ink filament edged in burnt gold, redrawn every other frame so it crackles, snapping shut toward the child |
| **Impact frame** | 1 frame | On the press frame only, a broad jagged slash of ink edged in vellum. At most one every four frames, so a flood of presses never strobes |
| **Tear** | 0.09 s | The final film print parts the whole picture along the newest seam, like a tear in the air closing |
| **Arrival** | 0.1 s | Her drawing lands stretched along the stitch and settles through one squash, scaled about her feet. Nothing is cut or reshaped |

Kai's stitch echoes Ishia's: his own husk and threads at once, a finer seam with no impact frame, and his arrival a beat after hers.

![Freeze frame of a stitch showing Kai's and Ishia's charcoal husks linked across the bridge by an indigo-black seam.](https://mintcdn.com/ibrahim-sultan/ElgR_ikrUgz5hmmd/media/evo_stitch_ink.jpg?fit=max\&auto=format\&n=ElgR_ikrUgz5hmmd\&q=85\&s=e029c1d43927f856940a45b962d272dd)

A frozen frame: two husks linked across the bridge by one seam.

## The scarf

Ishia's scarf is a live cloth simulation, and a teleport is the fastest way to break cloth: move the body two and a half metres in one frame and the tails stretch across the screen. On a stitch, every point of the scarf is carried with the body first, then both tails are given a velocity back the way she came, so it whips behind her instead of snapping. A test checks every frame that the scarf's root stays within 5 millimetres of the drawn neck, even while the arrival squash is stretching the drawing.

## Built to survive button-mashing

Husks and seams are pooled when the street loads, so a press allocates nothing. Each child has at most three husks and two seams alive; the oldest gives way. It all runs on scaled time, so pausing holds a stitch mid-air like everything else. And it is silent: no sound was added for it.

> [!NOTE]
>
> `StitchFrameTests` (PlayMode) checks the press-frame timing, that each husk samples the right sheet page, one impact frame per stitch and never on consecutive frames, and the scarf on the drawn neck.

![The discarded pixel-cell teleport, with Ishia broken into boxy square cells.](https://mintcdn.com/ibrahim-sultan/ElgR_ikrUgz5hmmd/media/evo_stitch_cells.jpg?fit=max\&auto=format\&n=ElgR_ikrUgz5hmmd\&q=85\&s=0718d3ec0e46d547058ba8bd06bab138)

Replaced: the first stitch broke the children into square cells.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.