Decker 1.68


Decker 1.68 is a maintenance release focused on bugfixes and performance improvements.

Fixes (Native):

  • Corrected several examples of Decker not correctly handling file paths with non-ASCII characters, including while reading/importing audio files, drag-and-drop import of various filetypes, and both "danger.homepath" and the Lilt "import[]" function.
  • Corrected faulty parsing of timestamps during leap years.

Fixes (Web and Native):

  • Corrected inconsistency between the relationship of "pointer.pos" and "pointer.prev" while dragging the pointing device versus non-drag pointer movement.

New Features:

  • Added a new optional hint for read[]; read["sound" "samples"] in Decker will read an entire sound file as an "i8" array interface. This makes it easy to build utilities with Decker and Lilt for carving up long audio files into multiple sound clips, among many other possibilities. Here's a snippet that reads an audio file and then synchronously plays it in 1 second chunks:
chunk:8000
a:read["sound" "samples"]
each i in chunk*range ceil a.size/chunk
 play[sound[a[i,chunk]]]
 sleep["play"]
end
  • Improved the performance of the "distinct" operator applied to a table, de-duplicating any identical rows.
  • Improved the performance of canvas.line[] when lines would be mostly or entirely outside the clipping rectangle, preventing scripting mistakes from reducing Decker's responsiveness.
  • Expanded and reworked several sections of the Decker reference manual, including new examples for several interfaces and more guidance on the design of custom widgets.
  • The ease module now offers utility functions for working with Catmull-Rom splines:


  • Prototype attributes now offer two additional types: "data" and "note". A "data" attribute is displayed in the properties panel as a code editor field, but is automatically formatted into LOVE upon display and re-parsed from LOVE into Lil values when the panel is closed. Having this option will make it much easier to provide access to attributes which represent complex structured data. A "note" attribute doesn't offer any editing interface, but instead the "label" is displayed as a paragraph of text. This makes it possible to provide inline explanations of how contraptions are meant to be used and generally make contraptions more self-documenting:


Elsewhere in the Deckerverse:

Decker Fantasy Camp 2026 has begun. Tell your friends! Join us and make something!

Files

Decker-1.68-mac-arm64.zip 6.1 MB
34 days ago
Decker-1.68-mac-i386.zip 2.9 MB
34 days ago
Decker-1.68-win.zip 2.6 MB
34 days ago
lilt-1.68.zip 504 kB
34 days ago

Get Decker

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.