Auto-collapse SugarCube UI bar after link is pressed
Im using SugarCube 2.11.0 on Twine 2.0.11. I have added some links with the StoryMenu passage on the left sidebar (UI bar). With the button on the top you can expand and collapse the sidebar. Now I...
View ArticleUsing a variable to change variables linked to that variable in sugarcube
For my game I have 64 areas, each area has three slots for a commander with their own respective troop numbers, morale and special ability. I want to make it possible to remove or assign commanders to...
View ArticleTwine 2.1.0b4
This fixes several issues in beta 3, including one critical bug that can eat up space on your hard drive -- if you were using beta 3, please follow these directions to fix the problem. I should add--...
View ArticleTying other elements to passage transitions?
I'm just wondering if this is possible, since I don't actually know much about how Sugarcane Twine handles transitions. Basically I have a div that I appended to the body using jQuery like this:...
View ArticleHarlowe, 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 ArticleSugarcube basic stuff "no elements matched the selector" ???
It bordered me a while. I have a passage with only one single line <span id="morning"> ... Waken up.</span> <<link "Wake up">><<addclass "#morning"...
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 ArticleA new story - Humanity (NSFW)
Hi guys, first off thank you to everyone who has answered my questions so far during my time developing this game. its still in its early days and i haven't really mastered twine and the scripting as...
View ArticleIs it possible to have more than one correct answer for a variable?
Hello, I'm trying to make a puzzle, the solution of which is a birthdate. Because of different date conventions, I want to allow for February 14 1990 to be entered into the text macro as "140290" and...
View ArticleRemoving empty space at top
I'm making a Twine game; the passage needs to fill the entire page because I need it to look like various websites. I expanded the height and width of the tw-story element to 100%, but there's a bar of...
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 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 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 Article2 short games to try - 'I THINK I'LL STOP OFF ON THE WAY' and 'New Town, New Me'
I only just realised there is a forum despite having used Twine for a few years... These games are two of my best and most recent Twines (check out my itch.io for some of my older work if you liked...
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 Article