User Tools

Site Tools


harlowe:transition-arrive

Differences

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

Link to this comparison view

harlowe:transition-arrive [2019/04/16 03:31] (current)
l created
Line 1: Line 1:
 +**(transition-arrive:​ //​[[harlowe:​string|String]]//​) → //​[[harlowe:​changer|Changer]]//​**
 +
 +Also known as: [[harlowe:​t8n-arrive|(t8n-arrive:​)]]
 +
 +A [[harlowe:​changer|changer]] that alters passage links, [[harlowe:​link-goto|(link-goto:​)]]s,​ and most every other kind of link, changing which passage fade-in animation the link uses.
 +
 +=== Example usage: ===
 +
 +  * ''​%%(t8n-arrive:​ "​instant"​)[[Next morning]]%%''​ changes the ''​%%[[Next morning]]%%''​ link, such that clicking it takes you to the "Next morning"​ passage, which instantly pops in instead of slowly fading in as usual.
 +  * ''​%%(enchant:​ ?Link, (t8n-arrive:​ "​instant"​))%%''​ causes ALL passage links to use the instant pop-in. This is best used in a "​header"​ or "​footer"​ tagged passage.
 +
 +=== Details: ===
 +
 +This macro accepts the exact same transition names as [[harlowe:​transition|(transition:​)]]. * "​instant"​ (causes the passage to instantly vanish) * "​dissolve"​ (causes the passage to gently fade out) * "​flicker"​ (causes the passage to roughly flicker out - don't use with a long [[harlowe:​transition-time|(transition-time:​)]]) * "​shudder"​ (causes the passage to disappear while shaking back and forth) * "​rumble"​ (causes the passage to instantly appear while shaking up and down) * "​slide-right"​ (causes the passage to slide in from the right) * "​slide-left"​ (causes the passage to slide in from the left) * "​pulse"​ (causes the passage to disappear while pulsating rapidly)
 +
 +Attaching this macro to a hook that isn't a passage link won't do anything (no error message will be produced).
 +
 +You can't combine transitions by adding them together, like you can with [[harlowe:​text-style|(text-style:​)]] - ''​%%(t8n-depart:"​dissolve"​)+(t8n-depart:"​shudder"​)%%''​ won't make a transition that simultaneously dissolve-fades and shudders.
 +
 +=== See also: ===
 +
 +[[harlowe:​transition-depart|(transition-depart:​)]]
  
harlowe/transition-arrive.txt · Last modified: 2019/04/16 03:31 by l