🍱Channels

Working with behaviors and animation channels

A channel performs a specific animation or function and is displayed in the Timeflow view on its own horizontal row below each object. Channels can be selected individually by clicking on the channel name.

Tracks (on the same row as the object) are also a type of channel used to control the active state of the object and its behaviors.

Selection Behavior

When a channel is selected, it also selects the game object it is on.

To perform an operation on just the channel, hold the Control key and click on the object to deselect it.

Channels and Behaviors

Channels belong to behaviors. A behavior is a component on the game object deriving from the TimeflowBehavior base class. Some behaviors such as Keyframer can have any number of channels, whereas others such as Tween only have 1 channel per instance, and yet others may have no channels at all.

Whenever a new channel is added to an object, the corresponding behavior is created if needed. Likewise when channels are removed, the behavior is also removed if it no longer has any channels.

Behaviors are not listed directly in the Timeflow view, but are managed and edited using the Inspector view. It's best therefore to use a layout which allows simultaneous view of the Inspector and Timeflow windows, as shown in the screenshot below.

Selected channels are highlighted in their label color in both the Timeflow view and inspector.

This layout is included in the samples. See Recommended Layout

Adding Channels and Behaviors

Right-click on an object to display a context menu listing additional options including the ability to add new behaviors and channels. Each section starting with "Add" relates to a particular type of behavior. Some of these have channels that target a specific property (as shown below) while others may provide a single option to add a general behavior.

Add Animation > Channel creates a standard keyframe channel, belonging to the Keyframer component which may have any number of channels. Other behaviors such as Tween creates just 1 channel. Most channels map to a Property, discussed further on the next page.

Each type of behavior can have its own type of channel, which may or may not use keyframes. Every behavior can implement its own custom GUI and graph display to better represent its unique features. You'll notice for example that the Tween channel shown in the screenshot above draws a wavy line instead of keyframes, since its animation is generated procedurally.

Working with Channels

Keyframe and Graph Controls

To the right of each channel name is a set of keyframe controls for channels that supports keyframing. Other types of channels may produce procedural animations.

  • Click the center diamond icon to set a new keyframe or unset an existing one.

  • Use the left and right arrow to jump to the subsequent or preceding keyframe on the channel.

For more details see Track View and Graph View

Selection Methods

Channels can be selected in the following ways:

  • Click on the channel name in the object panel to select an individual channel.

  • Hold Shift to select a range or grow/shrink the selection.

  • Hold Control to select or deselect specific items.

  • Click and drag a marquee from any empty area in the object panel to select multiple channels.

  • While the object panel has focus (click anywhere inside it) use the keyboard shortcut Control + A to select all channels currently displayed.

Info Panel

In the bottom left corner of the Timeflow view, information about the current selection is displayed. This expands to show additional properties when keyframes or other types of objects are selected.

When channels are selected, it displays the count and a color field which can be used to assign a new track color to the selected channels.

For more information, see Info Panel

Reordering Channels

Channels can be reordered by dragging and dropping them in the view.

Drag Duplicate

Hold the Control key while dragging selected channels to duplicate them. A plus sign + is displayed in front of the channel names being dragged to indicate that copies will be created when released.

For more channel commands and menu options, see Channel Menu.

Last updated