Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Releases: atenfyr/swirl

2.1.2

19 Sep 04:01
a935f53

Choose a tag to compare

  • Fixed another nice bug which caused swirl files to not load correctly.

2.1.1

19 Sep 03:35
bbc4fc8

Choose a tag to compare

  • Fixed a nice bug which would pop up an error on launch. Oops.

2.1.0

18 Sep 23:18
074c595

Choose a tag to compare

  • Updated Electron to version 3.0.0.
  • Multiple Swirl windows can now be opened.
  • Added script support to the Save object.
  • Made the source code be less terrible.

2.0.2

19 Jul 02:09
076b70f

Choose a tag to compare

Fixed a major bug which could have caused scripts to fail and added a few much-needed sanity checks.

2.0.1

18 Jul 18:03

Choose a tag to compare

  • The Electron API is no longer passed to scripts in the desktop app.
  • Auto-updating has been enabled.
  • The warning dialog box that appeared when loading a script bundled with a swirl file in the desktop app has been removed.

2.0.0

18 Jul 04:20
774774c

Choose a tag to compare

Quick summary of all the huge changes:

  • Scripting has been overhauled.
  • Documentation is now available on the wiki.
  • You can now drag and drop .swirl and .js files onto the window to load them automatically.

I've included an improved version of the game I wrote for the last update which should work with the new functionality. You should be able to load the file by dragging and dropping it onto the window.

1.0.0

17 Jul 04:23

Choose a tag to compare

Here's a list of changes! You should now be able to make minigames and such if you want. I've included a quick one that I wrote as a swirl file; alternatively, you can view it on the web here. Just touch the object that spawns.

  • Specifying a script parameter in the URL or specifying a second line in a swirl file with some JavaScript encoded using a URL-safe version of base64 will cause that script to be ran after loading the save file. In the desktop app, a warning will pop up before a bundled script is ran. Here's a converter that converts some text into the URL-safe variant of Base64 that Swirl uses.
  • Some new functions! Here's one: tieScript(sprite, callback). When the player touches the sprite in question, the callback is called with the first argument being the sprite. After the callback is called, the script is disabled until the player is out of range. Note that tied scripts are not preserved in save files.
  • Here's another new function: registerKey(keycode, allowHolding, callback). The callback is ran without any parameters once the key specified is pressed.
  • addNew will now return the sprite that was created.
  • Many more internal changes.

0.2.0

16 Jul 03:46

Choose a tag to compare

The client and the webpage now use the same html file. While old save files will probably work just fine, there may still be a few situations in which either the webpage or the desktop app will crash. Report any bugs you find here.

0.1.0

07 May 00:45

Choose a tag to compare

First release of the Swirl Desktop App. Please report any bugs you find here. In addition, I've included a .swirl file for you to test out.