So I've got a story which has some (click-replace:) links, like this:
Numberless(click-replace: "Numberless")[Numberless grains(click-replace: "grains")[grains of sand(click-replace: "sand")[sand,
<div style="text-indent: 10em;">[[tumbling->Prologue 4]]</div>]]]
And I've also got a timer running in my story's header passage, which updates every second:
{
(live: 1s)[
(if: $timeMoving is true)
[
<!-- Calculate stuff -->
code...
<!-- are we dead yet? -->
code...
<!-- check to see if energy hotspot moves -->
more code...
<!-- death stuff -->
even more code...
<!-- print header line: -->
code that prints text on the top of the screen...
]
]
}
-----------------------------------
My problem is, every second my click-replace links flash the same color as the main passage text, like this:
Click here for a gif of the problem.
(I changed the text color to purple to find out where the flash color was coming from; turns out it's just the same color as tw-passage.color.)
One strange thing is that this only happens when playing a compiled html version of the game, not in the Twine editor when previewing the story.
Does anyone have any suggestions for how to stop these links from flashing, or a solution instead of using click-replace which would not flash? My only options right now are to either change the passage and link colors to be more similar (which defeats the UI purpose of having links that stand out), or change the frequency of live: to something less distracting - but the whole point of this game is that it has a ticking clock at the top of the screen, so that would be terrible.
Any help appreciated.