Harlowe, Twine 2.x Tricks and Tips
Hi all, first time poster and Twine newbie! Long ago, I was the writer for a massive multi-ended game. The whole thing racked up to 400-500k words, so pretty much the Lord of the Rings trilogy. There...
View ArticleIs there any way to pick highest values out of a Datamap?
A Harlowe 1.2.2 question. So, I have a list of competitors for an election that I thought should be stored as a datamap of names, each name paired with a random value representing electability. Is...
View ArticleHow Do I Change Variable Values in Harlowe?
I want to make a variable's value go up when you select certain passages. I can't use "set" for this because the player is able to go back on some passages that involve exploring objects in rooms, so...
View ArticleMulti-step 'if' statements
I'm having trouble figuring out the syntax for multi-step 'if' statements in Harlowe that don't have a text output. Basically, I have pre-declared a $character variable and a $bonus variable, and the...
View ArticleAssigning values to an object from a list of random objects in sugarcube
Hi, For my game I need to be able to assign commanders with pre determined stats to a specific location at random. What I mean by this is: I have a commander spot (Commander1) which has to be filled...
View ArticleNew Game Plus in Harlowe / History Erasure
Hi all, I'm currently using the (history:) macro to track if players have interacted with NPCs in the story I'm writing. It's a lot more convenient than setting flags for every event. However, I'm...
View ArticlePuzzles/Problems Inspiration
I'm approaching the time when I need to be thinking about the ending of my game and I would obviously like something that feels quite 'big'. I've tried to make my gamebook feel as much like a parser...
View ArticleHarlowe 2.0.0 beta
The beta for Twine 2.1.0 contains a beta for Harlowe 2.0.0, which can be enabled by selecting it in the story formats menu. (It should be default for new stories, but…?) I'd appreciate it if anyone...
View ArticleHow to set arrays and datamaps in SugarCube...
I am currently learning how to use SugarCube (and trying to port my Harlowe story into SugarCube) and can't find information on how to set a datamap. I understand that to set an array in SugarCube, you...
View ArticleIncreasing variable value on button click.
Sorry if my description doesn't make sense, I'll try my best to explain. I'm using Twine to make a "Pick a choice" kind of game. Each option adds a point into one section before moving onto a random...
View ArticleBlogging my game?
When the blurb for Twine says that because games are saved as html files and can be uploaded anywhere, what does this mean exactly? Could I, for instance, use a blogging platform and provide a link...
View ArticleAudio only mistake (sugarcube 2.11.0)
I've made a bit of a mistake at one of my passages, where I'm wrongly relying on the audio to tell the player what's going on. All this works as it should, but I need to trigger two lines of text - one...
View ArticleEnd credits
I'm looking for the CSS that will give me a fade in / fade out on the text, for the closing credits to my game. I need the credit to fade in, hang around for a second or so, then fade out before the...
View ArticleConversations like in a chat(sugarcube 2)
Hello nice people! I'm using sugarcube 2 and I would like to do something like this, but in a clever way. Can anybody help me, please? <<replacelink>>Me: "Hi!" <<becomes>>Me:...
View ArticlePassages randomly disappearing?
I've checked the known errors logs but didn't see anything on this. Towards the end of my game's completion I had a couple of passages disappear from the grid. One of these instances must have happened...
View ArticleAdd onBlur behavior to SC2 macro
I have some user input data (name, email, phone nr.), that I´d like to validate using an input field's onBlur behaviour. In HTML, what I am looking for, would look something like this: <fieldset>...
View ArticleSidebar Harlowe Twne 2 Images
Hi there, First time posting here - am wondering how best to include an image in the sidebar of a Harlowe styled Twine game. I want the image to change as the game evolves so putting the image as a...
View ArticleImport over-right?
I have a vague recollection of a brief discussion sometime about this little quirk of Twine's, but why exactly does importing a game with a different file name, over-right the one that's already...
View ArticleCreating random items
Hello everyone! Currently I'm working on creating a small game and I am rather fond of random things but I am currently running into a problem. I try to create random things, let's say like this:...
View ArticleHow to run a function when any variable changes?
How can I be notified when a variable is set? In any of the languages. (Preferably Harlowe, but if I have to switch language I could) I dug into the Harlowe code, and found that VarRef contains exactly...
View Article