让 Deki 游戏作为应用运行在 Tactility(面向 ESP32 开发板的操作系统)中,而不是作为占据整个设备的固件。
仓库:github.com/dekiengine/deki-tactility-integration · 最新版本:0.19.0 · 需要引擎 0.19.0 或更高版本 · 依赖:deki-input
使用 DekiEditor --packages-add deki-tactility-integration <project> 或通过包管理器安装。引擎自身的组件和 C++ API 见 Deki 文档。
在编辑器中显示为 **Tactility Integration**。
组件
功能开关
可以从构建中去掉的部分。带有 define 的功能通过该 define 开关,其余的随其组件一起被剥离。
| 功能 | define | 默认值 |
| Display | — | 开 |
| Input | — | 开 |
组件参考
TactilityDisplaySetup
为游戏提供 Tactility 的显示屏:整个面板,或在系统仍运行时的一个窗口。
检视器中的名称:Tactility 显示屏设置 · 类别:Tactility · 类型:DekiTactility::TactilityDisplaySetup
| 属性 | 类型 | 默认值 | 约束 | 说明 |
| mode | enum | "Panel" | Panel, Window | 面板模式接管整个显示屏并停止 LVGL,游戏独占每个像素。窗口模式在应用窗口中运行游戏,LVGL 和系统仍在周围运行,大小为平台的屏幕大小。 |
TactilityInputSetup
将 Tactility 的触摸和键盘输入传入 Deki 的输入系统。
检视器中的名称:Tactility 输入设置 · 类别:Tactility · 类型:DekiTactility::TactilityInputSetup
没有反射的属性。
更新日志
更新日志为英文。
0.19.0
Changed
- minEngine 0.19.0: built against engine 0.19.0, whose component metadata records the package each class is in. A build of this package from before does not load and is rebuilt.
Added
- Japanese, Simplified Chinese and Korean: editor/lang/ja.json, zh.json and ko.json translate the names, tooltips and enum values this package's components show in the Inspector.
- The package's editor text goes through the editor's translation (Tr), so it shows in the editor's language. Needs the editor release that adds Localization.h; raise minEngine to it when releasing.
0.18.0
Changed
- minEngine 0.18.0. Reflection ABI 21: the package must be rebuilt.
- The boot scenes are saved in the current scene format, as the editor writes them, so an adopted board matches its package copy.
- The Tactility board template uses externalMemorySize and keeps mcuChip in frameworkOptions, as the editor saves them.
- Names follow the code style (deki-engine/docs/codestyle): types, functions and enum values are PascalCase, constants kPascalCase, members m_PascalCase, locals and parameters camelCase. The code is formatted with clang-format 22.
- The functions the editor finds by name are PascalCase: DekiTactilityRegisterComponents, DekiTactilityGetAutoComponentCount, DekiTactilityEnsureRegistered and the rest. Built against engine ABI 21; a build of this package from before does not load and is rebuilt.
Fixed
- A build picks up package source files added after it was first configured.
更早的版本:CHANGELOG.md
由包的反射数据生成(引擎 0.19.0)。属性名就是场景文件中使用的键。重命名后会保留别名(兼容性)。