Releases: textadventures/squiffy
Releases · textadventures/squiffy
v6.0.0-beta.2
What's Changed
- Add snippets feature by @alexwarren (thanks to a suggestion and prototype from @Pertex) in #182
Full Changelog: v6.0.0-beta.1...v6.0.0-beta.2
v6.0.0-beta.1
What's Changed
- Fix syntax highlighting bugs in Squiffy editor (#170) by @alexwarren in #171
- Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 by @dependabot[bot] in #172
- Fix squiffy.story.go() regression (#179) by @alexwarren in #180
- Fix spurious warning when section name contains a comma by @alexwarren in #181
Full Changelog: v6.0.0-beta.0...v6.0.0-beta.1
v6.0.0-beta.0
This is the first beta of a big rewrite of Squiffy. For full information, see https://squiffystory.com/whats-new/
Squiffy 5.0
v5.0 Update version to 5.0
Squiffy 4.0
v4.0 Update version to 4.0.0
Squiffy 3.0
Bumped up version to coincide with first release of web-based Squiffy editor (source)
One new feature:
- Can now use
@incand@decwith arbitrary values (thanks @caberg)
Squiffy 2.6
- New
--zipoption generates an output.zip file containing the game output. - Various bug fixes.
Squiffy 2.5
Compiler changes:
- You can now specify the script filename when using the
--scriptonlyoption.
jQuery plugin changes:
- New
getandsetmethods which can be called from external JavaScript. For example, if the game is running in the element#output:
// get the "myvalue" attribute from Squiffy
var myvalue = $('#output').squiffy('get', 'myvalue');
// set "myvalue" to 123
$('#output').squiffy('set', 'myvalue', 123);
Squiffy 2.4
Squiffy is now embedded as a jQuery plugin $('#output').squiffy().
The plugin accepts the following options:
scroll(default"body") specifies what to scroll after each turn. Can be set to"element"to scroll the output element instead of the entire document body.persist(defaulttrue) specifies whether to save the game state to local storage.restartPrompt(defaulttrue) specifies whether to prompt before restarting the game.
There is a new server.js which accepts an HTTP POST with a Squiffy script file, and responds with the generated JavaScript.
To restart the game, call $('#output').squiffy('restart')
Other changes:
- Squiffy compiler has new
--scriptonlyand--pluginnameoptions - Squiffy's JavaScript now runs in its own scope
Also from Squiffy 2.3:
- now using jQuery 2.1.3
- removed dependency on jQuery UI
Squiffy 2.2.1
Fixes a problem with Windows line endings.