Decker 1.5
Decker » Devlog
Decker v1.5 contains enhancements to image import and the script editor.
New Features
- Imported color images properly reflect transparency.
- Imported color images support contrast adjustment via "Edit -> Lighten Image/Darken Image" or the j/k keys.
- The "canvas.pattern" attribute now permits settings 0-255, allowing canvases to manipulate 256-gray images (even if they can't be directly displayed).
- The script editor now offers "X-Ray Specs" mode which allows the user to easily reference the names of widgets on the current card while editing scripts. Holding Control/Command and clicking is also a fast way to edit the script of another widget or the current card.
Fixes (Native and Web)
- Black-and-white images were often misidentified as color on import, causing dithering to introduce subtle distortions.
- Corrected possible crashes when applying the "table" operator to a list of non-string-keyed dictionaries.
Breaking Change
The "Patterns" interface makes it possible to rewrite the grayscale drawing patterns used throughout Decker- indices 2-27. Previously, these patterns could be read or written as a list of bytes, where each byte represented a strip of 8 horizontal pixels. This design was not very convenient, as no other part of the Decker APIs use this data representation. These patterns can now be read or written as an 8x8 pixel Image interface comprised of pattern indices 0 and 1.
If any scripts need the old functionality, the following routines can perform the necessary conversion:
on bytesToImage v do r:image[8,8] each y in range 8 b:v[y] each x in 7-range 8 r[x,y]:2%b b:floor b/2 end end r end on imageToBytes v do each y in range 8 b:0 last each x in 7-range 8 b:(b*2)+!!v[x,y] end end end
Files
Decker-1.5-mac.zip
Nov 30, 2022
Decker-1.5-win.zip 1.6 MB
Nov 30, 2022
Get Decker
Download NowName your own price
Decker
A multimedia sketchbook
Status | In development |
Category | Tool |
Author | Internet Janitor |
Tags | 1-bit, decker, ditherpunk, Game engine, HyperCard, Painting, zine |
Accessibility | Color-blind friendly, High-contrast, Interactive tutorial |
More posts
- Decker 1.521 day ago
- Decker 1.5129 days ago
- Decker 1.5057 days ago
- Decker 1.4978 days ago
- Decker 1.4899 days ago
- Decker 1.47Jul 26, 2024
- Decker 1.46Jul 05, 2024
- Decker 1.45Jun 28, 2024
- Decker 1.44Jun 07, 2024
- Decker 1.43May 24, 2024
Leave a comment
Log in with itch.io to leave a comment.