Increasing Maximum Loop Iterations [Basic]
So I am led to believe the magic words are: config.macros.maxLoopIterations = 10000; But I don't know where to put them so it works.
View ArticleSugarcube 2 - how to dismiss a tooltip on a touch device
Sugarcube 2.4; Twine 1.4.2 The following code pops up a tooltip on mouse hover or on a tap using a touch screen: <a data-passage="" class="tooltip"><span style="text-align: left; font-family:...
View ArticleUsing javascript to extend or edit an already existing story without touching...
by experimenting i have figured out that i can edit variables and make them keep thier value between passages via $(document).click(function(){...
View ArticleTwine wrapped every alphanumeric character in my story in a link tag
Dude... I don't even know how this happened. See a screenshot here: https://twitter.com/zreeseplus/status/732947600274513925 As a result, Twine crashes when trying to load the project. My initial...
View ArticleArray of objects adding more
Twine 1.42 SugarCube 2.5 I'm not sure how to even explain this, so I hope it makes sense. I'd like to create sort of random NPCs. They will have a name and traits that are assigned randomly from...
View ArticleIdeas for a Magic System in an RPG.
Just thought I'd pull some minds together for any ideas for building a Magic system into a Twine 2 RPG using Sugarcube. Personally what the system would entail would be a mana stat and a Wisdom stat to...
View ArticleHelp making a Mute / Unmute button ? [Harlowe]
Hey again everyone, slowly but surely becoming less of a noob but at the moment having some trouble with audio in Harlowe (yes, in hindsight I'm aware that it probably wasn't the best format choice for...
View ArticleHow do i make the color of my text variable?
I'm trying to have it so that when you choose different options for how you want the color the text of one character to be, there is a variety of options. For example, in one play through I want the...
View ArticleHow to hide links if a variable = 2
I know that i should use an if statement (macro), but i'm confused because i'm new to Twine and the programming language, i'm used to some C# and PHP so here's my code: The main(The Shortcut) passage:...
View ArticleJust starting with the Browser Tools and have a question
I like writing in my spare time at work, but my lack of administrator privileges leaves me only able to write in the browser version. It comes up every time I return to my computer as if it's tied to...
View ArticleFill in the Blank type Question
I'm making a game where the "dungeon master" asks the player a question and the player is required to write an answer in a prompt. My problem is getting the code to work where, depending on the answer...
View ArticleHow can I use a link to alter a variable and navigate to another passage...
I want two strings of passages - one representing week days and the other Sat/Sun and I want them to link so the player goes through the first string 5 times (Mon - Fri) and on Fri eve is given a link...
View Article[Sugarcube] Updating arrays
Okay, I feel like I'm losing my mind. I've got a passage that is intended to take an array representing a group of people and split it into two arrays representing two groups of nearly-identical...
View ArticleEditing an existing story
I'm trying to edit an existing story, and mod the local copy. No matter what I do the changes don't seem to take. I close the browser, start the story over again and when I get to the modded part I see...
View ArticleCSS issues with Harlowe (font-family)
Dear all, I really don't understand how to change my font under Harlowe When i put this on my CSS @import url(https://fonts.googleapis.com/css?family=Electrolize); body { font-size: 1.1em; color:...
View Article[SugarCube] Sorting Arrays by Values in the Array
So I have an array, let's say it's like: <<set $array = [ [ "Jo" , 3 ] , [ "Sam" , 4 ] , [ "Alex" , 2 ] ] >> What is the best way to sort that array by the values in the second index of...
View ArticlePassage won't display in debug view
Hello! I'm completely new to Twine/Harlowe and am generally an idiot, so I think I might be looking at multiple syntax errors or plain dumb mistakes that I haven't been able to discern. Basically,...
View ArticleCan we customize twine editor
Such as changing the color of the bar at each passage or change the the color of the arrow in the Twine editor,can we/how to do that?.If we cant do it in Twine 1.x can we do it in Twine 2.x?
View ArticleTwine Games
Ahoy, I'm still knuckle deep into making my own game with twine 2 and sugarcube 2.5.0+, and I'm seeing so much potential for what can be made game-wise with these tools. Every day it seems I'm figuring...
View Article