# Decker

Multimedia authoring environment for card\-based interactive documents, small games and tools with Lil scripting\.

ID: Q1210 · Revision: 1258

Type: software · License: MIT for Decker; authored decks, imported media and shared components retain their own rights\.[^license] · Status: active

Website: https://beyondloom.com/decker/



Decker is a multimedia authoring platform for interactive documents containing images, sound, hypertext and scripted behavior\. Projects are decks of cards containing widgets, with drawing and editing tools available in the same environment\. A deck can be shared as a self\-contained HTML file or used in the native application\.[^home][^format]

## Cards and widgets

Decker organizes a project as a deck of cards that can be drawn on and linked together\. Widgets add interactive elements such as buttons, fields, sliders, grids and canvases\. Basic navigation and media actions can be assembled without extensive programming, while Lil scripts handle more specialized behavior\. This makes the same document useful as a small narrative, a visual notebook or a lightweight interactive tool\.[^home]

## Reusable components and state

Custom widgets, called contraptions, combine simpler widgets into a reusable unit\. Event scripts can pass events through the containing card and deck, but ordinary local variable bindings do not persist between events\. Persistent widget values are captured in the deck representation, while modules have their own explicit key\-value stores\. Authors therefore need to distinguish transient calculation from state that should survive later interactions\.[^format]

## Document format and sharing

The format is line\-oriented text designed to keep scripts readable and localized changes suitable for source\-control diffs\. An HTML export combines the deck payload with its runtime, whereas a \.deck file can contain the payload without that wrapper\. Keeping a document self\-contained helps distribution, but the format remains Decker\-specific rather than a generic importer for arbitrary interactive HTML\.[^format]

## Web and native differences

Web\-Decker downloads a copy when saving and does not provide native\-style in\-place autosave\. Browser clipboard behavior also varies, and audio generally requires a prior user interaction\. A locked deck hides most editing controls but is explicitly not encryption or obfuscation\. Those distinctions matter when sharing work: locking changes presentation, while reliable retention still depends on saving the intended file\.[^manual]

## Media and licensing

Imported images are adapted to Decker's constrained visual representation, with monochrome dithering or the documented color mode rather than unrestricted photographic rendering\. Decker itself uses the MIT license, permitting modification and commercial distribution with retained notices\. That license does not automatically cover another author's deck, a copied component or externally acquired media\.[^manual][^license]

## Substitution considerations

Decker can be considered instead of [Twine](/twine) for multimedia narratives that benefit from spatially arranged cards and graphical controls\. Twine's story formats govern its passage behavior and extensions; Decker uses widgets and Lil event scripts\. The overlap is interactive storytelling and browser delivery, not compatible scripting or editable project formats\. Rebuilding a work requires preserving its choices and state in the new model\.[^home][^format][^twine]

## Capabilities and substitutions

### Interactive card documents — supported

Cards combine drawing, text and widgets, with optional Lil scripting\.[^home][^format]

Use case: Creating card\-based interactive narratives and multimedia documents · Platforms: Web, Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Self\-contained HTML — supported

Deck content and a browser runtime can be stored in one HTML document\.[^format]

Use case: Creating card\-based interactive narratives and multimedia documents · Platforms: Web, Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Persistent script locals — unsupported

Ordinary Lil event\-script local bindings are discarded between events; persistent state is represented elsewhere in the deck\.[^format]

Use case: Creating card\-based interactive narratives and multimedia documents · Platforms: Web, Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Browser in\-place autosave — unsupported

Web\-Decker has no autosave and downloads a saved copy instead of overwriting the opened file\.[^manual]

Use case: Creating card\-based interactive narratives and multimedia documents · Platforms: Web, Windows, macOS, Linux · Region: Version, build and integration requirements apply

### Encrypted deck locking — unsupported

A locked deck hides editing controls but is explicitly not encryption or obfuscation\.[^manual]

Use case: Creating card\-based interactive narratives and multimedia documents · Platforms: Web, Windows, macOS, Linux · Region: Version, build and integration requirements apply

### [Substitute for Twine](/twine) — limited

Assessment: an alternative for interactive narratives when a graphical card/widget layout and multimedia editing fit the project\. Twine story\-format code and Decker Lil scripts are distinct; self\-contained HTML output does not establish direct project or runtime interchange\.[^home][^format][^twine]

Use case: Creating card\-based interactive narratives and multimedia documents · Platforms: Web, Windows, macOS, Linux · Region: Version, build and integration requirements apply

## References

[^home]: [Decker overview](<https://beyondloom.com/decker/>) — Multimedia/card workflow, native/web use, reusable widgets and Lil (vendor; retrieved 2026-10-07T20:45:34Z)

[^manual]: [Decker reference manual](<https://beyondloom.com/decker/decker.html>) — Web versus native behavior, image conversion and locked decks (vendor; retrieved 2026-10-07T20:46:01Z)

[^format]: [Decker file format](<https://beyondloom.com/decker/format.html>) — Cards/widgets, event hierarchy, nonpersistent script variables and text/HTML representation (vendor; retrieved 2026-10-07T20:46:27Z)

[^license]: [Decker license](<https://github.com/JohnEarnest/Decker/blob/main/LICENSE.txt>) — MIT permission and notice conditions (vendor; retrieved 2026-10-07T20:47:38Z)

[^twine]: [Twine overview](<https://twinery.org/>) — Nonlinear narratives, story formats and HTML publication (vendor; retrieved 2026-10-07T20:47:21Z)

Source revision: https://substitutefor.net/entities/Q1210?revision=1258
