User Tools

Site Tools


iceee:development:scriptedanimation

This is an old revision of the document!


Scripted Animation

* 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 frame consists of one or more Transforms. Multiple transforms within a single frame all run in parallel.

Sequence Structure

A sequence structure is a Squirrel table made up of nested arrays, tables and primitives.

``` {

  frames = 
      [            
          // Frame 1
          {
              duration = ..,
              transforms = 
              [
                  // Transform parameters
                  ....
              ]                
          },
          // Frame 2
          ....
      ],
      
      ..

} ```

Transformation Types

Scale

Rotate

Translate

Goto

```

```

iceee/development/scriptedanimation.1433926494.txt.gz · Last modified: 2015/06/10 09:54 by emerald