pantin

Animation

In Animate mode a change is a key at the time of the clock. The timeline shows the keys of each bone and the curves that lead from one to the next; pantin plays what is between.

15 minutesAnimate modeExamples: robot, stickman, tail

Keys

  1. Switch to Animate (Tab). Choose the animation at the left of the timeline, or make one with +: its name and its Duration are beside it.
  2. Tick Loop for a walk, an idle, a swim: a key set on one end is written on the other, and ends differ says when the last pose is not the first.
  3. Click a time in the ruler to move the clock there, and pose a bone with Move, Rotate or Scale: a key is set there. Key (K) holds the selected bones as they are.
  4. Or type it: Pose at the clock, in the panel of the bone, gives its rotation, position, scale and shear at the clock. A value typed or dragged keys its property there. The diamond beside each says whether it has a key at the clock (full), is animated around it (half) or not at all (empty); a click keys it, or takes its key away.
  5. Flip, under them, turns the bone over from the clock on: Across (its scale x of the other sign), Up and down (its scale y). A flip is not taken part of the way: it holds until its next key, so a character that turns round faces the other way at once, with what hangs from it.
  6. Space plays and pauses.

The timeline and curves

  • A click on a key chooses it; Shift or Ctrl and a click, or a box drawn over the rows, choose several. They move, take a curve and are deleted together.
  • The curve beside the tracks says how a key goes to the next: Linear, Stepped, or a Bézier curve whose handles are dragged; a key moved in time keeps its curve and its handles. The tab Graph draws the values of the chosen row over time; with Chosen with the rows the keys chosen on the rows are ringed there, and a click on the graph chooses a key (with Shift, several). Preferences › Timeline › A new key gives a new key a linear curve, or the curve chosen last.
  • Ctrl and the wheel zoom in time, Shift and the wheel scroll, Fit shows it all. Time is told in seconds or in frames; ← and → step a frame, with Ctrl from key to key.
  • Marker puts a note at the clock on the row Markers: where a foot touches, where the hit lands. A key dragged near it is taken onto it. A game is not told markers.

Events and their sounds

An event is what an animation tells a game as it plays: a step, a hit, the moment a jump leaves the ground.

  1. Event, beside Marker, puts one at the clock on the row Events (K while that row is chosen).
  2. The column on the right names it and gives it a whole number, a number and a text for the game.
  3. Sound… chooses a file of the project for the game to play when it is told the event, with its Volume (0 to 1) and its Balance (-1 left, 1 right); its row marks it with ♪. pantin plays no sound: the runtimes of Godot and Bevy give it with the event.
  4. Drag it on its row to move it; Delete takes it away.

To look at one moment, the preview plays slower or faster (0.25× to 4×, beside the units of time) and round a part of the animation: [ sets its start at the clock, ] its end, a band on the ruler shows it and × takes it away. Neither changes the animation nor is saved. Ctrl+Shift+V pastes keys held: the value before them stays until them, the key before each made stepped.

Mirror a pose

Bones whose names say a side are a pair: arm_left and arm_right, LeftHand and RightHand, leg.L and leg.R, l_eye and r_eye. Edit › Mirror the pose (Ctrl+Shift+M) gives each bone of a pair the pose the other has at the clock, as keys: the pairs of the selected bones, or every pair when none is selected. Keys copied are pasted on the other side with Paste at the clock, mirrored (Ctrl+Alt+V, also in the menu of the keys): the keys of a bone or a piece named for a side go to the one of the other side, an image named for a side becomes the one of the other side, the rest is pasted on its own row. Copy the first half of a walk, paste it mirrored at its middle, and the second half is made. The values go across as they are: the right side of a character seen from the side moves as the left one did.

Overlap

For a tail, hair or an arm that follows a beat later, animate the first bone of the chain, select it and press Overlap the chain in its panel: each bone below plays the one before a few frames later (Delay, Bones). No key is changed until Apply into the keys.

Pieces in time

The panel of a piece keys what it shows, its colour and its dark colour. To front and To back key the order the pieces are drawn in from that time, one place each, on a row Draw order: a hand passes behind the body (the example orbit). The Move tool on a vertex of a chosen mesh keys it, for a cheek that puffs or a cloth that folds (the head of the example fish swells so).

Judge the movement

The View menu, or the switch Ghosts in the corner of the canvas, shows the poses just before (blue) and after (orange) the clock; beside the switch, Which chooses those before, those after, and how many on each side (one to six). The menu also shows Trails, where the tip of each limb has just been; and a Shadow on the floor. Untick Bones to see the character as a game shows it.

Join two animations

Fade to, beside the animation, plays a crossfade from the animation shown to another, over the seconds given: to see how an idle turns into a wave before a game does it.

A game also plays several animations at once, on tracks laid one over the other. Tracks, at the end of the bar of the timeline, shows them: + Track plays another animation over the one shown, at the same time, by its weight, from 0 to 1. Added adds what it changes from the setup pose to what is under it, instead of putting it in its place: a nod over a walk turns the head a little more than the walk does. The tracks are a way of looking, not saved; a game sets them itself (in Godot set_track_weight and set_track_additive), and every runtime mixes them as the project format says.

Tidy up

Edit › Clean up animations takes out of every animation the keys that change nothing: a key with the value of the keys on each side of it, a lone key that is the setup pose, and the timelines left with no key. The ends of a loop stay. It says how many went, and is one undo; the frames are the same, to the pixel. In Animate mode, Reset takes the keys of the draw order of the animation away (in the panel of a piece), or those of the bones along a path (in the panel of the path).

Keys

TabSetup or Animate
KKey the selected bones or piece as they are
SpacePlay or pause
← →, with CtrlA frame before or after; the key before or after
FShow the whole animation on the tracks