I'm making my first game, and I've started applying classes to links (I'm using Harlowe, btw). I don't how this is usually done, but I'm probably not doing it right because I'm getting some strange results. I've been doing it like this:
Before adding class:
Your cast itches.
After adding class:
<span class="hideClass">Your cast itches.</span>
When I do this Twine creates a new passage to link to. The line between the two passages that were origonaly linked disappears on the story map as if that link is missing or broken. What's weird is that when I actually play through the game the original link still works fine. Why is this happening? I'm worried that the links won't work when I actually publish the game.
Comments
You could place the span element outside the markup link: ... although you would need to change your hideClass CSS selector to something like:
.hideClass:hover, tw-hook:hover {
text-shadow: 0 0 5px #FFF;
}