Skip to main content

Animating Clips

Staff preview

The Character Studio is in staff preview. Screens change between builds.

A clip is an animation: one curve per slider over time, plus events that the game turns into sounds and effects. Characters made by the AI come with the 11 game clips. This page is about changing them and making your own, in Advanced mode.

The Clips tab​

Clips tab

The list shows each clip with its length, whether it loops, and how many events it has (2.8 s · 3 ev). Click ▷ to play one.

ButtonWhat it does
NewA new clip: a name, a length in seconds (default 1) and Loop, then Add. It starts empty — animate it in the curve editor
DuplicateA copy named <clip>_copy
RenameRenames the selected clip
BinDeletes it

idle cannot be renamed or deleted: every character needs an idle clip. Duplicate it instead.

Game moments play clips by name

Renaming or deleting spin_start, win_big and the other moment clips takes them out of the game: Renamed: the game plays "…" by name, so it no longer plays there. Point the moment at the new clip in Game (or Moments) if that is what you meant.

Under the list: play / pause, stop (back to pose), Loop, the time, a scrubber with event ticks, and Crossfade (s): Playing another clip while one plays crossfades into it.

Events​

Events · … lists the events of the selected clip. Each has a time, a type and an id.

TypeUse it for
sfxA sound: cheer, gasp, chuckle
fxAn effect: coins, sparkle
shakeA screen shake: small, big
customAnything else your game listens for

Event at … s adds one at the playhead. The Event log below lists events as clips fire them, so you can check the timing.

In the game, the Pixi Puppet fires its Event output with Event ID and Event Type at that moment. See In Your Game.

Tutorial: a coin sound on the big win​

  1. Select win_big.
  2. Scrub to where the arms go up (about 0.5 s).
  3. Click Event at 0.5 s, set the type to sfx and the id to coin_shower.
  4. Play the clip: sfx: coin_shower appears in the Event log at 0.5 s.
  5. In your game, play the coin sound when Event ID is coin_shower.

The curve editor​

Click Edit curves of … in the Clips tab, or turn on Curves in the view bar. The dock opens under the view.

Curves dock

  • Header: the clip, play / pause, the time, and Onion.
  • Ruler: click or drag to scrub. Event dots sit on it.
  • Rows: one per curve, with its keys. Click a row to open it as a graph.
ToDo
Move a key in timeDrag it along its row
Move a key in time and valueDrag it on the graph
Change only the valueShift+drag on the graph
Add a keyDouble-click the graph, or Key at playhead (the shape does not change)
Edit a key exactlyClick it, then type time s, value and ease in
Delete a keySelect it and press ⌫ / Delete
Add or remove a curveAdd a curve… at the bottom of the side panel; the bin next to the curve's name

The ease in options are linear, in, out, inout, step and bezier. Bezier shows two handles you can drag on the graph. A curve keeps at least one key, and a looping clip keeps its first and last keys so the loop stays seamless.

Insert motion​

Insert motion (act) at … s writes a whole beat of motion from the playhead, so you do not have to place every key yourself:

FieldMeaning
at sWhen the beat starts, counted from the playhead
toThe value it moves to
durHow long the move takes
anticAnticipation: it first winds up the other way by this much
overOvershoot past the target
settleHow long it takes to settle back onto the target

+ Beat adds another beat; Insert writes them. The motion starts from the curve's value at that time and replaces the keys it overlaps.

Follow (overlap)​

Things that hang off a body move a little after it: a head after the torso, a tail after the hips. Follow makes the selected curve trail another: pick the lead curve, a delay (default 0.15 s) and a gain (default 0.6), and click … follows ….

Onion skin​

Onion in the dock header draws ghosts of the clip before (blue) and after (orange) the playhead, while the clip is paused. Set before and after (up to 6 ghosts each), every (seconds apart) and opacity.

Onion skin: Onion

Tutorial: a new idle extra​

Make a short "look around" clip and have the character play it now and then while it rests.

  1. Clips → New, name it look_around, length 3, Loop off, Add.
  2. Edit curves of look_around. Under Add a curve…, add HeadTurnX.
  3. With the playhead at 0, use Insert motion: at 0.3, to 0.8, dur 0.5, then + Beat: at 1.5, to -0.8, dur 0.6, then + Beat: at 2.4, to 0, dur 0.4. Click Insert.
  4. Add a HeadTiltZ curve the same way and select it. Under Follow (overlap) pick HeadTurnX as the lead and click HeadTiltZ follows HeadTurnX: the head now tilts a little after it turns.
  5. Open Game, and under While resting switch on look_around. Set every 8 to 16 seconds.
  6. Press Play and wait: the character looks around now and then.
  7. Save.
Was this page helpful?