mirror of
https://github.com/motajs/template.git
synced 2026-09-23 08:40:16 +08:00
H5 魔塔样板
- built-in names: setBlock/moveBlock/removeBlock/moveHero/stepHero/touchFront/ insertEvents/insertEvent (class names Event*) - removeBlock: static by default, dynamic:true also removes dynamic tiles - touchFront: steps the hero forward; the mover produces the OnTouch on bump - GameEventSystem.collectEvent owns source collection; mover enter/leave/hit reuse it - IBlockEventEnv gains required system and nullable heroFloor; utils.ts keeps only getPossibleMap/getPossibleLayer |
||
|---|---|---|
| .github/workflows | ||
| .gsd | ||
| .planning | ||
| .vscode | ||
| docs | ||
| packages | ||
| packages-user | ||
| public | ||
| script | ||
| src | ||
| .gitignore | ||
| .madgerc | ||
| .prettierignore | ||
| .prettierrc | ||
| AGENTS.md | ||
| dev.md | ||
| eslint.config.js | ||
| index.html | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| task.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
HTML 魔塔样板
基于 HTML5 制作的魔塔样板,支持全平台游戏!
即使完全不会编程的用户,按照模板和说明文档也能很快做出一个魔塔游戏!
更新记录
2.B 之前的更新记录请参考 2.10.3 样板。
2.B
- 完全重构渲染系统,将大部分渲染相关内容移植入新渲染系统,但仍有部分内容尚未移植完毕
- 提供新的启动服务,可以享受到完整的新技术栈支持
- 新功能:可以自定义自动元件的连接
- 新功能:新增
opus音频格式的支持,oggopus现在支持 iOS 设备 - 新功能:新增
webp图片格式的支持 - 调整:由于重构的不完全,目前仍有部分功能暂时无法提供支持,将会在未来的版本中逐步修复(2.B.1, 2.B.2 等)