CSS styling for click-append in Harlowe Twine 2
With CSS I've changed the style of my links, but when I use click-append (and link, and other macros along these lines), the links look like they used to with the default formatting. What selector can...
View Articleselect item from dataset (seems to have stopped working )
(set: $da to (dataset: "gold", "frankincense", "myrrh")) (either: ... $da) This was working just fine last week. took some time off from my story and now I can't figure this out. This currently...
View ArticleDo conditionals short-circuit?
Using icecube, do conditionals short-circuit? For example, if you have if( a AND b AND c) and 'a' is false does the program continue to evaluate both 'b' and 'c', or does it stop knowing if wouldn't...
View ArticleI can't get music to play in Twine 2 [Harlowe]
Hi, so I've been trying to get music to play in the background of my new project on Twine 2. I'm using Harlowe. I went into the "Edit story Javascript" and put in this code: <li><audio...
View Article2 questions about manually creating checkpoints in Sugarcane
Undo will not work for me because I use setTimeout() timers which should be reset manually if the user goes back. So I need to create a list of checkpoints which should grow while the users progresses....
View ArticleAdding variables into HTML
Say I wanted to do <<set $example = either("cat", "cow", "dog") >> <img src = "picture of house" alt="You see a house, with a $example calling in the background"> How can I make it...
View Articlelinking passages with if
Hi there - sorry if this is a total dumb question. Am using Harlowe, trying to link passages with an if In passage 1 i set the variable - set $gold to 5 I have text displayed in passage 1 You walk into...
View ArticleIntel XDX and the Google Play Store
Is there a way to put this onto Android phones? I published the game as HTML, put into Intel XDX and it compiled it just fine. but when i run it, it says Apache Cordova Device is Ready? Is there any...
View ArticleAveraging: Distribution vs. Categorical
Okay, so I got roped into programming a fashion designer game (don't ask, the story of how is as tedious as it is humiliating) but I've hit a problem in designing the characters... We want the player's...
View ArticleIs there a way to take a value from a specific datamap in a series based upon...
Like, this: (set: $food1 to (datamap: "name", "beef", "calories", "300")) (set: $food2 to (datamap: "name", "sausage", "calories", "400")) (set: $foodid to (either: 1, 2)) (print: ("$food"+$foodid')s...
View ArticleIs there a way (that isn't manual) to link to every passage title?
I have a large Twine game, like 560 passages or something, and I'd like to create a list containing links to every passage on a single passage. Is there a shortcut to doing this so I don't have to...
View Articletwinery 2 how to add images?
Sorry if this has already been asked but I searched this forum and here: http://twinery.org/wiki/frequently_asked_questionsHow do I add images/ audio/ videos to twinery2?Here's the video of what I...
View ArticleHow do i get cached audio to play?
Heya, I'm new to twine, So apologies if i say a bunch of dumb stuff. I'm trying to get one track to play with sugarcube 2.0 in the twine app. I made a passage called StoryInit in which i placed...
View Article"Either" macro inside another "either" macro?
I'm sure the answer to this is insanely simple, but I can't quite do it. I'm trying to put an "Either" macro inside another "Either" macro, as the subject says. To give you an idea of what I mean,...
View ArticleCondensing options, hidden options, and for each loop
Three questions I couldn't answer by looking through the wiki, or the discussions already posted. 1) and 2) How can I create something that outputs this: The baker waits patiently show pies click show...
View ArticleKeeping text aligned with background image
Hi guys, I have a background image loaded, and have it positioned in the center. I also have text and links over it that I would like to keep in the same spot on the background image, no matter how the...
View ArticleHow to add div wrapper to every passage via javascript in SugarCube 2?
I know this can't be too hard using prerender or postrender, but I'm not having luck at the moment... I just want: <div class="passage">My passage text</div> to become: <div...
View ArticleMy story isn't showing up anymore
The title says it all. When I try to open my story, it gives me a blank white page. No error, either. What's wrong with it? EDIT: Here's the link so you guys can see if it works for you.
View ArticleEmbed a video on Twine 1.4.2 for mac OS X
I have read this question https://twinery.org/forum/discussion/4739/how-to-embed-a-video-into-twine but I really could not understand it, I tried just to repeat the various indications without any...
View ArticleWanna help me playtest my first story?
It sort of spun a little complex for my first story with lots of webs. Wondering if it's A) playable and B) if there's anything I'm missing. Also, general feedback and tips for a first-timer would be...
View Article