Animation Timing
A timing controls the length of a frame in an animation
by generating a sequence of time intervals. Each timing has a fixed number of steps and a fixed
time for each step. If an animation has more frames than its timing, the timing is repeated.
| Item type | Series |
| Description | a series of consecutive timings |
| Action | - |
| Condition | - |
| Key | Type | Default | Description |
| timings | [Timings] | | a list of timings |
| Item type | Timing |
| Description | a list of time intervals |
| Action | - |
| Condition | - |
| Key | Type | Default | Description |
| times | [int] | | a list of time intervals in ms; each number is one frame |
| Item type | RandomTiming |
| Description | a random time interval |
| Action | - |
| Condition | - |
| Key | Type | Default | Description |
| min | value | | lower time limit |
| max | value | | upper time limit |
| steps | value | 1 | number of steps |
| Item type | Acceleration |
| Description | an accelerated timing |
| Action | - |
| Condition | - |
| Key | Type | Default | Description |
| time | value | | the total time of all steps |
| steps | value | 1 | the number of steps |
| acceleration | value | 0 | the acceleration (1/100 of acceleration power) |
| speed | value | 0 | the base speed (in percent) |
An acceleration changes the length of its time intervals depending on the time already passed.
The acceleration power determines how much the timing is accelerated and the speed how fast
the timing already is without acceleration. The time is the total time the acceleration needs and
the steps is the number of steps (frames) this time is divided into.
- sign of acceleration
- a positive acceleration speeds up
- no acceleration is a constant speed
- a negative acceleration slows down
- value of acceleration
- a value of 0 is no acceleration
- a value of 100 is a linear acceleration (power 1)
- a value of 200 is a quadratic acceleration (power 2)
- value of speed
- a base speed of 0% means an acceleration from/to zero
- a base speed of 50% means an acceleration from/to the half speed
- a base speed of 100% means a constant speed without acceleration
Note: You may use the accel.exe utility
to compute the time intervals for an acceleration.