Changing background color according to variable IN HARLOWE
Hi, I saw there was a post about this for Sugarcube formats, but was wondering if it is possible in Harlowe: I'd like to change the background color of my passages in CSS according to the value of a...
View Articlesugar cube blink text.
I have been looking through the docs and google to see if I can do this within sugar cube or if I need to do some code. Can I simply blink some text?
View Article[Harlowe] Making characters from a string "leak" into another using string...
Hey all, I'm working on a piece about corroding memories and I've managed to get the following working to my liking: (live: $corruptionspeed)[(put: (either: ...$replacementstring) into $memory03's...
View ArticleIs it possible to put superscripts in links?
I am trying to put in superscript numbers in links between pages in Twine Harlowe. For example, to do something like "I made $5000[[^^2^^]]." to act as a kind of footnote for the reader. Twine creates...
View ArticleWorking with save names
Using the example from docs, I can set a var as a save file name, like: (save-game: $playerName) Ok. But let's say my save is: (save-game:"Slot A", $playerName +","+ $day + "days , LVL " +...
View ArticleChanging variables in a string affects the printed output dynamically. Any...
Hello, everyone. I'm trying to create a random item generator and ran into some problems. I couldn't really explain my problem clearly in the title, so I'll just give an example: Example 1: <<set...
View ArticleCycling link issues
I have a stupid question, but I've been trying to work this out on my own for almost 2 days now and I've gotten no where. I'm working with a cycling link at the moment, but I cannot seem to get it to...
View ArticleHow I could apply the dissolve transitions to every hook at once?
Strangely enough, Twine 2 harlowe default transition "dissolve" only works for new passages, but not for the transitios of new text inside a node, for example, hooks and the click macro. I know I could...
View ArticleHyperlink leading to a passage dependent on location?
Hi there. I'm quite new to Twine (starting my first Twine game as we speak) but I'm wondering if this is possible to do: What if you have a hyperlink (quite a regular one) which can tell the player...
View Article[Harlowe] Arrays/Datamaps, creating a timetable
Harlowe, Twine 2. I was hoping someone could help me work through what I'm trying to accomplish. I've read up on arrays and datamaps but don't yet have the full sense of all the possibilities of those...
View ArticleChanging The Font With Macros
I know about the font macro, but that only has limited fonts it can use. I was wondering if I could import the font in the stylesheet, then integrate it with a macro, like this: (font: 'Dancing Script,...
View ArticleUsing Switch in Sugarcube
I cannot figure out how to use <<switch>> in Sugarcube 2.0 Everytime I try, I get "Error: macro <<switch>> does not exist" followed "Error: macro <<case>> does not...
View Article[SugarCube 2.9.0] Including External JavaScript Libraries
Hello, Is there a way to load external JavaScript libraries that will be used throughout the story in SugarCube 2? As a specific example, I'd like to make use of the Moment.js library...
View ArticleHow to restart a live macro
I'm trying to figure out how to build a simple "active battle system", with action bars. (live: $e1_time)[ (set: $e1_act_bar to it + (a:"█")) Count: $e1_count_bar;(set: $e1_count_bar to it + 1) Bar:...
View ArticleBackgrounds for harlowe won't work in chrome
Salutations, So I made a story which works when I test it, and works fine with safari, but doesn't load background images with Chrome. I tried a couple techniques and neither works. The first I tried...
View Article[SugarCube] Is there an equivalent in SugarCube to Harlowe's "link:" changer
Hey ho, I am trying to rewrite one of my projects I started in Harlowe into SugarCube and am wondering if there is anything in SugarCube like Harlowe's link-replace changers? I especially used the...
View ArticleIs it possible for players to export a section of a game?
I'm building a game in Harlowe. Is there a way for players of a game to export (to image or pdf) while in the game? For example, if an image is displayed with some text, can one give players the option...
View ArticlePassword input not working
Hi, I am working in Harlowe at the moment and I am pretty new to programming. I am trying to have the players input the right password so that they can go on. If they don't get the password right they...
View ArticleHow use "prompt" or something similar for numbers and not for strings ?
Hello, I'm actually using twinery 2, with Harlowe, for the first time, and I have a litle problem ^^' I want that the user put a number on a variable, so I used the macro "prompt" for do that, but...
View Article[Sugarcube] Cycling through background colors on the same passage
I originally had this Youtube video set to play as my background (warning, flashing colors): However, if possible, I'd rather just skip the video and have my background color cycle between red, green...
View Article