Difference between revisions of "LGUI2:AnimationType:delay"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
  
 
== Animation properties ==
 
== Animation properties ==
; A delay Animation uses these properties in addition to those defined by [[LGUI2:Animation|Animation]]
+
; A delay Animation uses no properties beyond those defined by [[LGUI2:Animation|Animation]]
{| border="1" style="border-collapse:collapse" cellpadding="5"
 
!colspan="2"|Animation properties for "random"
 
|-
 
! duration
 
| A numeric value specifying the number of milliseconds to delay for
 
|}
 
 
 
  
 
== Examples ==
 
== Examples ==

Latest revision as of 03:03, 19 November 2018

The delay Animation Type does nothing for a specified duration


Animation properties

A delay Animation uses no properties beyond those defined by Animation

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