LGUI2:AnimationType:chain

From Lavish Software Wiki
Revision as of 03:12, 16 November 2018 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

The chain Animation Type allows a sequence of Animations to be performed, one after another.


Animation properties

A chain Animation uses these properties in addition to those defined by Animation
Animation properties for "chain"
animations A JSON Array of Animations!


Examples

Slide to 0,0 and then to 1500,0
 {
   "type": "chain",
   "name": "backAndForth",
   "animations": [
     {
       "type": "slide",
       "name": "back",
       "destination": [ 0, 0 ],
       "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