Skip to content

Releases: cjneidhart/brick

v0.2.1

28 Nov 03:23
Compare
Choose a tag to compare

Added

  • The @later macro for performing operations after a delay.
  • The @append, @prepend, and @replace macros for DOM manipulation.
  • The @punt macro to preserve a temporary variable between passages.
  • The utility functions either and randomInt.

Fixed

  • Fix a bug in the Twine highlighter involving the JavaScript dot operator.

v0.2.0

23 Nov 01:05
Compare
Choose a tag to compare

First release! Here's an incomplete list of features:

  • A full markup parser and renderer, including a small selection of built-in macros
  • Saves via IndexedDB to improve load times and massively increase storage limits
  • Story and temporary variables, which are accessible in markup raw and as macro arguments
  • Captured variables (currently just for the for macro)

Some likely next steps:

  • Exposing more of the API to story authors
  • Import/export of saves
  • Improved mobile CSS
  • More input elements as macros, such as dropdowns
  • Automated testing