twinejs VS sugarcube-2

Compare twinejs vs sugarcube-2 and see what are their differences.

twinejs

Twine, a tool for telling interactive, nonlinear stories (by klembot)

sugarcube-2

SugarCube is a free (gratis and libre) story format for Twine/Twee. (by tmedwards)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
twinejs sugarcube-2
407 18
1,775 154
- -
8.5 0.0
4 days ago 7 days ago
TypeScript JavaScript
GNU General Public License v3.0 only BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

twinejs

Posts with mentions or reviews of twinejs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-31.

sugarcube-2

Posts with mentions or reviews of sugarcube-2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-23.
  • Issues with Numberpool Macro
    1 project | /r/twinegames | 26 May 2023
    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
    2 projects | /r/twinegames | 23 Nov 2022
    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
    5 projects | dev.to | 27 Oct 2022
    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
    1 project | /r/twinegames | 6 Oct 2022
    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
    1 project | /r/twinegames | 5 Aug 2022
    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
    1 project | /r/twinegames | 31 Mar 2022
  • How To Make a Sliding Bar
    1 project | /r/twinegames | 27 Mar 2022
    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
    1 project | /r/twinegames | 6 Feb 2022
    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
    2 projects | /r/twinegames | 4 Feb 2022
    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
    1 project | /r/twinegames | 3 Feb 2022
    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.

What are some alternatives?

When comparing twinejs and sugarcube-2 you can also consider the following projects:

RenPy - The Ren'Py Visual Novel Engine

TwineHacker - Chrome\Firefox dev-tools extension: How To Debug(Or Cheat) Twine{SugarCube} Variables

ink - inkle's open source scripting language for writing interactive narrative.

custom-macros-for-sugarcube-2 - A collection of systems and macros for Twine.

YarnSpinner - Yarn Spinner is a tool for building interactive dialogue in games!

harlowe-audio - An audio library for use with the Twine 2 story format Harlowe (v2.x or higher).

dialogic - 💬 Create Dialogs, Visual Novels, RPGs, and manage Characters with Godot to create your Game!

harlowe-macro-api - Adds an accessible, simplified framework to Harlowe for creating custom macros in JavaScript.

Godot - Godot Engine – Multi-platform 2D and 3D game engine

tweego-setup - A Tweego project boilerplate.

gitbook - The open source frontend for GitBook doc sites

cycy-wrote-custom-macros - Macros for SugarCube 2.