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

When will audio come to Twine 2. WITHOUT Sugarcube?

$
0
0
Alright, so I'm making a game, and I want to put (SURPRISE) audio into it. Thing is, Sugarcube and I haven't exactly.. Agreed. (I may or may not have bashed a laptop's brain's in after two hours of arguing with that.. THING.) Does ANYONE have any idea how long it'll be until audio moves to twine 2? Have the developers mentioned it? I have an entire game written in the default style of twine 2.

I'd really appreciate it, really.

Any dynamic text effect macros for Sugarcube 2.x?

$
0
0
heya! i'm very new with twine, in fact, just started my first project today. it's actually going along very well!

i wanted to spice things up in my story to have certain words have dynamic action, like being blurred out or shaking ala some of Porpentine's works.

however, despite my googling, i haven't found any dynamic text effect macros for sugarcube 2 ... perhaps any of y'all can point me the way?

Can I use Korean in the program?

$
0
0
Hi, I am a game developer in South Korea.
I saw a game named "Buried" few days ago.
Immediately I was fascinated with this program.
I really want to make a visual novel with twine 2.0.
But i dont know whether it supports other laguages rather than English.
It would be grateful if you answer me.

[Harlowe 2.0] Can't change color scheme to the old one.

$
0
0
Hi. I'm new to twine.

Harlowe 2.0 use black-on-white color scheme, but i want to change it to the old color scheme (white bg and black text). I'd found this code in the manual:
(enchant: ?page, (text-colour: black) + (background: white))
, pasted in a header tagged passage, but styles for background and text colors from a <tw-enchantment> tag get overwritten in the <tw-passage> tag inside the <tw-enchantment>. Are there any suggestions?

tw-link color change problem

$
0
0
Hi,i'm new to Twine and i would like to ask if it's possible to change the color of the tw-links specifically for only certain scenes

Problem with creating passages

$
0
0
So, ok, I have a new problem with this.

I have created a long story with a lot of passages. I have been creating it with the online- version on Windows-computer and then I downloaded Twine to my mac and continued editing it there. Now I opened it again with the online version on Windows-computer and everything works but the automatic passage generating.

I write a passage and make a link to another passage and when I go back to the screen view there is no new passage, there is only one line with red x at the end. I can create the passage manually and put the headline there and they connect, but it seems like a lot of work..

Is this because I've edited the story with Windows and Mac? Or with the online version and the downloaded version? I use the 2.1.0 online, and it looks different on the one I have on the mac. I think it tried to update but I did something and now it didn't update.

appending jQuery UI (SC 2)

$
0
0
Hey everybody!

I am currently using jQueryUI by simply putting it entirely into Story JavaScript. In order to keep it more tidy, I tried to append jQueryUI from a CDN using TME´s suggestion in this post.

Here is what I used:
(function ($) {
	
	$(document.head)
		.append('<script type="text/javascript" src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>');
})(jQuery);

These are the first lines of code in the StoryJavascript, everything else goes below. I get a fatal error (unexpected token). What am I doing wrong?

Deducting a value from a $ in Harlowe 1.2.3

$
0
0
Hi, I'm new at this and I'm struggling with getting some code to work.

I have created a $ with a value set to it, and want to deduct a number for it, but it should not store it as the $ is random.

Something like this (set: $time to (either: "2", "3", "4")) which will produce a random number, but later in my story I want to call that number but deduct another number but not save it so made (print: $time -1) which I hoped would result in the random number stored in $time minus 1, but I just get an error instead.

So how do I go about taking that stored value and deduct a number?

Thank you in advance :)


Could I add a hoverfunction to make words become visible? (Twine 2, Sugarcube 1.0.32 )

$
0
0
Hello everyone,

I am wondering whether it is possible to add a function in my Twine 2 game where individual sentences become visible when the player hovers their mouse cursor over them. The thing I think might be tricky is that I want the text to disappear when the player moves their cursor off the text. My idea is that the player uses their mouse cursor kind of like a flashlight, causing white text to appear against a black background. Also, I want this feature to only last for a couple of passages, not the entire game.

I am using sugarcube 2.0 and hope that there might be some way to make this work, but I need a bit of help as I am not that skilled in working with it.

Many thanks to anyone who might answer this question.

too many values were given to this (prompt:) macro

$
0
0
Hello all,

When I try what the manual says
Example usage:
(set: $name to (prompt: "Your name, please:", "Frances Spayne"))

I get this answer:
1 too many values were given to this (prompt:) macro.►
The (prompt:) macro must only be given a string.

Do you have an idea how to fix this ?

Twine 2.1
Harlowe 2.0

Thank you !

Twine 2.1 crash

$
0
0
Twine 2.1 crashes every time I open it. The window stays for a few seconds: I can see the icon and the menu bar, and then it closes. It worked for a while before, but words and brackets weren't being highlighted. I don't know how to recreate the problem, either.

Here's the error message from the debug log (it looks like a memory error or something):

[0206/162053:WARNING:process_subrange_reader.cc(59)] range 0x1400e3000 + 0x48af8 (64) outside of range 0x140000000 + 0xf4000 (64) for C:\Users\[USER]\Documents\Twine\Twine.exe resources

Any suggestions?

Are new Harlowe 2 features Hidden & Show supposed to be working in Twine 2.0/2.1?

$
0
0
I have used both Twine 2.0.x and 2.1.x in Linux (64) and on Macintosh. In every case, the program seems not to recognize the Hidden and Show hooks feature. I have attempted to make my own, and also to simply copy the examples from the Harlowe 2 manual https://twine2.neocities.org/2.html#markup_hidden-hook.

When I try, the macro tags do not assume syntax styling. And, when I Run the passage, "I can't run the macro 'show' because it doesn't exist."

Otherwise, Twine 2.1 is mostly working fine. (On Ubuntu, the Twine app file won't act like an executable but must be called from the Terminal each time, but I will ask about that another time if it persists.)

Can anyone confirm that the new features do NOT work, or else suggest why I might be having trouble with them? I can attach screen shots if that would be helpful. Thank you!

Are new Harlowe 2 features Hidden & Show supposed to be working in Twine 2.0/2.1?

$
0
0
I have used both Twine 2.0.x and 2.1.x in Linux (64) and on Macintosh. In every case, the program seems not to recognize the Hidden and Show hooks feature. I have attempted to make my own examples, and also to simply copy the examples from the Harlowe 2 manual https://twine2.neocities.org/2.html#markup_hidden-hook.

When I try to use these, the macro tags do not assume syntax styling. And, when I Run the passage, I get the error message "I can't run the macro 'show' because it doesn't exist."

Otherwise, Twine 2.1 is mostly working fine. I am a novice, so forgive me if there is something wrong in my basic understanding here.

Can anyone confirm that these new features do NOT work, or else suggest why I might be having trouble with them? I have attached one screen shot. Thank you!

Name Random How?

$
0
0
Good first of all sorry for my english I am using a translator.

The question is that I would like to customize my book ie I want the person who reads the book to choose the name of what the protagonist of the book wants to be called.

A greeting and thanks in advance.

Check if the contents of a variable are an object or not

$
0
0
I'm using Sugarcube.

Simple question that I can't seem to figure out: How do I take an object
<<set $foo = {
    bar : 0
}>>
and check if it is or is not an object:
<<if isObject($foo)>>
    /%Do stuff here%/
<</if>>

Recovering space taken up by sidebar in SugarCube

$
0
0
Am using Twine 2.0.11 and SugarCube 2.11.0. I can remove the sidebar by adding this to my stylesheet
#ui-bar { display: none; }

but this does not move the left margin of the text. I looked at previous threads on this forum which suggested that
body { margin-left: 5px;}

should work, but this only moves the text relative to where the right border of the text box used to be. Changing the width of the sidebar does not help either. Putting negative numbers in the margin-left seems a bad idea. How can I reclaim the space previously taken up by the sidebar?

Settings that affect other Settings

$
0
0
I'm using Twine 2.1 with SugarCube 2.12.0.

I'm looking to see if there's a way to use the Settings UI to make a Setting that affect other Settings, so for instance:
Setting.addToggle("showdesc", {
  label: Show Description,
  default: true
}

Setting.addList("describe", {
  label: Describe,
  list: ["None", "Nature", "People", "All"],
  default: "All"
}

Now, I want it so that if showdesc is set to false, describe is disabled and/or automatically set to None as well. In this example, it would be pointless to set what to describe if the descriptions aren't going to be shown.

I'm thinking, a callback to .removeList("describe") in onInit/onChange for showdesc, but I'm pretty sure removeList() is just my imagination and it's not available in the Settings UI.

Is there a way to simulate that?

Can't I change a variable from inside a widget? Sugarcube 2.x

$
0
0
Hello. I have been working on a very basic combat system which is sort of widget-based (javascript doesn't like me and I don't like javascript) SO inside a widget name "EnemyTurn" I try to change both the round and the mc health, but it doesn't seem to be working. Is it impossible or am I just doing something wrong?

Need help with my game

$
0
0
I know that what i'm about to say many people will say no to but I need help with things in my game like grammar, spelling, etc. I have been looking online for a auto editor or something like that but I can't find any. I am not the best speller or the best at grammar so if someone could help me with this it would be awesome. Maybe someone could look over my game and tell me what I got wrong or anything. I am still working on the game but the game is about you and a girl named Sara that are texting together. The goal of the game is to get her to be your girlfriend kinda like the game Emily is away. If anyone will be willing to look over my game and tell me what I got wrong that would be awesome. I don't have any money to pay but I can put your name in the credits. Any kind of help would be nice.

How to add music to a story

$
0
0
I am trying to add a background music to my story with this inserted into the top of the start of the twine story.
<audio autoplay loop>
<source src="music/hearthstone.mp3" type="audio/aac>
</audio>
The music file is a subfolder for which the HTML doc is stored, the specifications are all correct, i have tried to get it to work with the torch browser and firefox. Am i missing something?
Viewing all 1844 articles
Browse latest View live