Releases: cjneidhart/brick
Releases · cjneidhart/brick
v0.2.1
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
andrandomInt
.
Fixed
- Fix a bug in the Twine highlighter involving the JavaScript dot operator.
v0.2.0
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