Skip to content

Releases: textadventures/squiffy

Squiffy 5.0

26 Nov 23:20
Compare
Choose a tag to compare
v5.0

Update version to 5.0

Squiffy 4.0

26 Nov 23:20
Compare
Choose a tag to compare
v4.0

Update version to 4.0.0

Squiffy 3.0

25 Apr 18:19
Compare
Choose a tag to compare

Bumped up version to coincide with first release of web-based Squiffy editor (source)

One new feature:

  • Can now use @inc and @dec with arbitrary values (thanks @caberg)

Squiffy 2.6

29 Mar 13:38
Compare
Choose a tag to compare
  • New --zip option generates an output.zip file containing the game output.
  • Various bug fixes.

Squiffy 2.5

16 Feb 15:23
Compare
Choose a tag to compare

Compiler changes:

  • You can now specify the script filename when using the --scriptonly option.

jQuery plugin changes:

  • New get and set methods 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

16 Feb 15:23
Compare
Choose a tag to compare

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 (default true) specifies whether to save the game state to local storage.
  • restartPrompt (default true) 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 --scriptonly and --pluginname options
  • 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

02 Nov 20:08
Compare
Choose a tag to compare

Fixes a problem with Windows line endings.

Squiffy 2.2

01 Nov 12:53
Compare
Choose a tag to compare

Adds a -p (or --port) option to set HTTP server port.

Fixes a bug with named links.

Squiffy 2.1

01 Nov 12:52
Compare
Choose a tag to compare

Adds a -s (or --serve) option to start HTTP server after compiling.

Squiffy 2.0

11 Oct 19:49
Compare
Choose a tag to compare

The Squiffy compiler is now rewritten using Node.js. To install it, install Node and then install the squiffy package from npm globally:

npm install squiffy -g