Some custom macros and scripts for SugarCube 2
I've made a bunch of custom macros and systems for SugarCube for my own games and for practice, and figured I might as well throw them up on the internet for others to use. The hardest part of doing...
View Article[Harlowe] Making a separate area for images
I'm using Harlowe on Twine 2. I don't know is the language I'm using is strictly relevant here. I'm currently using what is effectively an inventory system, and altering it to work like a character...
View ArticleHow can I write a find:replace function for gender? [Snowman 1.3]
Hello, could someone explain how find:replace functions work in Snowman 1.3 I'd like to use it as means to assign a player's gender. The current code I'm working with looks something like this, and it...
View ArticleChanging the Opacity of a Background Image
Hi All, I am using Harlowe 2.0.1 and am unsure how to change the opacity of a background image on my start page. This is what I have in the stylesheet: html.start tw-story {background-image: url ("my...
View ArticleCSIDE Integrated Tutorial - Testers Wanted
CSIDE (the ChoiceScript Integrated Development Environment) is a new, free, community-driven application for developing long-form, multiple-choice Interactive Fiction (or, more succinctly, Interactive...
View ArticleCSS - Color of a specific passage
So, I want every passage to have a pink background exept the first. I made this : body { background-color: pink; } .Start { background-color: white; } But the first passage (wich has a Start tag) is...
View ArticleHelp with some noob stuff
So I have a few questions that I need help with. I'm using sugarcube 2.18 and I want to add a box to the sidebar (like the default save and restart) with all the possible endings, and you'll be able to...
View ArticleTwine 2 SugarCube 2.x Inventory System Modifications
Hi there, I am currently using the inventory system from the Twine Wiki here. I am currently using SugarCube because I love the responsive css which passes Google's Mobile Friendly Test, and the...
View ArticleThe Hunter
Hello everybody ! I'm a 37 years old French from Bordeaux ! The Hunter is a simple rpg game where you have to hunt some monsters in order to be a master hunter. In The Hunter, you can - Choose your...
View ArticleHarlowe 2.1 Header Width Problem
So I made a header and a footer in my twine game using Harlowe 2.1. Everything seemed fine except the header was significantly narrower than the footer or the tw-passage. Is there anyway to control the...
View ArticleVariable changes CSS?
Is it possible to have a background color changing of intensity according to a variable in percentages? (I'm using Sugarcube if it's important).
View ArticleProblem with checkbox macro // array (SC2)
Hey everybody, I am having a hard time understanding how to use the <<checkbox>> macro in SC2: <<set $rightAnswer to [true, false, false, true, false, false, false, true,...
View ArticleSugarCube 2 - "global" nobr ?
Instead of giving all passages a "nobr" tag - is there a way to assign a "nobr" to all passages at once?
View ArticleTwine Crashed
Hi Guys I downloaded Twine to my laptop (windows). Today my laptop turned off without me shutting it down correctly. I opened Twine later today and it displays a blank screen. Only 2 buttons are...
View ArticleAdding sentences to Arrays
Hello there. I've using the following code to contain and display information about npc's during my game: <<set $npcs to { barkeeper:{name: "Unknown", interaction: 0, aff: "", related:"",...
View Article[Sugarcube 2] Printing large numbers with commas
Pretty simple. I'm trying to figure out how to print a variable in such a way that it has commas inserted for readability if the number is greater than 3 digits. I understand that the simplest way to...
View ArticleTwine 2 Harlowe 2.0.1 Validating Links
Hi everyone, I am somewhat new to Twine, so I am looking for help on validating links. The main problem I am having is I can't figure out how to to make a link that only works if a certain condition is...
View ArticleRecover lost story
Hello, I have migrated my story from v 1. to the latest v. 2.1.3 on linux. I've had to recreate each story blocks, but the new UI makes things easier to work with. Unfortunatly after the migration, I...
View ArticleDon't clear the screen
Hi, all! I'm using Twine 2.1.3 and SugarCube 2.18.0. Is it possible to leave the current passage and enter another one without clearing the screen ? It is a utility passage and I don't want the player...
View ArticleRadiobuttons and If's
So... I've been using radiobuttons quite frequently, and they're great to establish variables. But I came across a question. It's not a structural problem to my game, just a whim, but I got curious. So...
View ArticleBasic Harlowe Passage Tag Based Styling
A common question that regularly gets asked about Harlowe is "How do I use Passage Tags to style Individual Passages", the following is one possible solution to this question. note: The following...
View ArticleAnnouncing "American Angst", a text-based survival horror game AND my first...
Hi, I'm quite new to Twine and game development and I'm the process of developing my first ever game: A text-based multiple-choice survival horror game feat. round-based combat, autosave, inventory...
View ArticleTrying to implement an "aggression" system. Help?
So I'm trying to make a game that is essentially the player making decisions what to say in a group chat with a couple friends. Rather than have a separate path for every choice, is there a way in...
View ArticleLast day in the forum.
Hey guys. I've messed with Twine for years, and tended to lurk around these forums and search through for answers and such since back in the sugarcane days. I like games and I like writing, and I...
View ArticleProblem in simple loop
Hi, all! I'm using Twine 2.1.3 and SugarCube 2.18.0. This doesn't work: <<set _outcome to 0>> <<for _outcome == 0>> Loop <<if _outcome == 1>> $victory <<goto...
View ArticleSugarCube releases
I figured that I might as well post a note that I've just published a new release of SugarCube for those of you using it.Highlights: Added dynamic updating to several of the page elements within the UI...
View ArticleAutomatic progress saving [Snowman 1.3]
I tried posting this on the twinery.org/questions forum, but never received a response to my second question. Could someone please explain how to setup automatic progression saves in JavaScript? I'm...
View ArticleOn July 15, 2017, this forum will become read-only
On July 15, this forum will be essentially archived in favor of the Q&A that we have been testing for roughly the past month. On the 15th, new user registration will be closed and all forums will...
View Article