User Tools

Site Tools


harlowe:transition-time

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

harlowe:transition-time [2017/10/09 20:39] (current)
Line 1: Line 1:
 +**(transition-time:​ // [[harlowe:​Number|Number]]//​) -> //​[[harlowe:​Changer|Changer]]//​**
  
 +Also known as: [[harlowe:​t8n-time|(t8n-time:​)]]
 +
 +A [[harlowe:​Command|Command]] that, when added to a [[harlowe:​transition|(transition:​)]] command, adjusts the time of the transition.
 +
 +=== Example usage: ===
 +
 +''​%%(set:​ $slowTransition to (transition:"​shudder"​) + (transition-time:​ 2s))%%''​ creates a transition
 +style which uses "​shudder"​ and takes 2 seconds.
 +
 +=== Details: ===
 +
 +Much like [[harlowe:​live|(live:​)]],​ this macro should be given a [[harlowe:​number|number]] of milliseconds (such as ''​%%50ms%%''​) or seconds
 +(such as ''​%%10s%%''​). Providing 0 or fewer seconds/​milliseconds is not permitted and will result in an error.
 +
 +=== See also: ===
 +
 +[[harlowe:​transition|(transition:​)]]
harlowe/transition-time.txt ยท Last modified: 2017/10/09 20:39 (external edit)