harlowe-macro-api
harlowe-audio
harlowe-macro-api | harlowe-audio | |
---|---|---|
4 | 9 | |
12 | 30 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | over 1 year ago | |
JavaScript | JavaScript | |
The Unlicense | The Unlicense |
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.
harlowe-macro-api
-
SugarCube vs Harlowe in 2022
I have written an unofficial custom macro API for Harlowe: https://harlowe.twinelab.net/ Update for 2021: some features of this library may no longer work in v3.2.x and higher. Update for 2022: It is just not feasible for me to continue to hack on Harlowe. I will try to keep the basic functionality of this library working indefinitely, but really, if you want audio in Harlowe, you need to let Leon know.
-
Tetris game
I'd recommend checking out "Chapel's Unofficial Custom Macro Framework for Harlowe", which includes the Harlowe.variables() method for setting Harlowe variables from JavaScript. (I don't even really know Harlowe, but that information wasn't hard for me to find.)
-
How can I set a timer that doesn't disappear when user go to next passage?
Use a third-party addon like Chapel's Unofficial Custom Macro Framework for Harlowe, which does that hack for you.
-
Harlowe Custom Macro API
Here is an update: https://github.com/ChapelR/harlowe-macro-api/releases/tag/v1.0.2
harlowe-audio
-
how to hide the controls sidebar for HAL?
https://twinelab.net/harlowe-audio/#/v2?id=configuration
-
Harlowe Audio Library only working with absolute URLs instead of my Relative URLs?
Following all the instructions given on the Official HAL Guide I was able to get it working with Absolute URLS. They are placed inside an isolated passage titled "hal.tracks" and work fine. However, for compatibility's sake, I want to use Relative URLS. So currently my sound effects look like this:
-
Java weirdness with HAL?
You may want to try copying in the code again, since unless the code you're copying from has an issue (and do make sure it's the latest release from the source), that errors suggests you're missing something causing the brackets not to close. The guide might be of help, if you haven't already followed it.
-
Twine2 Harlowe 3.2.1 Audio/ Sound (how I got it to work on my game)
Harlowe 3.2.1 Harlowe Audio Library (twinelab.net) and Configuration (twinelab.net).
-
How to Pause/Play audio?
This chunk of the HAL documentationhas some excellent examples of snippets showing pause and play commands for a given track using Harlowe macros. I hope this helps!
-
Harlowe 3.2.1 - Music?
The Installing HAL in Twine 2 section of the above linked documentation site explains how to add the required JavaScript to the Story JavaScript area of a Twine 2.x application project. It also explains how to add the required CSS to your project's Story Stylesheet area.
What are some alternatives?
TwineHacker - Chrome\Firefox dev-tools extension: How To Debug(Or Cheat) Twine{SugarCube} Variables [GET https://api.github.com/repos/lure0xaos/TwineHacker: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]
botscripten - A modified Twine engine specifically for chat conversations
custom-macros-for-sugarcube-2 - A collection of systems and macros for Twine.
sugarcube-2 - SugarCube is a free (gratis and libre) story format for Twine/Twee.
twine-css-template - Twine2 is a great tool for beginners to make games, but there aren't customization options out of the box, and the way to use CSS is not well documented. This template is a well-commented basic reset that allows you to make your game look unique without knowing too much about CSS.