sugarcube-2
twine-specs
sugarcube-2 | twine-specs | |
---|---|---|
18 | 4 | |
155 | 60 | |
- | - | |
0.0 | 6.3 | |
12 days ago | 3 months ago | |
JavaScript | ||
BSD 2-clause "Simplified" License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sugarcube-2
-
Issues with Numberpool Macro
I'm currently using Twine 2.3.9 with Sugarcube 2.36.1 and trying to run the numberpool macro. I've posted the CSS and JS files into the "Edit Story Stylesheet" and "Edit Story JavaScript" text boxes, respectively. But when I try to run the numberpool macro, I wind up with the error code:
-
Twine for beginners
SugarCube is a little more barebones, but this also means more freedom. If you are a little more experienced with HTML, CSS and JavaScript (or plan to learn some by making a Twine game), I'd recommend learning SugarCube rather than Harlowe. Documentation: https://www.motoslave.net/sugarcube/2/
-
How to create a story game with Javascript
You can go without it and feel fine. But if you have custom stuff, you'll use some macros and scripts. What are they? Imagine Twine as a core, but it has various engines that do things differently. It supports four such engines(story formats) to make the creation process more accessible. Each of them varies in complexity. In this article, I'll be using SugarCube.
-
Question regarding variables
I strongly suggest you consider changing your project to using the 2.x series of SugarCube instead.
-
Help learning to create macros and/or widgets
As for examples, I would suggest looking at the source code of SugarCube's own built-in macros, because they use the same APIs as you would to create your own custom macros.
- Changing the tooltip for the UI Buttons
-
How To Make a Sliding Bar
I'd recommend switching to the SugarCube story format, if it's not too late for you to do that. It has an approach which is far more open and amenable to creating your own custom inputs, such as sliding bars.
-
Well hello I have a newbie question about using a custom GUI for twine stories
I strongly recommend using the SugarCube story format, since it's flexible and has the most built-in tools of any of the default Twine story formats. In the SugarCube "CSS" documentation section, it shows you how you can change backgrounds using tags you set in your passages and CSS you put in your Stylesheet section. Also, if you really want to have your own UI in SugarCube, you can use the StoryInterface special passage to change the layout however you want (though this will take knowing a bit of HTML and CSS).
-
Pre-checked Checkbox
This means that you just need to update your version of SugarCube to get your code to work. The easiest way to do that is to just update to the latest stable release of the Twine editor. If you're not using the Twine editor, then you can download the latest version of the SugarCube story format from the SugarCube site.
-
Selectors and stuff css for Stylesheet twine
I'm not quite sure what you mean by a "full list of selectors". I'd recommend checking out the SugarCube "CSS" documentation, especially the "Built-in Stylesheets" section. You might also check out the "Bleached" stylesheet, from the SugarCube 2 page.
twine-specs
-
How can one get around Twine combining files that are ALMOST the same and saying that you already have that file?
Each Story HTML file contains the meta-data of the project used to create it, this specification explains the HTML element structure used to store that meta-data within that file.
-
history of twine?
TWEE (Notation) has been "standardised" since the days of Twine 1.x, the Twee 3 Specification can be found in the Twine Specs repository.
-
How to create a story game with Javascript
Now, closer to the coding: what is config.tw? This is where your code will be in Twine format. Take a look at the specification. You may name this file whatever you want. It's named config for readability. There, we specify the settings for our game:
-
Is there some kind of dialogue\graph editor similar to Twine or Articy:Draft that I can actually export into a JSON to use from inside my engine?
While not JSON specifically, twine index.html files can be parsed into (or natively written in) Twee with tools like Tweego, which is a fairly easy-to-parse file format. Certainly an option if you have existing Twine stories you'd like to transfer.
What are some alternatives?
TwineHacker - Chrome\Firefox dev-tools extension: How To Debug(Or Cheat) Twine{SugarCube} Variables
tweego - Tweego is a free (gratis and libre) command line compiler for Twine/Twee story formats, written in Go.
custom-macros-for-sugarcube-2 - A collection of systems and macros for Twine.
dialogger - A simple cross-platform dialogue graph editor.
harlowe-audio - An audio library for use with the Twine 2 story format Harlowe (v2.x or higher).
YarnSpinner - Yarn Spinner is a tool for building interactive dialogue in games!
harlowe-macro-api - Adds an accessible, simplified framework to Harlowe for creating custom macros in JavaScript.
twine - UI for creating hypertext stories
twinejs - Twine, a tool for telling interactive, nonlinear stories
tweego-setup - A Tweego project boilerplate.
cycy-wrote-custom-macros - Macros for SugarCube 2.
Eigengrau-s-Essential-Establishment-Generator - A town generator that is suitable for out of the box play in any fantasy TTRPG setting.