giangtranguyen: (Default)
[personal profile] giangtranguyen posting in [community profile] twine_tutorials
Just copy and paste the code into the passage, and then adjust it to your liking.

For example:
 
(set: $counter to 10)\
You have |amount>[$counter] seconds left!\
\
(live: 1s)[\
(set: $counter to it - 1)\
(if: $counter is 0)[(go-to: "Next Passage")]\
(replace: ?amount)[$counter]\
]

Or 

(set: $time to 2)
(live: 1s)[(set: $time to it - 1)
(if: $time is 0)[(stop:)(go-to: "Next Passage")]

Profile

Twine Tutorials

April 2018

S M T W T F S
1234567
8910111213 14
15161718192021
22232425262728
2930     

Style Credit

Expand Cut Tags

No cut tags
Page generated Monday, 18 August 2025 11:33 am
Powered by Dreamwidth Studios