I’m using Twine 2.3.5, with Sugarcube 2.30.0.
I’m running several macros together to create a conversation between two characters in a passage. One character speech box appears, says something, and then disappears to be replaced by the next character’s speech box and so on.
I’m using Chapel’s speech box macro to create the speech box, Matt Boldt’s typed.js macro so characters’ speech text types itself out, and Chapel’s fading macro to fade between characters’ speech boxes at timed intervals. I.e. fade out character A’s speech box at this time, fade in character B’s speech box 100ms later.
The problem is it’s really clunky and unreliable. Sometimes speech boxes overlap, sometimes there are large gaps between them, and sometimes they just about work - all without me changing the timings.
I’m also aware that playing with the timings to get them almost right has taken me ages and this is only one passage of many.
Here is some of my passage code:
<</fadeout>><</fadein>><<fadein 100ms 10s>><<fadeout 100ms 29s>><<father>>@@.typed;"Father character saying stuff, blah blah blah".<</father>><</fadeout>><</fadein>><<fadein 100ms 29100ms>><<fadeout 100ms 32s>><<you>>@@.typed;"You character saying some other stuff, blah blah blah"<</you>><</fadeout>><</fadein>>
I feel there must be a more elegant solution where one event finishing triggers the start of the next, but I can’t work it out. Can you help please?