AniCraft User Guide 0.3.0

The timeline

The timeline is where your animation happens: layers stack your artwork from front to back, and frames lay it out in time. This chapter covers layers, frames and keyframes, playback, onion skin and Edit Multiple Frames.

A note on keys: AniCraft uses Ctrl on Windows and Linux and ⌘ (Command) on macOS, and Alt is ⌥ (Option) on macOS. So Ctrl+Alt+C is ⌥⌘C on a Mac. Every shortcut here is a default you can change in the shortcut editor (Ctrl+Alt+Shift+K); see Preferences, shortcuts and accessibility.

A tour of the timeline

The timeline sits under the stage. From left to right, its header holds:

Under the header, the layer list is on the left and the frame grid on the right, with the frame ruler along the top. The bar at the bottom has buttons for new layers and folders, deleting and moving layers, and, at its right end, the frame zoom and the Frame View menu.

If the header doesn't fit in a small window, scroll it sideways with Shift and the mouse wheel.

Layers

Making and removing layers

Clicking a layer's name makes it the active layer and selects its artwork, as you'd expect from Animate. Right-click a layer for a menu with nearly everything in this section.

Selecting several layers

The selected layers are highlighted. Together they can be:

Each of these is one undo step. The eye, the padlock and the other buttons on a row still act on that row alone, and the up and down buttons move the active layer.

Show, lock and outline

Each layer row has three toggles:

Outlines are a working aid only. They show on the stage, but Test Movie and every export draw the artwork as it really is.

The eye, the padlock and the square above the layer names act on every layer at once, as in Animate: one click hides, locks or outlines them all, and the next click brings them all back. When only some layers are hidden (or locked, or outlined), the first click makes them all alike. The camera layer is left alone.

To work on one layer without the others' rows in the way, click the View only the active layer button beside the Layers heading (the one after the parenting view's): the timeline shows the active layer's row alone, following you as you pick another layer (with the arrow keys or the stage). The other layers stay on the stage, and their settings are untouched. Click the button again to see every row.

To give the frames more room, drag the line between the layer names and the frames to the left (or to the right for long layer names). Double-click the line to put it back. AniCraft remembers the width.

Layer colours

Every layer has a colour, used for its outlines and its bar on the timeline. Click the thin colour chip on the left edge of a layer row to pick another: choose a swatch, type a hex value, or click More… for any colour.

Layer height

Right-click a layer and choose Layer Height › 100 %, 200 % or 300 % to make its row taller. This is handy for layers you work on a lot, or for seeing sound waveforms.

Layer Properties

Double-click a layer's icon (or right-click it and choose Properties…, or choose Modify › Timeline › Layer Properties) to open the Layer Properties window. Here you can set, all at once, the layer's name, whether it shows and is locked, its type (Normal, Mask, Masked, Guide or Guided), its outline colour, outlines, onion skin, opacity and height. OK applies everything as one undo step; Cancel changes nothing.

Layer opacity

Opacity in Layer Properties sets how strongly a layer shows, from 0 to 100 %. For the usual values, right-click the layer and choose Opacity › 100 %, 75 %, 50 %, 25 % or 0 %. A faded layer shows its percentage beside its name.

The layer fades as one: its artwork is drawn together first, so where two of its shapes overlap you don't see one through the other. A folder's opacity fades every layer in it, on top of each layer's own. Mask and guide layers ignore it.

Layer opacity is part of your movie: you see it on the stage, in Test Movie and in every export. (Animate's Transparent layer setting is only a view while you work; to see through a layer while tracing without changing the movie, use View as Outlines instead.)

Layer Properties works on one layer at a time. Editing several layers at once isn't there yet.

Folders

Folders keep big timelines tidy.

  1. Click the folder button under the layer list, or choose Insert › Timeline › New Folder. The folder appears above the active layer. With several layers selected they go straight into it.
  2. Drag a layer by its name onto the folder to put it inside, or between two layers of an open folder. Drag it above or below a layer outside the folder to take it out again. (With the up and down buttons: move a layer in under the folder, and off either end to take it out.)
  3. Click the folder's chevron to open or close it.

Hiding or locking a folder hides or locks everything inside it. Folders can nest, and a folder moves with its contents. Deleting a folder deletes what's in it: AniCraft asks first, and undo brings it all back.

Layer parenting

Layer parenting makes one layer follow another, the way Animate's does. Parent a forearm layer to an upper-arm layer and the forearm moves, turns and scales with the upper arm, while each layer keeps its own keyframes and tweens. It is the quick way to rig a cut-out character: a hand follows a forearm, the forearm follows the upper arm, a prop follows the hand. You don't need symbols inside symbols, or bones.

Open the parenting view. Click the small tree button beside the Layers heading, or choose View › Parenting View. Each layer gets a dot in its colour in a new column.

Parent a layer. Drag from the layer's dot to the layer it should follow. The row you can drop on lights up, and a line then joins the two dots. A layer that follows another steps in, so a chain reads like a tree. The layer stays exactly where it is on the stage: only what it follows changes. Esc cancels the drag.

Pick the parent from a menu. Click a layer's dot for a menu of the layers it can follow, with No Parent at the top. The same menu is under Parent when you right-click a layer, whether the parenting view is open or not. From the keyboard, Tab to the dot and press Enter or Space.

Remove the parent. Choose No Parent in that menu, or Modify › Timeline › Remove Parent. The layer again stays where it is on the stage.

How it behaves:

A ready-made example for scripts, the CLI and the control port: file.new_sample {"which": "arm"} opens an arm of three parented layers (see Working headless).

Not there yet: changing a layer's parent part-way through the timeline, and Edit Multiple Frames and motion path editing on a layer that follows a turned parent (they work in the parent's space). Parenting in Animate files doesn't come across yet.

Special layer types

Some layers do a special job: mask layers, guide layers, the camera layer and armature layers for bones. They are covered in Masks, guides, camera and bones.

Frames and keyframes

A keyframe is a frame where the artwork changes. Ordinary frames after it hold that artwork until the next keyframe; together they make a frame span. A blank keyframe is a keyframe with nothing on it, so the layer is empty from there on.

To do thisKeyMenu
Insert a frame (extend the span)F5Insert › Timeline › Frame
Remove a frameShift+F5Insert › Timeline › Remove Frame
Insert a keyframe (copy of the artwork)F6Insert › Timeline › Keyframe
Insert a blank keyframeF7Insert › Timeline › Blank Keyframe
Turn a keyframe back into a plain frameShift+F6Insert › Timeline › Clear Keyframe

The Insert frame, Insert keyframe and Insert blank keyframe buttons in the timeline header do the same, and so does the right-click menu on the frames.

As in Animate, the keys keep you moving along the timeline:

An empty frame shows a hint in Properties › Frame: press F7 to start drawing there.

Selecting frames

The frame keys, the header buttons and the right-click menu all act on the whole selection. Removing or clearing frames that hold artwork asks first.

Moving keyframes and resizing spans

Each drag is one undo step.

Cut, copy and paste frames

CommandKey
Edit › Timeline › Cut FramesCtrl+Alt+X
Edit › Timeline › Copy FramesCtrl+Alt+C
Edit › Timeline › Paste FramesCtrl+Alt+V

After you click in the timeline, plain Ctrl+X, Ctrl+C and Ctrl+V work on frames too. Pasting inserts the frames, as in Animate. Frames copied from several layers paste onto the layers below the one you paste into, and AniCraft creates any layers that are missing. Symbols travel with the frames, even into another document.

Frame labels

Give a keyframe a name in Properties › Frame › Label. Labels show on the timeline, and actions and scripts can jump to them by name, which keeps working when you move frames around. See Interactivity.

Playback

To see the movie with its buttons and scripts working, use Control › Test Movie (Ctrl+Enter); see Interactivity.

Frame rate

The header shows the frame rate. To change it, click it there and type a new one, or drag it (1 to 120 fps; fractional rates such as 29.97 work too). It is the same value as Properties › Document › Frame rate, which shows when nothing is selected.

Zooming the frames

Hold Ctrl and use the mouse wheel over the frames to zoom in and out around the pointer, or use the frame zoom slider at the right end of the bottom bar. The Frame View menu beside it picks a frame width (Tiny, Small, Normal, Medium or Large) and has Short for thinner rows. The wheel scrolls the layers; Shift and the wheel scroll the frames.

Onion skin

Onion skin shows the frames around the playhead faintly, so you can draw each pose in relation to the last.

The timeline with onion skin on, per-layer onion toggles and a layer shown as outlines

Turn it on with the onion skin button in the timeline header, View › Onion Skin, or Alt+Shift+O. Frames before the playhead are tinted blue, frames after it green, and each fades the farther it is from the playhead.

Choosing which frames show

Two brackets on the frame ruler mark the frames onion skin shows. Drag the start and end markers to show more or fewer frames. By default you see two frames on each side.

Onion skin options

Open the options from the arrow next to the onion buttons, a right-click on the frame ruler, or View › Onion Skin Options:

OptionWhat it does
OutlinesDraws onion frames as outlines only.
Keyframes OnlyShows only the frames where a keyframe starts.
Always Show MarkersKeeps the markers on the ruler when onion skin is off.
Anchor MarkersKeeps the markers on their frames instead of moving with the playhead.
Onion 2, Onion 5, Onion AllQuick ranges: 2 or 5 frames each side, or every frame.
TintColours frames before and after the playhead; turn it off to see their own colours.
Fade by DistanceMakes farther frames fainter.
Before / After colourPick your own tints; Reset goes back to the theme's.

AniCraft remembers your choices. As in Animate, locked layers are left out of onion skin.

Onion skin per layer

Each layer row has its own onion toggle. Click it to leave that layer out (it then shows only its playhead frame). Alt-click it to onion-skin that layer only; Alt-click again to turn every layer back on. You can also set it in the layer's right-click menu or Layer Properties. Folders don't have their own toggle yet.

When you edit a symbol in place, onion skin works on the symbol's own timeline, and the parent timeline's frames show dimmed around it.

Edit Multiple Frames

Edit Multiple Frames lets you change artwork on several keyframes at once: shift a whole walk cycle, or line up every pose.

  1. Click the Edit Multiple Frames button next to the onion skin button, or choose View › Edit Multiple Frames.
  2. Drag the markers on the frame ruler to cover the keyframes you want. They show at full strength.
  3. Select artwork on all of them: click, Shift-click, drag a marquee, or Ctrl+A.
  4. Change it. Each change is one undo step.

While it's on, you can:

A motion tween's path moves with its object. Merge-drawing shapes merge again on their own keyframe, so drawings stay connected. It also works inside a symbol you're editing in place.

Not there yet: Duplicate, Distribute, Arrange and recolouring across keyframes, scaling a motion tween's object on several frames, and dragging the shared pivot.

Scenes

A movie can have several scenes, each with its own timeline, played one after another.

Dropping files on the timeline

You can drag files from your desktop straight onto a frame:

A highlight shows the cell it will land in, and the drop is one undo step. Locked layers, folders and the camera layer won't take a drop, and AniCraft tells you why. See Images and sound for more.

Next steps