Timed text that can appear early with click

Twine Version: 2.3.5
Story Format: Sugarcube 2.30.0

I’m making heavy use of the <<timed>> macro in my new story to reveal lines one at a time:

<<timed 1s t8n>>First, <</timed>>
<<timed 2s t8n>>second,<</timed>>
<<timed 3s t8n>>and third.<</timed>>

A tester mentioned wanting to be able to click or press a key to skip the fade in animation and timed aspect and just see the next line, like you can in a VN interface. I’ve looked around and found ways to show the next line with a keypress, but not any ways to show timed text early that way. Is there a workaround for this kind of thing?

There’s an older thread about a similar thing on the forum that might interest you.

1 Like

Hey, thanks! I poked around the forums but I must have been searching with the wrong keywords because that thread didn’t come up in my search!

That absolutely looks like it will work. I admit JavaScript is, of the languages used by Twine, the one I’m weakest in, so we’ll see if I can manage to make proper use of it.


Same. JavaScript can be very overwhelming (it is to me often still), especially compared to HTML/CSS or TwineScript. :people_hugging:

1 Like