Pace

Short, tired steps while the character drifts slowly to one side and back: someone worrying, or waiting for news.

A cartoon person mid-step with one leg forward, and a dog mid-stride beside it, both walking slowly on the grass.

Use it in a cartoonOpen it in the block editorThe pack file (JSON)

What it is for

Pace is for worry and waiting: outside a classroom during an exam, by the window before a visitor arrives, in front of a door that will not open. It is slow on purpose. Note how long its back-and-forth takes: about 14 seconds. In a short slot, such as the 4 seconds this page plays it for, you see the character walk a little way to one side; in a long scene you see it come back. Use the first edit below if you want the whole pacing in a few seconds.

The principle it shows: timing

Pace and Walk back and forth both walk to and fro, but the feeling is completely different, and the difference is timing. Pace takes small, slow steps and drifts gently, with the body slightly lowered; the other walks briskly at a steady speed and turns sharply at each end. Slow, smooth timing reads as weary or thoughtful; brisk, even timing reads as purposeful.

The program, line by line

when it starts
  sin wave on dx · w 0.45 · amp 170
  walk cycle every 0.78 s · thigh × 0.8 · shin × 0.7 · arm swing 0.3 · bob 6/2 · roll 0
  set sy 0.97
  sin wave on rot · w 0.45 · amp 2

The walk block steps every leg the body has (two, four, or none on the monster without legs) and swings the arms against the legs.

Try this

  1. Speed up the drift from 0.45 to 1.5. The character now walks out and back about every 4 seconds instead of every 14, so a short scene shows the whole pacing.

    In the program: wave · w 0.45 → 1.5

  2. Make each stride take 1.2 seconds instead of 0.78. The steps get heavy and slow, as if the character were exhausted.

    In the program: gait · every 0.78 → 1.2

How it differs from Walk back and forth and Walk in

Walk back and forth covers 420 pixels at a steady speed and flips round at each end. Walk in is a single entrance from the side that ends in a stop. Pace never really arrives anywhere.

Works on

Worked out by the build: it plays the move in the engine on each body and checks what moves on screen. Nobody types this table.
BodyMoves?What moves
2 legs (a person)yeswhole body, arms, legs
4 legs (a dog)yeswhole body, front legs, back legs
no legs (the monster with no legs)yeswhole body

c4c:beh:pace · version 1.0.0 · CC0 (public domain) · by Jabbertoon