Changing link colors for tagged passages in Harlowe?
I'm trying to make a specific style to use for certain tagged passages. Right now I have this code in a passage called Header, which is also tagged header: { (print:...
View ArticleHow to access Harlowe variables in Javascript
Hello! I'm trying to make some randomization with images and it would be super useful to access variables I set in Harlowe inside the Javascript, but I can't find out how to do that... Here's an...
View ArticleIs there an easy way to show a few friends my story/game?
I really don't know anything about coding so when you guys on forums say things that aren't English i just have no clue what you're talking about. I tried to Just open up my story, copy the link from...
View ArticleLink macro not working
I'm still fairly to both Twine and SugarCube 2.0 so I'm probably missing something but no matter what I do, even when copy-pasting ready <<link> macros I still get an error "Error: macro...
View ArticleShaking screen/sound effects
Is there any macro that would make the screen appear to shake rapidly for a few second and then stop when a certain page is visited- maybe accompanied by a sound effect of some sort?
View ArticleSetting colors to the value of a variable
I'd like to set the colors of my text and background according to the values of variables. Unfortunately, I can't figure out how to evaluate a variable inside custom style markup. The following code...
View ArticleHow To Tell If A Day Has Passed
In my game, I want a system where every day you can get random loot. However, I don't know how to tell it when a day has passed. Is that possible? I use Harlowe.
View ArticleCSS for specific tw-passage tag
Sorry if it's a foolish question, but how to (if possible) target only the first passage tw-passage tag? I'm trying to stylize my screen title, but couldn't find a way to do it not targeting other...
View Article[SugarCube 2.9.0] Cloning an object and all sub-objects, and a question about...
Hello, I'm looking to clone an object and all of its sub-objects (and their properties) into a new object with a different name, but I didn't see a way of doing this in SugarCube 2's documentation. I...
View ArticleChange The Font Mid-Story
I am using Harowe. I currently have two (and am planning on getting more) fonts which I'd like to put into my story. I've imported them both, and I know how to change the font, I just don't know if I...
View ArticleHow To Use Quotation Marks Without Them Being Used In An Either Macro
Here is part of my game: (either: 'An enemy downs one of your teammate! (link: "Try To Save Him")[(either: "You go to save him, but you get attacked! (set: $all $ally - 1) [[Continue ->Fight]]","You...
View ArticleBetter way to prevent FOUC in Harlowe
https://en.wikipedia.org/wiki/Flash_of_unstyled_content It's happening only on my title screen, when the styles are loaded. Of course it's very annoying, and there are plenty of ways to prevent it with...
View ArticleImage placement help
I've never used codes other than the really really standard stuff. I'm using the stylesheet "The Earth's Story Illustrated" from This website. The problem is I can't figure out how to add a photo into...
View ArticleVariable inside of a link
As the title suggests, I'm trying to have a link change a variable. I am aware that this question has already been asked, but every answer I have found doesn't work. For reference, I am using Sugercube...
View ArticleA macro inside of a macro?
As the title suggests, I'm trying to figure out is I can make a macro inside of a macro. More specifically, I'm trying to make randomized ramifications to enter a village, a certain set of skills to be...
View ArticleIt doesn't work on tumblr?!
I dunno how to ask this as a question. I'm trying to post to tumblr. No I'm not trying to put it as a blog post, I'm creating an entire page and using only the HTML generated by Twine to power it.....
View Articleauto-scroll group chat...format?
so i'm a complete novice and i'm not sure if this is even possible? but i've been googling ferociously for two days because i really wanna make this happen. i'm using sugarcube in twine 2.0.11 and i'm...
View Article[SugarCube 2] Arrays within arrays?
Hello, I'm trying to figure out how to build a relationship matrix within Twine 2/Sugarcube 2. I feel I am missing something very basic here. I have $people[$i] where my people are described. For...
View Article[SugarCube 2] Array Functions
Hi, time for another newbie question. Is there a document or webpage the defines array functions in Twine 2/Sugar Cube 2? I've gotten examples of $array.push() and $array.pop() and $array.length that...
View Article[sugarcube] Image variable
I would like to make it so if a action is repeated in my story the image will be randomly selected from a list of 5 or so images everytime. I tried saying stuff like "set $image to either (image1.jpg,...
View Article