klembot / twinejs Goto Github PK
View Code? Open in Web Editor NEWTwine, a tool for telling interactive, nonlinear stories
Home Page: https://twinery.org
License: GNU General Public License v3.0
Twine, a tool for telling interactive, nonlinear stories
Home Page: https://twinery.org
License: GNU General Public License v3.0
Originally reported by: Anonymous
I'm testing Twine off-line (downloaded the version 2.0p3) and all button icons are missing.
I've tested in Safari 7.0.5 and Chrome 35 (OS X 10.9.4)
Originally reported by: Brooke Condolora (Bitbucket: brooklet, GitHub: brooklet)
After clearing my browser cache, I'm unable to import any 2.0b1 archive files (.html). This is the error I'm getting:
An error occurred while trying to import this file. (undefined is not an object (evaluating 'TwineApp.selectors.story'))
Originally reported by: Anonymous
you can't play your games, that took you 2 hours in the morning, when your working on safari.... and you can't play!
Originally reported by: Leon Arnott (Bitbucket: L, GitHub: Unknown)
I've seen multiple occasions where people have attempted to distribute a game made on Twinery.org/2 by copying the URL of the page produced by the "play" button. This actually feels like a perfectly reasonable presumption for a non-web-literate user to make - a URL is a URL is a URL, is it not? - and Twinery.org does superficially resemble a cloud service, despite really being the opposite.
So, I guess the solution is to explicitly warn the user that only they can access the story by the "play" button, and they must save and host the resulting HTML file of their own accord. (This may necessitate a notification message be displayed inside Harlowe as well as TwineJS, and the passing of a storyoption like "testplay" to it.)
But, I also think another component is necessary - when a play URL fails to load a story, it should display a message advising of the possible causes for the story not being found - that the person who distributed the link may have erroneously mistook it for cloud-hosted, that the story may be in a different web browser's storage, etc.
Originally reported by: Leon Arnott (Bitbucket: L, GitHub: Unknown)
I'm not sure what you (Chris) intend for these two, but it seems like one of them is due to be replaced by the other.
Originally reported by: Andrew Wooldridge (Bitbucket: awooldridge, GitHub: Unknown)
Like github explains: https://github.com/blog/1184-contributing-guidelines
Originally reported by: Juhana Leinonen (Bitbucket: juhana, GitHub: juhana)
After you create a new story it appears in the story list where you then have to find it and open the editor manually. I think it would be better if the app would automatically open the new story in the editor.
You could change the URL hash manually but it would be best if you could call the edit method of StoryItemView
. I don't know how to best do that so I can't make a pull request for this.
Originally reported by: Anonymous
I'm using Chrome. When I click the create button, the little box that pops up quickly disappears before I have a chance to use it.
Originally reported by: Anonymous
Create or edit a passage and insert five lines of text (eg. "Lorem ipsum")
A scroll bar will appear and only three lines of the text can be visible at any one time.
Found viewing http://twinery.org/2 using Firefox 27.0.1
Chrome 33.0.1750 does not display this behavior.
Originally reported by: Leon Arnott (Bitbucket: L, GitHub: Unknown)
All browsers supported by Twine 2 support JSON natively.
Originally reported by: Anonymous
I mainly use school computers when I'm using twine so I have to download html files of my work but when I upload them to twine2, a lot of my code within passages is messed up because of extra characters around e.g $'s and "'s (I think this is to define them or something but this is obviously very unhelpful for editing)
Originally reported by: Anonymous
Move mouse over the passage you wish to delete and click the rubbish bin, nothing happens.
Found viewing http://twinery.org/2 using Firefox 27.0.1 and Chrome 33.0.1750
Originally reported by: Anonymous
In Twine 1.4, you were able to set variables alongside internal links like so:
[[passage1][$variable to "foo"]]
However, this doesn't appear to work in Twine 2.0. The passage is named as 'passage1$variable to "foo"'. It might be that there is a different way of setting variables via links now?
Originally reported by: Krisztián Gergely (Bitbucket: krisoft, GitHub: krisoft)
I have the following code in a passage:
#!markdown
test1
<<if 1 is 1>> tautology <<endif>>
test2
<<if 1 is 2>> oxymoron <<endif>>
test3
I would expect it to provide the following result:
#!txt
test1
tautology
test2
test3
The actual result is the following:
#!txt
test1
tautology Unknown macro: endif
test2
I'm using the Twinery 2.0 preview from http://twinery.org/2/. My browser is Google Chrome, Version 33.0.1750.149.
Is this a bug? Or maybe my syntax is wrong? Please advise.
Originally reported by: Anonymous
I just edited a story and a bug occured. Can you make create a bug report that is always on top that also lets me submit the website the bug is on?
You could use document.html.innerHTML() or something like this.
Originally reported by: Tai Gao (Bitbucket: tai_gao, GitHub: Unknown)
OSX 10.7.5, Firefox 32.0.3. On the twinery.org online version of Twine 2:
In my launch passage, I had:
#!java
#Title
####by My Name
but that printed:
So, I inserted a blank line above the Title, and it worked as expected, but with the blank line in the final product.
So I tried:
#!java
(nobr:)[
#Title]
####by My Name
but that gave me:
[
Apparently, the heading "#"s don't work correctly on the first line of a passage, and (nobr:) doesn't work correctly with headings.
Originally reported by: Mark Meyer (Bitbucket: ofosos, GitHub: ofosos)
I can't seem to export/play/test in current branch. This is due to the fact that the directories below storyformats/ are titlecased. When I hit the debugger, it tells me that Twine wants to load storyformats/harlowe/.... however the URL should be storyformats/Harlowe.
Simply renaming the folders below storyformats/ to all lowercase solves this issue.
Originally reported by: Anonymous
Right now in android chrome and firefox it's difficult to edit passages because you can't double click. You have to touch a specific area of the passage (there is no visual cue) to see the edit/delete buttons and then choose.
Either a long press should be interpreted as a double click or the menu should be easier to bring up, perhaps with a short touch anywhere on the passage.
Originally reported by: Leon Arnott (Bitbucket: L, GitHub: Unknown)
The "export game" menu item doesn't work in Opera 12 because "createObjectURL is not a function".
It seems the Blob.js polyfill isn't taking effect in Opera 12 for some reason?
Originally reported by: Kirsty Singleton (Bitbucket: bawpie, GitHub: Unknown)
I've made a small demo file in the on-line version of preview 4, which I published to file as a .html file. However, when I try to import this file I get the following error:
(Cannot read property 'story' of undefined)
Originally reported by: Anonymous
When i try to edit a passage, the screen dims rather than do what it normally does and when I'm done and click done, it won't save and stays on the edit screen. I'm using firefox just in case the name of the browser is needed.
Originally reported by: Anonymous
Action:
Double clicking passage box to edit the passage.
Expected behavior:
Should allow user to edit passage.
What happens:
The screen gets a darker shade (like a semi transparent overlay) and it is not possible to select the text area to enter text.
Browser:
Firefox 30.0
Originally reported by: Mark Meyer (Bitbucket: ofosos, GitHub: ofosos)
Hi,
I'm having problems saving passage text. In the JS console the message "Error: A "url" property or function must be specified" pop ups. This comes from the PassageEditor around line 97. After I reload the page, the passage in question will be gone.
Originally reported by: bleep bloop (Bitbucket: bleepbloop, GitHub: bleepbloop)
This code does not work when placed in the style sheet:
body {background-color:yellow;}
I've been able to create a div with a background colour, but not the body of the entire page.
Originally reported by: dhenrybitbucket (Bitbucket: dhenrybitbucket, GitHub: Unknown)
I attempted to import a plain text file (not an export of a twine story) as an experiment. Following that, whenever I clicked on Story+, the dialog box for the new story name appeared and disappeared quickly, but would not stay open for me to edit.
I reloaded the page, and then was able to create a new story. Once I created it, two new stories of the same name were created in the story list.
Originally reported by: Anonymous
when you drag the passage boxes around, the connecting arrow pictures duplicate lots of times and make a mess which can only be fixed by refreshing the page
Originally reported by: Anonymous
In the javascript file I defined function goodbye:
function goodbye() { alert("hello"); };
Then in a passage I invoke
<<set goodbye()>>
or
<<print goodbye()>>
or
<<run goodbye()>>
and I get a not defined error; e.g.:
<> error: goodbye is not defined
Originally reported by: Anonymous
When i click on the "trash can" icon nothing happens. The only way to get rid of passages was to completely delete the story. not sure if that is the intent.
Originally reported by: Anonymous
cvterow
Originally reported by: John Paravantis (Bitbucket: paravantis, GitHub: paravantis)
I cannot import a Twine 1.4.2 story into the online editor of Twine version 2.0p3.
I get the error message:
An error occurred while trying to import this file. (Cannot read property 'story' of undefined)
I suspect that it may have to do with the fact that the story (and some passage titles although not the Start) are in Greek.
BTW I wish you would make Twine 2 available in an offline edition as well. I have enjoyed working with Twine 1.4.2 in places where there is no Internet connection. Please do not take this away from us.
Best regards from Greece,
John A. Paravantis
University of Piraeus
Originally reported by: Anonymous
I made a story and when i choose to ask something it does not move. Is it a dialogue problem or?
Originally reported by: Anonymous
I'm not sure if it was intentional, but your .zip does not include bootstrap, fontawesome or jQuery libraries. So, when running "right out of the .zip" pretty much nothing works except the opening grid screen. Cheers.
Originally reported by: Anonymous
Is it possible for you to provide a help package that shows the differences between offline and online twine? because I have been using the wiki and it didn't mention anywhere that the online version uses /if instead of endif. Does one exist already?
Originally reported by: greyelf (Bitbucket: greyelf, GitHub: greyelf)
If you add a link that references an external site to a passage when you close the passage editor it will create a new passage with a title equal to the url.
eg: Add the following link to a passage will results in a new passage being create with a title of "http://google.com/".
[[Google -> http://google.com/]]
Originally reported by: Anonymous
I've noticed when using the preview that apostrophe's seem to randomly change between 3 different characters i.e. a completely straight apostrophe, one that curls to the left and one that curls to the right. It seems to occur in IE11 and Chrome.
Proofing cope looks like this:
It's not what you'd think. Isn't this just fantastic? Doesn't this remind you of the old times? You're bound to remember them?
I've linked to an exported html and also linked to a screenshot which
Originally reported by: G Hope (Bitbucket: GeorgeHope, GitHub: GeorgeHope)
My daughter was working to finish up her entry for the IF 2014 competition (submission due nlt 23:59 EDT on 30 Sept 2014) and we were going to make a final push this weekend for polishing & testing... however, we cannot access the story anymore.
I can see the localStorage values in the debugger, so luckily the story is still there; however, for some reason it won't display. One issue I discovered is that twine didn't appear to like some non-latin characters that were pasted in from a google doc... (a work around, since it's not easy to have co-authors/editors in twine until there's a remote "shared" storage; of which I'm working on an option to contribute) so while it wasn't trivial, I was able to find & strip out the characters; however, now the story "loads" but without any passages visible.?.
I'm sure somehow the localStorage became corrupted, but I could not find any clear documentation on how twine uses the localStorage. I created a "test" story, and tried to re-create what I believed to be the "missing" parts; but that's not worked either. Is there any chance you could create a shared Google "living" doc for the localStorage format?... I'm working on some ideas I have for "remote" storage & this would help for that as well.
I've attached a text document [Twinery.LocalStorage.BugAttachment.20140925a.txt] which contains the "debug hacks" I've used to work around the fact that the Archive is not "restoring" correctly for us in chrome (I haven't had time to fully document, but the error is: An error occurred while trying to import this file. (Cannot read property 'story' of undefined)) ... and it also includes the "data" of both the "GeoTest" story as well as the "real" story "A Ripple".
I know you've many things, but if you could fix (and let me know where the problem was) in the "A Ripple" Story, it'd be greatly appreciated. Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.