mirror of
https://github.com/motajs/template.git
synced 2026-11-13 14:44:30 +08:00
f0fd2f54a14137a500a073f1af9e48577d8565eb
- rewrite every built-in as EventXxx implements BuiltInFunction<P, E> (setBlock/moveBlock/deleteBlock/moveHero/moveHeroStep/touchFront/ insertEvents/insertEvent), matching the EventSetBlock reference style - move shared helpers to event/utils.ts (getPossibleMap, getPossibleLayer, getEventExecutor, enter/exitEventInsert); utils is not exported via index - move per-class helpers into private methods (EventTouchFront and EventInsertEvents collectInvocations) - use IObjectMover.push for move sequences instead of manual step calls - registrations.ts: one createEventRegistrations() writing the eight entries in order, categories separated by single-line comments - remove EventBuiltinName; classes own short string names - update event tests; core.ts uses createEventRegistrations
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%