Quantcast
Channel: Twine Forum
Browsing all 3830 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Error in

Well, i'm working on this code for about 3 hours now, and i can't get it fixed. It is made for an combat system, choosing random atks, but it doesn't really work. it sometimes shows just blanc space. i...

View Article


Difference between (array:) and (dataset:)

I know its a silly question but I am new to this and they look too similar.

View Article


Twine Crashes On Start

Hi all, I have recently downloaded twine 2.1.3 for Windows (32-bit). After I have installed the file and try to open it, Twine crashes immediately and I am given the error "nwjs has stopped working". I...

View Article

How to reduce variables to each visited passage with turns() function?

How can I subtract 1 from my variables $sleep, $food and $water for each time the player visits a passage? With the function turns()? Please, anybody help me? I use SugarCube 2.18.0.

View Article

Sugarcube 2.x, making a variable to not get saved in each state, in between...

Hi all, I would like to define variables such that they won't be get saved each time in States object, like a constant, because I have lots of javascript object that they dont change throughout my...

View Article


how can I change (if:)'s value's at the same passage?

What I mean is this: _______[something]<a|______ (click:?a)[(set $b to 1)] (if: $b is 1)[something else] and (if:) doesn't work.My guess is you actually cant change values and react to changes at...

View Article

How to change background only in one passage in Harlowe 2.0.1?

Hello Everyone! I've nearly finished my first project in Twine (As I said before - I'm a beginner in Twine). And I have one last question. Is it possible to change background only in one passage? I...

View Article

getting an error when running twine.

this happened when I tried to run twine today. I checked my chrome for that extension and I didn't have one with that ID. Other than that I don't know what to do. Message: Cannot set property 'id' of...

View Article


How can I send the player to a passage using an onclick Event?

I'm using Twine 2.1.3 and SugarCube 2.18.0. I have created a div-element as a pop-up window and am allowing the player to close this div element with an ondblclick Event: <script> function...

View Article


Can you use random events to change tags.

I was wondering if you would be able to say have a random number and then if the number was say, 1 then add tag happy. I tried using the following code but it came up with this error: "Error:...

View Article

Image may be NSFW.
Clik here to view.

No auto passage creation in 2.1.3

When i write new passage name Twine should create new passage linked to first one, but it doesn't.

View Article

Downloaded 2.1.3 for Linux; no idea what to run

I'm an old, returning user, and Twine 2.0 told me to download a new version, so I did, and I get the following when I run ls -l in the directory it's in: -rwxr-xr-x 1 xander xander 6873784 May 1 20:25...

View Article

Disabling default debug mode in Sugarcube 2 possible?

Cheers, I have a ... possibly ... strange question. I love the new ability to have a debug view in Sugarcube but I only want it active when I have an error and am hunting that one down. Clicking the...

View Article


Disabling default debug mode in Sugarcube 2 possible?

Cheers, I have a ... possibly ... strange question. I love the new ability to have a debug view in Sugarcube but I only want it active when I have an error and am hunting that one down. Clicking the...

View Article

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


Broken links that appear randomly and then disappear

Hello! I have made a Twine (in the online Harlowe format) that is an interactive navigation of a journal section about participatory performance (niche! but hopefully interesting for people reading the...

View Article

[Twine 1.4.2][Sugarcube-2] Password System and Age restriction

Hello, It is Me Again asking a stupid question. >How do I add a Password System on Twine 1 with Sugarcube-2 My Old Code: -- <<set $answer = prompt ("Please Input A Password To...

View Article


sugarcube 2: What is the difference between widgets and macros?

What is the difference (if any) between widgets and macros? Thank you!

View Article

sugarcube 2: referencing widget args with javascript?

Is it possible to reference the args of a widget using javascript in that widget? How about if say, the first arg ($args[0]) is an array? I've been trying to figure out how to do this, but can't find...

View Article

A link that determines whether or not you make to a new passage.

How to enter new passage while in story mode but not before I must do something that will trigger this entering of the new passage? e.g. Go through a certain door so the story can advance, but after I...

View Article
Browsing all 3830 articles
Browse latest View live