itch.io is community of indie game creators and players

Devlogs

Decker 1.28

Decker
A downloadable tool for Windows, macOS, and Linux

Decker 1.28 is a maintenance release, including bugfixes, a bit-manipulation library, and enhancements to the Image interface.

Fixes (Native):

  • In some situations the Lil "split" primitive did not correctly internally pad strings, resulting in crashes with other functions and operators.
  • Animated textures were not "previewing" properly while the user moused over the toolbar on high-DPI displays.
  • Fixed potential crashes when inverting sections of an image containing animated patterns.

Fixes (Web and Native):

  • The grid widget's keyboard shortcuts for deleting grid rows were not properly respecting the "locked" attribute. This misbehavior was visible in many of Decker's dialog boxes that use the grid, including open/save dialogs, the Font/DA mover, and the font and sound lists.

New Features:

  • The C-Lil interpreter now efficiently interns small integer values (between -128 and 255, inclusive), reducing allocations and garbage-collector pressure. In mildly-contrived benchmarks this improved Lil's overall performance by up to 40%.
  • Decker and Lilt now offer the bits interface, which contains utility functions for bit-wise AND, OR and XOR operations upon 32-bit integers. Like Lil's primitive arithmetic operators, these "conform" over nested lists, allowing them to be efficiently applied to entire data structures with minimal overhead.
  • The Image interface has been extended with "image.translate[(x,y) wrap]". Like "image.rotate[angle]", this new function modifies the source image in-place and can be chained with other image manipulation functions. By default, the source image is truncated and padded with pattern 0, and the second argument can be used to opt into wrapping the source image toroidally.
  • The "image.merge[]" and "canvas.merge[]" functions have been generalized to accept a string argument specifying a binary operator (+, -, &, |, <, >, =) for merging the pixels of two images.

Files

  • Decker-1.28-mac.zip 2 MB
    Sep 08, 2023
  • Decker-1.28-win.zip 1.8 MB
    Sep 08, 2023
  • lilt-1.28.zip 428 kB
    Sep 08, 2023
Download Decker
Leave a comment