The if, either, and set functions. NEED HELP! T2.0
Ok so I'm at a part in my story where depending on how long you take inside a house, depends on the scene in the next passage. Basically I want to have an either function generate 5, 10, 15, or 20 and...
View ArticleNew to twine - have a simple question that I can't seem to find the answer to.
Okay so it's been a long time since I've written any type of code and I'm having a small issue with passages. So currently I have this: <<set $friendName = "">> The girl across the street...
View Articleanother health bar for sugarcube 2
i have problem about my kind of health bar feature for my game, here we go: first we set this variable ::StoryInit <<set $energyTotal to 100>> <<set $energy to $energyTotal>>...
View ArticleSugarCube not available as a format
SugarCube used to be available as a format, now it doesn't show up at all. I try to install the format.js and Twine states that SugarCube is already there. I have tried this in 2.1.0 as well as 2.1.1 I...
View ArticleChange CSS on mouseover macros
Genuinely going insane. I'm using Harlowe 2.0 and I can't find a way to change the mouseover CSS. All I want is for mouseover enchanted hooks to appear green, so a player knows they are interactive....
View ArticleCannot open story in 1.4.2 (An error occurred while opening your story)
Hi- Sorry if the fix for this is obvious, as I have little clue about this program- but I tried looking through similar posts with this problem and I couldn't figure out a way to solve it. When I try...
View ArticleClick Anywhere to Continue
So, this question's probably been asked before, but Google is doing me no favors today. In Sugarcube 2.0, is there a means to click anywhere on a passage to continue to the next passage? In my specific...
View ArticleAnnouncing 'Somewhere', a Twine game for mobile
Hi all, last year I discovered Lifeline and have been amazed by how a "simple" text-based game can actually convey emotions, create tension using 'real time' notifications and so on ... Of course I've...
View ArticleEvent trigger after a set amount of time? (SugerCube)
Heya, so I'm trying to create an event that appears after a certain amount of time in-game has been reached (using the Javascript shown here). For example: I would like that after 1 week in-game has...
View ArticleHelp with losing story file and Twine now not working.
So we created a story, and accidentally closed Twine's application before saving. Upon reopening we just have a grey twine window with no options to do anything. We have accessed the HTML version of...
View ArticleTwine win64 no longer functions: An error occurred during startup while...
I've been using Twine 2.1.1 just fine for a week, and then my PC happened to crash. Now, Twine will no longer function. When the program opens, it shows the following errors: Message: Cannot set...
View Article[Twine2.1.1][Sugarcube 2.14] Is there a way to call a macro from JavaScript?
Hey there, I'm getting tired of duplicating my JS code to define a macro and then define a normal JS function to do exactly the same thing. Is there a way for me to invoke a macro that I previously...
View ArticleInventory System (Sugarcube 2.0 / Twine 2)
Hi all, Right now, I've got a very makeshift inventory system going. Basically, I've created a variable for the player's weapon and armor ($player.weapon and $player.armor respectively), and I'm...
View Article[Sugarcube] Split StoryInit across multiple files
As I build up my inventory system and other "reference" data my StoryInit file is getting unwieldly large, is there a way to have it source from multiple files so I can split things up for better...
View Article[sugarcube] Disable footer passage in certain passages.
Is there a way that I can disable the footer render for just a couple of passages? The footer will house player stats but there is the intro passages like the intro where this is not needed.
View ArticleRandomized backgrounds per passage
Hello! I've been trying to add backgrounds to specific passages in a Harlowe Twine 2 project using javascript. It's fairy easy to show a random background image from a directory attached to <body...
View ArticleHow to invoke a Javascript function with a button in Sugarcube?
What I'm trying to do is to invoke a Javascript function that (I think) I defined in the global story javascript. Here's what I did: 1. Wrote my "test" passage: <div...
View ArticleImpossible to importe an archive file
Hello ! Sorry to bother the community, but I run into an issue that is rather new to me. I've written a story, and exported it to an archive file. When I try to reimport it on my computer (a Mac with...
View ArticleUsing symbolic link to store stories at various location on disk on windows 10
Hi all, After struggling for a while on how to save stories to another location and found no way, I devised a small work around. The original goal was to store all stories in a github repo along with...
View Article[CSS] Text shadow not showing up. (maybe it's a vampire?)
Just a quick question. I have a segment of my story that is supposed to be a glance back in time. I wanted to give it kind of a redshift effect with a drop shadow. .echo { color: #ffb366; text-shadow:...
View Article