0 votes
by (750 points)

1.) Is there a way to make background colors transparent or semi transparent?

2.) How to make music play throughout passages on a loop? how do you make a 'mute' option? and stop the music so it can transition to another sound?

3.)How to make links play sound when clicked then goto [[passage]] like normal after pressed?


4.)Is it possible to make a image for a border around the twine game? think of it like a overplay border or a 'picture frame' around the game.


5.)How do you make scrolling text? make text disappear after X seconds?



sorry to bog you guys down, I have been using Twine for 1 year now and I learned a lot from all of your help. Lately I learned more about CSS and intermediate Twine commands I'm eager to see what I can do with it.

1 Answer

+1 vote
by (63.1k points)
edited by

Yes, this is all possible. 

1) use CSS. 

#some-element {
    background: transparent; 

You can also use rgba to make a semi-transparent colored background. 

2) http://www.motoslave.net/sugarcube/2/docs/macros.html#macrocat-audio

3) use the <<link>> macro to attach code to links. 

4) https://developer.mozilla.org/en-US/docs/Web/CSS/border-image

5) you can use css, DOM macros, or jQuery animations to scroll, hide, and fade elements out pretty easily. 

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.