Decker 1.36


Decker 1.36 is a maintenance release containing several important bugfixes.

Fixes (Web):

  • The write[] function was not properly respecting frame delay configuration when exporting animated GIF images.

Fixes (Web and Native):

  • Hiding the main menu now also hides the current card name.
  • Corrected some subtle issues in event resolution for Contraptions. In several situations, Decker was not correctly routing events intended for the "internal" script of a contraption prototype versus the "external" script of a contraption instance.

For clarity (hopefully):

  • Events sent to the internal widgets of a contraption instance should be handled by the "internal" script (prototype.script), with the "card" magic variable bound to the contraption instance itself, along with variables bound for all the other widgets inside the contraption. The "internal" script of a contraption instance does not have direct access to other widgets residing on the same card, and "internal" events do not bubble up to the enclosing card or deck if they are left unhandled.
  • Events sent to a contraption instance itself should be handled by the "external" per-instance script (contraption.script), with "card" bound to the card containing the contraption instance, along with variables bound for all the other widgets on the card, just like events sent to any primitive widget.

The single exception to the second rule above is that the automatic "view[]" events produced by Decker itself must be resolved by the "internal" script of a contraption. A "synthetic" view event produced by a user script would be handled by the "external" script of the contraption instance. Defining both internal and external "view[]" event handlers for a given contraption is possible, but probably a mistake. 

Files

Decker-1.36-mac.zip 2 MB
Dec 22, 2023
Decker-1.36-win.zip 1 MB
Dec 22, 2023
lilt-1.36.zip 434 kB
Dec 22, 2023

Get Decker

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.