Bitsy:一个人的小小游戏
Bitsy,Adam Le Doux,2017 年

正在布展…
它是怎么做的
- 第 1 步世界由 16×16 格房间组成,每格是一个 8×8 的单色位图瓦片
- 第 2 步精灵、物品和瓦片共享一个三色调色板
- 第 3 步对话用一种轻量脚本语言,支持效果标签如波浪字和颤动字
- 第 4 步导出时把引擎代码和游戏数据文本拼进一个独立 HTML
复刻配方
一段技术配方,可以直接交给 AI 编程助手,也可以自己照着写。想指定技术栈、位置和性能预算,就把它加入实现方案。
Store the whole game as a plain text format listing palettes, 8x8 one-bit tiles, sprites, items and rooms as 16x16 tile grids. Render to a small canvas scaled up with nearest-neighbour filtering. Move the player one tile per key press, block on wall tiles, and trigger dialogue when bumping into a sprite. Typeset dialogue in a pixel font with per-character effects such as wavy or shaky text, and export by inlining the engine and the game text into one HTML file.


