mirror of
https://github.com/motajs/template.git
synced 2026-11-01 22:24:31 +08:00
dd4e66a335fdd4aedabbcc84d14073f9617b8f5e
- ReplayUseItemCommand / ReplayEquipCommand / ReplayUnequipCommand now extend BaseReplayCommand with fixed numeric params and per-false-position logger error codes (2006-2010); string item/slot params removed, autoUnload is a required bool. - remove isNumber/isItem/isBoolean/isSlot/resolveSlot helpers; all logic now lives in the command classes. - drop createReplayCommandItems/registerReplayCommandItems; CoreState owns a private registerReplayCommand() registering the eight stable codes directly. - prune unused replay boundary types from replay/types.ts. - fix ReplaySandbox: a replay ending on a run of moves now finalizes the trailing run through notExecuted (previously the last move never started). - rewrite commands.test.ts for the base-class design and direct registration. Verified: data type gate 0 in-scope; vitest 19 files / 112 tests pass; prettier and eslint clean on touched files.
HTML 魔塔样板
基于 HTML5 制作的魔塔样板,支持全平台游戏!
即使完全不会编程的用户,按照模板和说明文档也能很快做出一个魔塔游戏!
更新记录
2.B 之前的更新记录请参考 2.10.3 样板。
2.B
- 完全重构渲染系统,将大部分渲染相关内容移植入新渲染系统,但仍有部分内容尚未移植完毕
- 提供新的启动服务,可以享受到完整的新技术栈支持
- 新功能:可以自定义自动元件的连接
- 新功能:新增
opus音频格式的支持,oggopus现在支持 iOS 设备 - 新功能:新增
webp图片格式的支持 - 调整:由于重构的不完全,目前仍有部分功能暂时无法提供支持,将会在未来的版本中逐步修复(2.B.1, 2.B.2 等)
Languages
TypeScript
54%
JavaScript
31.1%
HTML
9%
ANTLR
2.4%
Vue
2.2%
Other
1.2%