Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Change colour of cycling links & adding audio in Harlowe

$
0
0
Sorry for flooding the forum with questions.
I'm using Twine 2, Harlowe, and I'd like my cycling links to be a different colour than my regular links. I tried to model the code for this after the code for the colours of my other links/hovering links/etc, but since I am simply guessing, I'm not surprised nothing is happening. This is what I tried putting in my Story Stylesheet:
tw-link.class:cyclingLink {
color: #cc66ff)
font-weight: bold;
}

I also tried putting ' ' around cyclingLink, and using = in place of : after class. To no avail, probably for some obvious reason. I don't even know if Harlowe recognizes cycling links in this way. If not, is there some other way I could differentiate link types? Or perhaps I need to be adding this to the post itself? I tried that too, but no dice.


My other question, so as to not clog up the board even more, is about inserting audio into the story. I would like to implement looping background music. I've been looking around, but everything I've seen pertains to SugarCube and not to Harlowe. I tried using the SugarCube method, but surprise surprise, it wasn't compatible. I'm aware that I'll need to upload my music to a hosting site for this to work, but the ones other threads recommended are broken links. Is anyone aware of functioning sites I could use?
As a side note, I only have the one audio track for now, but in future I think I'll probably want to add new tracks for certain scenes or whatnot. I dont know if that influences the coding I should use or not.

Thank you so much for all your patience! I really am enjoying myself so far, even just with the learning process!

Viewing all articles
Browse latest Browse all 1844

Trending Articles