Quantcast
Channel: Help! with 2.0 - Twine Forum
Browsing all 1844 articles
Browse latest View live
↧

Adding to a 'time' variable to indicate time passing? (Harlowe)

Hi, everyone. I've been working on a game recently where you are given a list of tasks you can do, and each task results in a certain amount of time being spent. When a certain amount of time passes,...

View Article


Background Music in Harlowe

Hi all, I've made a few Twine fictions using Twine 2 (whatever the most recent is, it's all updated on my computer) and Harlowe 1.2.1. I am fairly dedicated to using Harlowe, since I do well with the...

View Article


Upgrading Harlowe 2.x

I don't see a story format download area anywhere for Harlowe. Will I have to wait for the next version of Twine to upgrade Harlowe? I am using whichever version that comes with Twine 2.1.0

View Article

[Sugarcube 2.16.0] How to display links based on player action without a page...

I am wondering how to go about having n links showing one of them at a time based on user interaction without a page refresh/load. As an example: <<set _doorLocked to false >> <span...

View Article

how do you hide an option after a different one has been chosen? (harlowe)

hello! im making a world-of-warcraft style game, except obviously in twine form, and i am having a problem with the character creation. heres an example: at the top of the page, it says "pick your...

View Article


Harlowe not creating/maintaining links between pages properly

In the twine project I'm working on right now, I want to do something like footnotes, by having superscript numbers be links to pages that show citations. So it would look something like this: Blah...

View Article

[SugarCube 2.14.0] Sanity check: Am I serialising my objects correctly?

As I continue down the path of trying to create a real-time, event-driven story in SugarCube, I find myself encountering some interesting challenges. The latest of which is getting object prototypes...

View Article

ternary operator doesnt work with state.variables sugarcube

i have two somekind of health bar in header and some code in passage to calculate the health bar and animate it, but some error popup and said bad evaluation:energyTotal is not defined ::PassageHeader...

View Article


Image may be NSFW.
Clik here to view.

Multiple Twine 2.1.1 instances

Is there any way to achieve this anymore in 2.1.1, or some other way to have multiple stories open at once? I used to run two instances so I could look at both my story and a map of my story without...

View Article


How do I get rid of a broken link?

I'm using Twine 2 Harlowe. For some reason, I have a problem where the links on some of my pages aren't clickable. They are red when I simulate the game and instead of letting me click on them they...

View Article

[Sugarcube 2.16.0] Ignoring Variable on Return

I have a variable that produces a game over when it reaches 100, but the player has (limited) healing potions that are selectable from the sidebar. This seems to be working fine, and I have noreturn...

View Article

getElementByID("ID").style.backroundImage = url(img) doesnt show in browser

So, I wrote a short script, by which depending on the race the player chooses the backgroundimage is surposed to change: <<script>> document.getElementById("map_1").style.backgroundImage=...

View Article

[Sugarcube 2.16.0] Replace text during page render

I've been using the standard link replace which I love once I got the hang of it. But I was wondering how I could go about modifying the contents of an element during render. What I mean is say I'm...

View Article


Visited links: controlling colour

Apologies if this has already been answered, but I haven't managed to find it. I'm working with Harlowe in Twine 2.1.1, and I have added some simple code to the stylesheet to keep all links the same...

View Article

[Sugarcube 2.16.0] Pluck a tagged passage from an array

I have several passages with several tags like this: :: Event1 [event suburbs] My sidebar uses tags().includes("event") check to show some special info, and that works fine. However when I try to get...

View Article


[SugarCube 2.14] Dynamic variables in textbox?

Hello, I am currently writing a widget for a trading system and have run into a bit of an issue passing variables to a textbox within the widget. My integer variables in the passage are _NumGeneral,...

View Article

[Sugarcube 2.14] Creating brief, dramatic pauses in presentation of text?

I have a game in which during a battle the player can fire torpedoes at a target. The code then runs a <<for>> loop for each torpedo to determine if it hit and if so then what the damage,...

View Article


Twine 2, Harlowe

{ (set: $alpha to false) (if: $alpha)[The quick brown fox jumped over the lazy dog.]\ (if: $alpha is false)[The lazy dog failed to jump over the quick fox.\ [Give the dog a rest]<rest_dog|...

View Article

Harlowe 2.0.0, Twine 2, Help with whitespacing and embeded Hooks.

Hello there, Recently new to both programming and Twine. I've been working on a small project now for a month or so. Slowly getting through the macros, trying to deploy them in various ways. I've now...

View Article

Help debugging this HTML please

Hey! I'm still pretty new to Twine and teaching myself basic HTML and CSS. Wondering why this piece of code isn't working? Have tried debugging myself to no avail. <div class="fade-in...

View Article
Browsing all 1844 articles
Browse latest View live