How to change text colour?
hey! i am trying to change my text colour to white but every code i use don't work.... i can change the background but i want it black...... i have tried body { background-color:black; color:white;}...
View Articleturning javascript function into widget (sugarcube 2)
Hey everybody! I have a very similar issue to the one I had here, where @TheMadExile exile helped me out big time, so I tried to follow his steps as exactly as I could. So, I have a javascript function...
View ArticleHigh Scores?
So, I'm toying with an optional feature in a game for a few friends. Is there any way to make a game that can give data to another program? I've searched here and on the wiki, but various keywords I...
View ArticleMaking scene changes using only images?
So, right now I'm working on a project where I want to only use images to tell most of the story. Would it be possible to allow users to click an image and go into another scene as opposed to letting...
View ArticleCompare problem
My test code is: {(set: $target="12") (set: $current="$num1"+"$num2") (set: $num1 = "1") (set: $num2 = "2") (set: $test = "12") $target = $current? (if: $target is $current)[ YES] (else:)[NO]...
View ArticleHow to limit the amount of characters a user can enter
(I'm using twine 2.0, Harlowe) Basically I want users to be able to choose their own names so this code seemed like a good idea: (set: $name to (prompt: "What's your name?")) name: $name the problem...
View Article[Harlowe] When I use the Align macro there's a delay between the aligned and...
Right now I've got a page that looks like this: (align: "=><=")[GARDEN] I stepped into the garden When I run this, the GARDEN header appears on screen first, then about a half-second delay, then...
View ArticleIs there a way to change the size/width of SugarCube2's textbox?
I'm using SugarCube2's <<textbox>> macro for something like a RPG character sheet, for inputting names and such. Ideally, I'd like to adjust the width of these boxes so I can control the...
View ArticleHarlowe String Compare
Hi. Please help me out. I have a set a variable $hypothesis to a string that is created at runtime in the story. Is there a way to compare a string against the variable or specifically look for word or...
View ArticleUsing datamap key/value as passage name?
For Harlowe: (set: $character to (datamap: "Name", "Joe")) In Twine, I have a passage named $character's Name and I am linking to the passage with: (print: "[[" + $character's Name + "]]") The Link is...
View ArticleRandom Event to re-occur
Hello, I am trying to create a random event that triggers every time you click on a passage. So far it is working for the very first time the player triggers it, but then it gives the same event over...
View ArticleHow to break passage transition into paragraphs?
Hello! I'm in the middle of fixing up my CSS stylesheet, but I'm not sure how I can make each paragraphs within a passage transition separately per click? the link will appear at the end of the passage...
View ArticleBasic variable-setting questions
Sorry for the dumb/obvious question, but I want to set a variable called, say, $purpandboldandimpact to make anything it's attached to purple, bold, and in impact font. I know how to do any one of...
View ArticleEmbedding crossword puzzles in Twine
Hi, I am using eclipsecrossword (http://www.eclipsecrossword.com/) to generate javascript crossword puzzles that I want to embed in a Twine 2 Harlowe story. I can get the source code for the crossword...
View ArticleProgress Bar. How to tell a player how many passages they haven't viewed.
I wanted to ask how I would go about letting the player know what percentage of the game's passages they've visited? As a way of letting them know how much of the game's content they haven't seen...
View ArticleLinking words to definitions
I'd like to make words in my Harlowe story connect to definitions - like a pop-up glossary term. Using (link:) or ( click:) macros aren't doing exactly what I want - I'd rather have the definition text...
View Article[SUGARCUBE 2] cycle
Hello everybody, this is my first post in the forum and I'm new to Twine, so.. hi I'm Alessio and I'm from Rome sorry for my bad english in advance :P I started building my very first game yesterday,...
View ArticleAdding externally hosted custom fonts?
I tried a code set mentions below, but it doesnt seem to work for sugarcube, or it bugs in a way I'm not proficient enough yet to figure out? I have a few, and I want to some outside the main body for...
View ArticleClick Macro in Harlowe
Hi everyone, I'm trying to attach sound files to different sentences in my story. I would like the user to be able to click on an image and here the .wav file multiple times. Below you can see that I...
View Article