Stand up (bird)

Standing up for a bird: the folded legs straighten back to standing, finishing with a little shake of the wings, for a game switching the bird out of a sit.

A cartoon person and a dog unfolding from settled legs, arms giving a little shake.

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

What it is for

Stand up (bird) is the stand-up of the nine game cycles, written for the bird set: it starts from the folded pose Sit (bird) holds and straightens the legs back to standing, finishing with a little shake of the wings rather than the long-legged stand-up's lean and push.

The principle it shows: arcs

The straightening legs are kept planted by the same cosine geometry Settle down (bird) and Sit (bird) use, worked out from the leg's own angle as it straightens rather than drawn separately. The wing shake at the very end, not tied to that geometry at all, is the one touch that marks the motion as finished.

The program, line by line

settings: h = 540, leg = 0.05, on = 0
when it starts
  show the side view
  set left leg 45, right leg 45, left foot -45, right foot -45, dx (-h*leg*sin((45)*pi/180)), dy (h*leg*(1 - cos((45)*pi/180))), left arm 0, right arm 0, head -4, tail -14
  at the same time:
    — 1:
      glide left leg 0, right leg 0, left foot 0, right foot 0, head 0, tail 0 over 0.6 s (smooth)
    — 2:
      set dx 0, dy 0
      for 0.6 s:
        dy follows (h*leg*(1 - cos(((45 + -45*smoothstep(min(local/0.6, 1))))*pi/180)))
        dx follows (-h*leg*sin(((45 + -45*smoothstep(min(local/0.6, 1))))*pi/180))
  set dx (-h*leg*sin((0)*pi/180)), dy (h*leg*(1 - cos((0)*pi/180)))
  for 0.3 s:
    sin wave on left arm · every 0.15 s · amp -14
    sin wave on right arm · every 0.15 s · amp 14

Written out in full, exactly as the engine prints them:

-h*leg*sin((45)*pi/180)

h*leg*(1 - cos((45)*pi/180))

h*leg*(1 - cos(((45 + -45*smoothstep(min(local/0.6, 1))))*pi/180))

-h*leg*sin(((45 + -45*smoothstep(min(local/0.6, 1))))*pi/180)

-h*leg*sin((0)*pi/180)

h*leg*(1 - cos((0)*pi/180))

Try this

  1. Take a full second to straighten up instead of 0.6. The stand-up becomes a slow, careful rise instead of a quick one.

    In the program: ramp · over 0.6 → 1

  2. Keep the wings shaking for 0.6 seconds instead of 0.3. The little shake at the end lasts twice as long before it settles.

    In the program: for · s 0.3 → 0.6

How it differs from Sit (bird) and Stand up

Sit (bird) is the settled pose this move rises out of. Stand up is the long-legged version of the same idea, a lean and a push rather than a straighten and a wing shake.

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, turns, head, arms, legs
4 legs (a dog)yeswhole body, head, front legs, back legs, tail, ears
no legs (the monster with no legs)yeswhole body, turns, arms, tail

c4c:beh:stand_up_bird · version 1.0.0 · c4c-free · by Jabbertoon