So I'm trying to do a simple animation of sorts, and I have a feeling I'm missing something really obvious, but I just can't figure it out for the life of me. I'm working in Twine 2, using Harlowe.
I want to have a page that says "Initializing..." and adds a dot to the end of the sentence every 0.2s or so, until the total length is about 30 characters long, or so. Then it will stop automatically. I wrote an (if:)/(else:) statement based on the length of the word, but that doesn't seem to be working... do I need to do something like set a variable to increment? What am I missing??
Here's what I've written so far - it works fine, it just never stops :)
Thanks so much in advance!!!
I want to have a page that says "Initializing..." and adds a dot to the end of the sentence every 0.2s or so, until the total length is about 30 characters long, or so. Then it will stop automatically. I wrote an (if:)/(else:) statement based on the length of the word, but that doesn't seem to be working... do I need to do something like set a variable to increment? What am I missing??
Here's what I've written so far - it works fine, it just never stops :)
(set: $init to "Initializing...")
$init
{(live: 0.2s)[
(if: (text: $init)'s length is 30)[(stop:)]
(else:)[(append: $init)[.]]
]}
Thanks so much in advance!!!