Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAL v2.0.0 #16

Merged
merged 21 commits into from
Jul 18, 2019
Merged

HAL v2.0.0 #16

merged 21 commits into from
Jul 18, 2019

Conversation

ChapelR
Copy link
Owner

@ChapelR ChapelR commented Jul 18, 2019

This version of HAL includes a vast array of usability improvements, including the introduction of special passages, audio macros, and a variety of other features.

I took the opportunity to rewrite several parts of HAL for this release, meaning some code written for previous versions of HAL may no longer work correctly, hence the major version bump. In addition, since the recommended way to use HAL has changed so dramatically, this version also required a massive documentation rewrite.

The biggest changes are in how you use the library:

  • Added several macros that allow users to interact with HAL using TwineScript. The macros are: (newtrack:), (newplaylist:), (newgroup:), (masteraudio:), (track:), (playlist:), and (group:).
  • Users may now optionally define their tracks in a special passage called hal.tracks using the format trackName: source, source, etc...; each track definition must go on its own line.
  • Configuration settings are now set via the hal.config special passage rather than by hand-editing the library.

ChapelR added 21 commits July 4, 2019 00:46
Some testing and experimenting with a potential v2; macro-side support, special passages, refactored code, etc. It's all experimentation for now.
- pull configs from a special passage
- pull tracks from a special passage (in addition to macros and JS API)
- start splitting up docs
- get rid of useless API docs
- start restructuring code
- flatten user configs
- streamline build process
- stress testing
ready for release, docs need proofed, though
Cross browser range input styling added.
@ChapelR ChapelR merged commit 6f87cfe into master Jul 18, 2019
@ChapelR ChapelR deleted the v2-dev branch July 18, 2019 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant