Difference between revisions of "Time Offset Parameter"

From Synfig Studio :: Documentation
Jump to: navigation, search
m
m (Control the animation speed of a Group)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The "Time Offset" parameter is a parameter of the [[Paste Canvas]] layer.  It brings the animation of the entire contents of the referenced layer forward by the given value.  Using negative values it is possible to delay the encapsulated layer, too.
+
<!-- Page info -->
 +
{{Title|Time Offset Parameter}}
 +
<!--Categories-->
 +
{{Category|Parameters}}
 +
{{NewTerminology}}
 +
<!-- Page info end -->
  
The "Time Offset" can be animated, just like any other parameter, so it can be used in various non-obvious ways:
+
{{l|Image:Time_icon.png|64px}}
 +
 
 +
The {{Literal|Time Offset Parameter}} is a {{l|Parameter|parameter}} of the {{l|Group Layer}}. It brings the animation of the entire contents of the referenced layer forward by the given value. Using negative values it is possible to delay the grouped layer, too.
 +
 
 +
Note that the {{Literal|Time Offset Parameter}} applies to the contents of the {{l|Group Layer}}, not to the layer itself.  So if the parameters of the {{l|Group Layer}} itself are animated, such as its {{l|Origin Parameter}}, the {{Literal|Time Offset Parameter}} won't cause them to change.
 +
 
 +
The {{Literal|Time Offset}} can be animated, just like any other parameter, so it can be used in various non-obvious ways:
  
 
* ''Repeat'': Set the offset to 0s at 0s and to -10s at 10s, and the first 10 seconds of the encapsulated layer will play twice (at 0s through 10s, and 10 through 20s). At 20s it will continue to play as normal, but delayed by 10s.
 
* ''Repeat'': Set the offset to 0s at 0s and to -10s at 10s, and the first 10 seconds of the encapsulated layer will play twice (at 0s through 10s, and 10 through 20s). At 20s it will continue to play as normal, but delayed by 10s.
Line 7: Line 18:
 
* ''Reverse'': Set the offset to 10s at 0s, and to -10s at 10s, and the first 10 seconds of the encapsulated layer will play backwards.  After 10s, it will play forward, from the beginning.
 
* ''Reverse'': Set the offset to 10s at 0s, and to -10s at 10s, and the first 10 seconds of the encapsulated layer will play backwards.  After 10s, it will play forward, from the beginning.
  
See [[Media:Time-offset-demo.sifz|Time-offset-demo.sifz]] for an example of each of the above.
+
==== Examples ====
 +
 
 +
See {{l|Media:Time-offset-demo.sifz|Time-offset-demo.sifz}} for an example of each of the above.
 +
 
 +
See {{l|Time_Loop_Layer#Contrived_Example|this example}} for another use of the Time Offset Parameter, exploring the {{l|Time Loop Layer}}.
 +
 
 +
=== Control the animation speed of a Group ===
 +
 
 +
{{l|Convert#Convert}} the {{Literal|Time Offset Parameter}} to {{l|Convert#Linear|linear}}, and it will offers two sub parameters: {{Literal|Rate}} & {{Literal|Offset}}
 +
* ''Stop the animation'' : Setting the {{Literal|Rate}} to '''-1s'''.
 +
* ''Slow down it'' : Setting it to something between '''-1s''' and '''0s'''.
 +
* ''Play reversed'' : Set the {{Literal|Rate}} less than '''-1s'''.
 +
* ''Play accelerated'' : Set the {{Literal|Rate}} up than '''0s'''.

Latest revision as of 13:32, 27 January 2014

Languages Language: 

English


Type time icon.png

The "Time Offset Parameter" is a parameter of the Group Layer. It brings the animation of the entire contents of the referenced layer forward by the given value. Using negative values it is possible to delay the grouped layer, too.

Note that the "Time Offset Parameter" applies to the contents of the Group Layer, not to the layer itself. So if the parameters of the Group Layer itself are animated, such as its Origin, the "Time Offset Parameter" won't cause them to change.

The "Time Offset" can be animated, just like any other parameter, so it can be used in various non-obvious ways:

  • Repeat: Set the offset to 0s at 0s and to -10s at 10s, and the first 10 seconds of the encapsulated layer will play twice (at 0s through 10s, and 10 through 20s). At 20s it will continue to play as normal, but delayed by 10s.
  • Fast Forward: Set the offset to 0s at 0s and to 10s at 5s, and the first 10 seconds of the encapsulated layer will play at double speed (at 0s through 5s). After 5s it will continue to play at normal speed.
  • Reverse: Set the offset to 10s at 0s, and to -10s at 10s, and the first 10 seconds of the encapsulated layer will play backwards. After 10s, it will play forward, from the beginning.

Examples

See Time-offset-demo.sifz for an example of each of the above.

See this example for another use of the Time Offset Parameter, exploring the Time Loop Layer.

Control the animation speed of a Group

Convert the "Time Offset Parameter" to linear, and it will offers two sub parameters: "Rate" & "Offset"

  • Stop the animation : Setting the "Rate" to -1s.
  • Slow down it : Setting it to something between -1s and 0s.
  • Play reversed : Set the "Rate" less than -1s.
  • Play accelerated : Set the "Rate" up than 0s.


Languages Language: 

English