# Decker 四周年：游戏手柄与 Lil 语言进化

Original title: Four Years with Decker

> Hacker News story 50165215 · language: zh · submitted 2026-10-20
> Web version: https://zeli.app/zh/story/50165215
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 61 · by [ibobev](<https://news.ycombinator.com/user?id=ibobev>) · 💬 17
[original](<https://beyondloom.com/blog/fouryearsdecker.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50165215>)

## Summary

Decker 迎来四周年里程碑，这次更新带来了令人兴奋的新功能。最引人注目的是对 gamepad input 的原生支持，让用 Decker 开发街机风格游戏成为可能。同时，脚本语言 Lil 在数值比较、表格处理及新增的 trim、ceil 等算子上进行了关键修正与扩展，显著提升了开发效率。IMG3 编码器的引入大幅优化了图片压缩率，而 contraptions 的新属性类型则让自定义 UI 更加灵活。社区生态也持续繁荣，从 Phinxel 的精美教程到各类 Decker Jams 活动，开发者们创作了超过 350 款游戏和应用，展示了这个平台在多媒体创作上的无限潜力。

## Key quote

> Decker 用户中有很多人对制作视频游戏充满热情，而 gamepad 功能让街机类和动作类游戏触手可及。

## HN discussion (17 comments)

### [xyzzy_plugh](<https://news.ycombinator.com/item?id=50179460>)

> 只要看到 Decker 我就忍不住要发帖。
>
> Decker 是我知道的代码库中最疯狂的之一：单个、极度密集的文件：
>
> https://raw.githubusercontent.com/JohnEarnest/Decker/refs/he...
>
> （我好奇要多少 token 才能让这东西变得可读……）

### [nikitau](<https://news.ycombinator.com/item?id=50176927>)

> 太喜欢了。
>
> 在阅读本文前，我完全不知道 Decker 的存在，想说的是它和我之前见过的任何东西都不一样。不过随后它让我想起了像 Arduboy 或 PICO-8 这样的东西，因为它们都是一种“另类历史”技术，只不过不是围绕掌机 UI，而是围绕一种老式 Mac 风格的 UI 构建了一个生态系统。
>
> 我很好奇 OP 使用它的动机是什么。这是一种“限制激发创造力”的情况，还是别的什么？
>
> 这类项目有没有一个更广泛的统称？

### [supermaurio2000](<https://news.ycombinator.com/item?id=50178091>)

> 太棒了，感谢创建这个项目。
>
> 我特别喜欢的一点是：如果你把它保存为 html 文件，它本身就包含了引擎，并且不会向外部世界发起任何调用。

---

## Cite

- Page: https://zeli.app/zh/story/50165215
- Date: 2026-10-20
- Source: beyondloom.com (https://beyondloom.com/blog/fouryearsdecker.html)
- Hacker News: https://news.ycombinator.com/item?id=50165215

## Other languages

- en: https://zeli.app/story/50165215 · markdown: https://zeli.app/story/50165215.md
- ja: https://zeli.app/ja/story/50165215 · markdown: https://zeli.app/ja/story/50165215.md
- ko: https://zeli.app/ko/story/50165215 · markdown: https://zeli.app/ko/story/50165215.md
- de: https://zeli.app/de/story/50165215 · markdown: https://zeli.app/de/story/50165215.md
- es: https://zeli.app/es/story/50165215 · markdown: https://zeli.app/es/story/50165215.md
- ru: https://zeli.app/ru/story/50165215 · markdown: https://zeli.app/ru/story/50165215.md
