Help with if and updating variables.
So I have a problem I can't solve and reading the documentation when I'm not sure what I'm looking after have been ineffective. I have a room(guild hall) the player enters with two variables set...
View ArticleHow to offer choices to the player (variable name)
Hello I'm struggling because in my story I'd like to offer choices to the player. I want the player to choose the name of his/her friend, but instead of asking the player "what's your friend name?" I...
View ArticleChanging image size/resolution in Harlowe
Hi! So nearly done on a big project I've been working on. The story itself is finished, now I'm trying to make it look pretty. I've worked out how to make a youtube dukebox so I can have music, and I...
View ArticleHow I can make to integrate a random event into a history ?
Hello everybody! I would like to add a random event to my story but all the formulae which I found do not work. Then I question you: how can it be done? My event includes 2 possibility : if you are...
View ArticleHow do I centre a single line of text in a passage?
Completely bamboozled by the Harlowe documentation on this, and I can't find much on the forum either. I want to centre single lines of text in a number of passages and I cannot for the life of me work...
View ArticleImplementing and editing a complex object (Sugarcube)
Alright, so let me begin with an "I'm fairly new to Twine and most of my shenanigans so far have been tinkering. This is no exception." So, let's say I have an object $car. A car is not made up of just...
View ArticleHow to store strings and vars inside another var
Sorry if I wasn't clear, maybe I don't know how to explain, only showing. Let's suppose I have this: You've found a shield!(click:"shield")[(set: $inventory to it + (a: $shield))] So when the player...
View ArticleProblems with (set:) and (live:) and (transition:)
Hey, I'm using Harlowe and I want to use the transition macro to make a text constantly pulse. Now as I read the transition-time command doesn't work at all, so I made it work like this: (set: $wub to...
View ArticleHide Header/Footer in some Harlowe passages?
Hi all, I want to keep my header/footer hidden in some introductory passages (maybe 20) until the variables they contain need to be seen by players. How can I do this? Thanks in advance.
View ArticleStrength checks?
Hi again. I'm using Harlowe. I used this code in order to allow characters to set their attack: Attack: [$Attack]<Attack| (link-repeat: "+")[(if: $points > 0)[(set: $points -= 1)(set: $Attack +=...
View Articlecss background border around text
Hello i would love to make a background image with css, and than add a border around my text where the background of this box around the text is black and like 40% that you can look through. That all...
View Article[Sugarcube] Transferring Stylesheet from version 1 to Sugarcube 2.0
Hello all! So this has been a problem that's been in my crosshairs for a while, but seeing as how (for me at least) it's not been a gnawing, pressing or detrimental problem I've been putting it off to...
View ArticleCalling on Java script in a passage [Sugarcube, Twine 2x]
I'm assuming that javascript is interchangable between both versions of sugarcube here so I sincerely hope I am right x) So I had been browsing the Sugarcube wiki for some time and still hadn't found...
View ArticleAny method for analyzing performance?
I made it: my Twine (Harlowe) has become nearly unplayable due to performance. The fastest passage takes more than 4 seconds to render, it freezes the browser for most of that time, and it will surely...
View ArticleKind of a stupid question, but how do i center the title of my story (SugarCube)
So I've been hunting around for this answer, but i can't seem to find it. So how do i center just the title of my story using the Sugarcube format of twine, because i thought that it just normally went...
View ArticleFont changes size depending on how much text the passage is displaying
I couldn’t find anything on the forum about this. I’m using Harlowe. I’m trying to make my stories look pretty in mobile devices but text is always too small, even when I override the… 6 screen sizes,...
View ArticleDiscrepancy between the wiki and the actual download
Hello Folks, I'm posting this here instead of trying to change the wiki, because I'm new to Twine and not sure if I'm seeing something wrong or if the wiki is wrong (that is what I suspect): The wiki...
View Article[sugarcube 2.x] Selector error with if statements...
Ok so I am trying to create a passage that shows different text based on which passage the player came from. I watched a tutorial explaining how to use <span> in conjunction with...
View ArticleIs there a way to make a button hidden until a user clicks something?
I need to make sure that a user can't progress until they've selected an option from the checkbox To make my purpose more clear, when the user enters the "Shop", they can select an item to buy using...
View Article"like" or "thumbs up" passages - voting system
Hello everybody! I am currently using twine in a language class, with the entire class colaborating on the same story. I have my students read the passages of the other students and continue their...
View Article