Skip to main content

Interface Animation

Ways to animate the appearance and disappearance of popups and individual graphic items.

Popup Animation​

In the Animation panel, you can create a list of animation effects and apply them to the popups in your project. Animation can run when a popup appears (Show) or disappears (Hide).

Studio2019_Animation_PopupEffect.png

  1. Create animation effects in the Animation panel,
  2. Select a popup from the list and apply the effects to it.

Type. Animation effect types:

  • Fade - fading - the popup changes its opacity;
  • Rotate - rotation - the popup moves while rotating around its central axis;
  • Slide - appearance - the popup slides in from beyond the edge of the screen or from behind itself;
  • Scale - expansion - the popup increases or decreases its X and Y coordinates from zero to the specified values;
  • TV Scan - panorama - the popup appears as its width changes from zero to the specified value.

Effect settings:

  • Duration (ms) - animation duration;
  • Delay (ms) - delay before the animation starts;
  • Tweener - the direction in which the popup moves when appearing or disappearing.

Graphic Item Animation​

Appearance changes are available for every item with 2 states: a button changes state when pressed, a level fills, and so on. States can be changed and configured. See item types and configuration options.

Studio2019_Animation_statesChange.png

Transition animation from an item's off state to its on state, looping animation, and distinct appearances for different item states are provided by Multistate items (Button, Level).

MB5.gif MB4.gif MB3.gif MB2.gif

See all settings for animated items (Multistate) .

Example: an item plays an animation in a loop (a loading process or an animated logo):

  1. create an item of type Multistate Button ;
  2. set the following item settings: Loop animation: true - repeat in a loop;
  3. set the following item settings: Feedback:
  4. Momentary - active while pressed; the animation runs while the user holds the item;
  5. On - always active; the animation runs continuously;
  6. Blink - active when the item's Value property receives true; the animation runs while the project variable linked to the item through Relations is active;
  7. create the required number of frames (item states) and assign images to them in playback order;
  • TimeUp and TimeDown (ms) - the rate at which animation frames change during forward and reverse playback. To return the item immediately to its initial state after playback, set TimeDown: 0. Studio2019_Animation_ms_settings.png

Quick effects for Multistate buttons automatically create an animation effect based on the button's first (inactive) state.
Add an image to the project and click the quick-effect button on the toolbar.

FastEffect.png

In the modified state's settings, specify:

  • The image offset relative to the original,
  • The new state's transparency (the item's alpha channel),
  • The text color and size in the new state.

FastEffect2.png