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

Trying to get background image on a passage

Twine 2.1.0, Harlowe 2.0 I want to use an image for the background for a single passage. I'm trying this: (background: "example.jpg")?Page But I get this error: The (background:) command should be...

View Article


Trying to get background image on a passage

Twine 2.1.0, Harlowe 2.0 I want to use an image for the background for a single passage. I'm trying this: (background: "example.jpg")?Page But I get this error: The (background:) command should be...

View Article


Help with Shop Functionality

I was trying to be clever and store a shop's inventory as an array of objects and "auto build" the store in Harlowe 2: (if: $store_inventory's length > 0)[(for: each _item,...

View Article

trapped in an infinte loop?

I have designed a random labyrinth-maker, that populates a 2d grid/sets gates open closed etc, chooses a random direction and checks if visited before etc. Now it works fine if i link the twine pages...

View Article

How do you make the sidebar shrink depending on the screen resolution? Twine...

Here is my game: http://sulley.cah.ucf.edu/~mi963011/3024TwineProject/Twine Server Test/Legends of Luminia Server Test.html Depending on the resolution, the sidebar will go inside of the text box. I...

View Article


Colored text isn't showing properly in the game? (Harlowe)

I'm writing a story with multiple characters, and I've been using basic HTML (as in <font color = "#hexcode"> html) in order to change the font colors. There's a problem, though - I can't make...

View Article

Polish language

I can see that in the languages folder there's .pak file with Polish language (pl.pak), but I am not able to choose it in software language panel. Why? Or, if it is not ready to use, is it possible for...

View Article

Is it possible to include my interactive story in a PDF format?

Hi! I'm not very techno-savvy, so I have no idea if this is even remotely possible. I would like to know if its possible (even if impractical) to produce a PDF containing my twine (2.0.11, using...

View Article


Creating an enclosing widget

In SugarCube, the <<if>> macro has a boolean parameter, as well as a closing tag, <</if>> or <<endif>>. Can I, using <<widget>>, create something...

View Article


Putting an Image in a Button - SugarCube 2

Hi guys, Is it possible to insert an image (specifically, an icon) into a button? I want to have a button with some text in it, and then a small icon on the end. The reasoning behind this is so I can...

View Article

SugarCube: How to erase previous searched locations from probability.

I'm relatively new to the programming side but do have some basic idea on html, css and Javascript. I'm currently making a bit of a RPG on SugarCube. As I mentioned, I'd like to have multiple events...

View Article

Harlowe won't load on fresh install?

Hi! I just downloaded 2.0.10 for Mac and installed, and when I navigate to the formats menu, Snowman and Sugarcube load as per usual, but I get an error message reading, The story format “Harlowe”...

View Article

[Sugarcube 2] Creating a dymanic map for a game

Hello Twine 2.011 - Sugarcube 2.12.1 I'm helping teachers to create an exploration game about a school in the late XIXth century. A card of the schoolyard is required in that story. But I had like to...

View Article


[SugarCube 2] The Set() data structure

Hey there, Using SugarCube 2.1x.x Twine 2.1.0 I tried recently to implement a Quest system that works with "templates" of different quest types (fetch quests, put given number of items into a specified...

View Article

Konami Code in Harlowe?

Is there any way I could track the player's keyboard inputs (specifically, those of the arrows, B, A, and Enter) to put a Konami Code easter egg in my game? I want it to do the following. - Track the...

View Article


Adding a mouseover/hoverfunction that activates hidden passage links (Twine...

I was wondering if it is possible to add a function in Twine 2 where a player is taken to a new passage when they move their mouse cursor over a certain text. For example, if there is a bit of text...

View Article

Using Twine/Snowman as a component of a larger game?

I just started using Twine and was pleasantly surprised to see there's a way to control things pretty directly using JavaScript. Since I am an experienced programmer, I switched to Snowman and have...

View Article


Issues with table spacing

Hi everyone I'm new to the forum and to using Twine with very little coding experience. I'm using 2.1 on Mac OS with Harlowe. I've tried adding small tables to the page to show a 'Did you know' type...

View Article

Showing text after timer in Snowman

I just started using Snowman and have not had any trouble with basic branching and conditionals (I'm an experienced programmer) but I just tried to get some text to show after a timer and it isn't...

View Article

Restricting access after number of plays

I would like to be able to put a restriction or limit the number of times someone accesses one of my games. It may be this needs to be done on the actual website rather than within the game, but is...

View Article
Browsing all 3830 articles
Browse latest View live