Difference between revisions of "LGUI2:AnimationType:delay"

From Lavish Software Wiki
Jump to navigation Jump to search
(Created page with "The delay Animation Type does nothing for a specified duration == Animation properties == {| border="1" style="border-collapse:collapse" cellpadding=...")
(No difference)

Revision as of 17:52, 15 November 2018

The delay Animation Type does nothing for a specified duration

Animation properties

Animation properties for "random"
duration A numeric value specifying the number of milliseconds to delay for


Examples

Slide back and forth, with a delay of 1000ms between slide Animations
{
  "type": "chain",
  "name": "backAndForth",
  "animations": [
    {
      "type": "slide",
      "name": "back",
      "destination": [ 0, 0 ],
      "duration": 1000
    },
    {
      "type": "delay",
      "name": "delayBackAndForth",
      "duration": 1000
    },
    {
      "type": "slide",
      "name": "forth",
      "destination": [ 1500, 0 ],
      "duration": 1000
    }
  ]
}


LavishGUI 2 Animation Types

Basic Animations
fade - slide - value
Utilities
chain - composite - delay - random - repeat