Ghosts Are Good Hosts! (A Fun Halloween Game)
Just finished my first game! :) I took a break from working on my main game (Back To Reality) to do this fun Halloween adventure called... Ghosts Are Good Hosts You receive a formal invitation to...
View ArticleCorrupted Story / Bad passage name?
Started messing around with Twine 2.0 (Harlowe) for a project and somehow did something that made the entire story blow up. Created a new passage named "Day 1.5", tested the link from "Day 1" and...
View ArticleHow do I add the javascript for the macro set?
I'm using Sugarcube 2.2.0. I've added the css to my story stylesheet (http://www.glorioustrainwrecks.com/node/5462). How do I add the javascript?
View ArticleAdvanced Math in SugarCube 2
I'm trying to calculate the distance between two points on a 2-dimensional grid. Is there a simple way to use the square root in SugarCube 2? I tried to search for it using google and looked through...
View ArticleCreate List of links from Array
I'm trying to create a list of Links from an Array. On each click a variable should be assigned to the respective Object. <<for $i to 0; $i lt $knownCities.length; $i++>> <<set $tmp =...
View ArticleUpdating Variables [Harlowe]
I am having trouble updating my variables. This is what I have so far: Here you can rest, eat, or reassess your inventory. {(set: $days to 0) Rest(click: "Rest")[(set: $days to $days + 1)]} Day $days...
View Article[SugarCube] StoryIncludes doesn't work with the Stylesheet passage?
Trying to put my only stylesheet passage in an external .tw file that gets included. External js and widget passages are working just fine but the stylesheet passage seems to be a no-go. I'm guessing...
View Article[sugarcube 2] How to: Buttons/Links play a click sound?
I'm using Twine 1.4.2 and sugarcane 2. I'd like any passages that have the [computer] tag to play a short sound (click.wav) when the user makes their selection. For passages marked [telephone], I'd...
View Articlemacro and episodic games.
Hi, I'm trying to figure out how to make an episodic story using the <<remember>> macro. At the end of each episode some variable would be <<remember>>-ed to be used in the next...
View ArticleReferencing id elements from within the macro.
Hi, I'm attempting to abstract the following out into a widget: <<set $PC_AGE = 18>> <span id="pc-age-stat"><<print $PC_AGE>></span> <<click "[+]">>...
View ArticleInclude External Javascript Scripts Sugarcube
Twine 2.0.10 with SugarCube 2.1.2. I'd like to split up my javascript into several files for ease of development, and to write the code using an IDE outside of Twine (it's honestly pretty awful). What...
View ArticleChoosing between SugarCube and Harlowe
Hi, I would like to choose a story format before I get too deep in writing/coding my game. Is there a comparison chart of features that you could point me to? For instance, I know that SugarCube...
View ArticleVery basic problem with arrays
I decided to try to learn how arrays work and I seem to have done something wrong. I'm trying to get an array to return the text 1,2,3,4 So far I have: Start <<set $test = "answer">>...
View ArticleHarlow StyleSheet
Am I able to change the stylesheet in Harlow? I checked the Harlow guidebook and I saw the that there are codes available to align text, change backgrounds, etc. which is perfect. Although I'm not sure...
View ArticleTwo Issues with Sugarcube v1.0.34
I just updated Twine 1 to the latest Sugarcube release (v1.0.34) and it has created two issues for me: 1: There are very large margins on either side of the text when my story is displayed. The display...
View ArticleSidebar that follows/scrolls down
Harlowe (2.0.10) I've been reading up on sidebars and have a question. Is it possible to program a sidebar to "follow" the screen as it scrolls down? So as a player scrolls down the page the sidebar...
View ArticleMissing sugarcube
So i'm right at the end of a project and im apparently missing an <</if>> somewhere on the biggest page of code. Is there an easy way to find out where it is missing from?
View ArticleCrusade to the Centre of the Earth Simulator (My first "finished" project)
So this is the first project I have seen through to relative completion. It's pretty rough around the edges but I hope I'm not being too egotistic to suggest that some of you might enjoy it!...
View Article