From 637854e415f8570fd158fd02881567832bee686f Mon Sep 17 00:00:00 2001 From: troytt <47798984@qq.com> Date: Fri, 18 Sep 2026 12:04:07 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=20index.html?= =?UTF-8?q?=E3=80=81net.html=E3=80=81walk.html=20=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E5=8E=9F=E5=9E=8B=E5=85=A5=E5=8F=A3=E5=B9=B6=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=A0=B9=E8=B7=AF=E5=BE=84=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除 index.html (M0 资源检视器)、walk.html (M1 原型)、net.html (M5 联机原型) - 保留 acts.html (完整暗黑2真地图漫步与全部玩法) 与 arena.html (战斗数值测试竞技场) - 更新 vite.config.ts 的 rollupOptions 输入仅保留 acts 与 arena - 配置 dev server 与打包产物根路径 (/) 自动跳转至 /acts.html - 清理 arena.html 中的历史 index.html 链接 - 同步更新 README.md 与 ROADMAP.md 中的页面索引 TAG=agy CONV=2a1934de-30ef-464e-b3f3-fcbcdbbc49f1 --- README.md | 6 +-- ROADMAP.md | 8 ++-- arena.html | 1 - index.html | 110 ------------------------------------------------- net.html | 46 --------------------- vite.config.ts | 31 +++++++++++--- walk.html | 51 ----------------------- 7 files changed, 30 insertions(+), 223 deletions(-) delete mode 100644 index.html delete mode 100644 net.html delete mode 100644 walk.html diff --git a/README.md b/README.md index ee16384..9581695 100644 --- a/README.md +++ b/README.md @@ -89,10 +89,8 @@ npm run dev # http://127.0.0.1:5173/act | 页面 | 用途 | | --- | --- | -| `/acts.html` | **主页面**:全屏画布 + 三级选择器(章节 / 场景 / 细分场景)+ HUD | -| `/index.html` | MPQ 资源检查器(头、存储标志、压缩掩码分布、成员列表、精灵预览) | -| `/walk.html?sample=<你的.mpq>` | 可行走演示(D1 试玩版 `spawn.mpq` 已验证) | -| `/net.html?data=samples/fixtures&ws=ws://127.0.0.1:8787&peers=3&peer=0` | 2–4 人联机(先 `npm run net-server`) | +| `/acts.html`(或访问根路径 `/`) | **主页面**:全屏画布 + 三级选择器(章节 / 场景 / 细分场景)+ HUD | +| `/arena.html` | **战斗测试竞技场**:攻防数值数学模型、技能加成、伤害计算器(1.13c 原版公式验证) | 主页面查询参数: diff --git a/ROADMAP.md b/ROADMAP.md index 9059fb7..c3521ec 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -607,7 +607,7 @@ src/ render/ atlas renderer(WebGL2 单批次四边形 + 顶点色 tint) sim/ loop(定点 25 Hz,含追帧上限)input scene/ act-scene.ts(主场景:真地图 + 全部玩法)net-scene.ts(联机轨) -index.html walk.html net.html acts.html 四个入口 +acts.html arena.html 两个前台入口 scripts/ 夹具生成、验证脚本、打包/发布、中继服务器、浏览器验证工具 tools/go-oracle/ 独立 Go 参考解码器(差分验证用) samples/ 夹具与被 .gitignore 忽略的归档 @@ -622,10 +622,8 @@ samples/ 夹具与被 .gitignore 忽略的归档 | 页面 | 地址 | 内容 | | --- | --- | --- | -| 资源检查器 | `/` | MPQ 头/存储标志/压缩掩码分布、成员列表、精灵逐帧预览 | -| 可行走演示 | `/walk.html?sample=samples/spawn.mpq` | 真实暗黑 1 归档:CEL/CL2、调色板、8 方向走动、碰撞 | -| 联机合作 | `/net.html?...&peers=3&peer=0` | 2–4 人同一世界(保留,不在交付路径) | -| **主场景** | `/acts.html?act=1`;线上 `https://www.laiseek.xyz/diablo2/?act=1` | 等距真地图 + 真·女法师(DCC+COF,16 层/8 方向)+ 全部玩法(战斗、掉落、背包、技能、任务、NPC、存读档 K/L)。三级选择器:章节 → 场景 → 细分场景 | +| **主场景** | `/acts.html`(根路径 `/` 自动跳转);线上 `https://www.laiseek.xyz/diablo2/?act=1` | 等距真地图 + 真·女法师(DCC+COF,16 层/8 方向)+ 全部玩法(战斗、掉落、背包、技能、任务、NPC、存读档 K/L)。三级选择器:章节 → 场景 → 细分场景 | +| **战斗竞技场** | `/arena.html` | 真实战斗数学与攻防测试竞技场(1.13c 原版公式验证、技能数值测试与面板) | 操作:WASD/方向键移动,空格或 J 攻击,E/F 拾取,T 说话,1–4 选技能,K 存档,L 读档。 `acts.html` 的输入是**屏幕方向**(菱形格子相对屏幕转了 45°,按「上」沿格子对角线向上走)。 diff --git a/arena.html b/arena.html index 7bec03e..dd81213 100644 --- a/arena.html +++ b/arena.html @@ -284,7 +284,6 @@
diff --git a/index.html b/index.html deleted file mode 100644 index 3c49b95..0000000 --- a/index.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - -正在加载地图…
- - -
- 移动 WASD / 方向键,空格或 J 攻击。每个浏览器页开一个(2–4 人都可以,人数用
- &peers= 指定,&peer= 是本页编号):
- ?data=samples/fixtures&ws=ws://127.0.0.1:8787&peers=3&peer=0,
- 另外两页把 peer 换成 1 和 2。世界由每台机器各自模拟,网络上只传按键;
- 同一 tick 的哈希不一致时页面会立刻报出分歧。
-
等待归档…
- - - -