This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
iceee:development:scriptedanimation [2015/06/10 09:54] emerald created |
iceee:development:scriptedanimation [2015/06/10 09:57] (current) emerald [Sequence Structure] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Scripted Animation ====== | ====== Scripted Animation ====== | ||
- | * Initiated with a single server side script code that takes a **Prop ID** and **Sequence** | + | * Initiated with a single server side script code that takes a **Prop ID** and **Sequence** |
- | * Each sequence consists of multiple **Frames** that run for a specified **Duration**. When the duration is reached, the sequence moves on to the next frame until there are no more frames. | + | * Each sequence consists of multiple **Frames** that run for a specified **Duration**. When the duration is reached, the sequence moves on to the next frame until there are no more frames. |
- | * Each frame consists of one or more **Transforms**. Multiple transforms within a single frame all run in parallel. | + | * Each frame consists of one or more **Transforms**. Multiple transforms within a single frame all run in parallel. |
===== Sequence Structure ===== | ===== Sequence Structure ===== | ||
Line 10: | Line 10: | ||
- | ``` | + | <code> |
{ | { | ||
frames = | frames = | ||
Line 19: | Line 20: | ||
transforms = | transforms = | ||
[ | [ | ||
- | // Transform parameters | + | // Transform 1 |
+ | { | ||
+ | .... | ||
+ | }, | ||
+ | |||
+ | // Transform 2 | ||
.... | .... | ||
] | ] | ||
Line 27: | Line 33: | ||
], | ], | ||
| | ||
- | .. | + | .... |
} | } | ||
- | ``` | + | |
+ | |||
+ | </code> | ||
Line 45: | Line 53: | ||
- | ``` | ||
- | |||
- | ``` | ||