Tuesday, 8 August 2017

giangtranguyen: (Default)
[personal profile] giangtranguyen
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")]
giangtranguyen: (Default)
[personal profile] giangtranguyen
Just copy and paste the code into the passage, and then adjust it to your liking.

For example:

(set: $sec to 0)
(live:1s)[
 Seconds: $sec
 (set: $sec to it + 1)
 (if: $sec > 3)[3 seconds passed]
 (if: $sec > 5)[(go-to:"next")]
]

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 Friday, 11 July 2025 10:31 am
Powered by Dreamwidth Studios