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

Image may be NSFW.
Clik here to view.

Ghosts Are Good Hosts! (A Fun Halloween Game)

Just finished my first game! :) I took a break from working on my main game (Back To Reality) to do this fun Halloween adventure called... Ghosts Are Good Hosts You receive a formal invitation to...

View Article


Corrupted Story / Bad passage name?

Started messing around with Twine 2.0 (Harlowe) for a project and somehow did something that made the entire story blow up. Created a new passage named "Day 1.5", tested the link from "Day 1" and...

View Article


How do I add the javascript for the macro set?

I'm using Sugarcube 2.2.0. I've added the css to my story stylesheet (http://www.glorioustrainwrecks.com/node/5462). How do I add the javascript?

View Article

Advanced Math in SugarCube 2

I'm trying to calculate the distance between two points on a 2-dimensional grid. Is there a simple way to use the square root in SugarCube 2? I tried to search for it using google and looked through...

View Article

Create List of links from Array

I'm trying to create a list of Links from an Array. On each click a variable should be assigned to the respective Object. <<for $i to 0; $i lt $knownCities.length; $i++>> <<set $tmp =...

View Article


Updating Variables [Harlowe]

I am having trouble updating my variables. This is what I have so far: Here you can rest, eat, or reassess your inventory. {(set: $days to 0) Rest(click: "Rest")[(set: $days to $days + 1)]} Day $days...

View Article

[SugarCube] StoryIncludes doesn't work with the Stylesheet passage?

Trying to put my only stylesheet passage in an external .tw file that gets included. External js and widget passages are working just fine but the stylesheet passage seems to be a no-go. I'm guessing...

View Article

[sugarcube 2] How to: Buttons/Links play a click sound?

I'm using Twine 1.4.2 and sugarcane 2. I'd like any passages that have the [computer] tag to play a short sound (click.wav) when the user makes their selection. For passages marked [telephone], I'd...

View Article


macro and episodic games.

Hi, I'm trying to figure out how to make an episodic story using the <<remember>> macro. At the end of each episode some variable would be <<remember>>-ed to be used in the next...

View Article


Referencing id elements from within the macro.

Hi, I'm attempting to abstract the following out into a widget: <<set $PC_AGE = 18>> <span id="pc-age-stat"><<print $PC_AGE>></span> <<click "[+]">>...

View Article

Include External Javascript Scripts Sugarcube

Twine 2.0.10 with SugarCube 2.1.2. I'd like to split up my javascript into several files for ease of development, and to write the code using an IDE outside of Twine (it's honestly pretty awful). What...

View Article

Choosing between SugarCube and Harlowe

Hi, I would like to choose a story format before I get too deep in writing/coding my game. Is there a comparison chart of features that you could point me to? For instance, I know that SugarCube...

View Article

Very basic problem with arrays

I decided to try to learn how arrays work and I seem to have done something wrong. I'm trying to get an array to return the text 1,2,3,4 So far I have: Start <<set $test = "answer">>...

View Article


Harlow StyleSheet

Am I able to change the stylesheet in Harlow? I checked the Harlow guidebook and I saw the that there are codes available to align text, change backgrounds, etc. which is perfect. Although I'm not sure...

View Article

Two Issues with Sugarcube v1.0.34

I just updated Twine 1 to the latest Sugarcube release (v1.0.34) and it has created two issues for me: 1: There are very large margins on either side of the text when my story is displayed. The display...

View Article


Sidebar that follows/scrolls down

Harlowe (2.0.10) I've been reading up on sidebars and have a question. Is it possible to program a sidebar to "follow" the screen as it scrolls down? So as a player scrolls down the page the sidebar...

View Article

what does this mean

Twine 2 macros use a different syntax to Twine 1 macros.►

View Article


can you edit the story ?

and help on this story

View Article

Missing sugarcube

So i'm right at the end of a project and im apparently missing an <</if>> somewhere on the biggest page of code. Is there an easy way to find out where it is missing from?

View Article

Crusade to the Centre of the Earth Simulator (My first "finished" project)

So this is the first project I have seen through to relative completion. It's pretty rough around the edges but I hope I'm not being too egotistic to suggest that some of you might enjoy it!...

View Article
Browsing all 3830 articles
Browse latest View live