diff --git a/game/smoke/shot_probe.gd b/game/smoke/shot_probe.gd index d33c2a8e..83a646c4 100644 --- a/game/smoke/shot_probe.gd +++ b/game/smoke/shot_probe.gd @@ -42,9 +42,9 @@ func _ready() -> void: # apply 隔离档出厂默认=窗口化 1280x800,恢复本探针设计前提。探针侧环境修正,零运行时改动) main.settings_store.apply() await get_tree().process_frame - # ① 菜单(启动态) - _meta["menu_sub"] = ProbeUiUtil.label_rect(main._start_overlay, "改造批") - _meta["menu_help"] = ProbeUiUtil.label_rect(main._start_overlay, "玩法:") + # ① 菜单(启动态)——meta 锚经 S1 裁后换代(2026-10-08 用户裁:副标题锚改认现行文案; + # 帮助文腿整个退役——载体玩法速览牌 2026-10-06 用户令退役,checker 对应断言段同撤) + _meta["menu_sub"] = ProbeUiUtil.label_rect(main._start_overlay, "扫雷的因") _meta["menu_title"] = ProbeUiUtil.label_rect(main._start_overlay, "Dungeon Sweeper") await _snap("menu") # ①b 设置面(迭代 19 卡① T1 扩屏——settingsbtn 真实信号路径,开合同款真实钮) @@ -123,8 +123,8 @@ func _ready() -> void: for i in 10: await get_tree().process_frame await _snap("battle") - # 战斗屏文字框/明度带锚点(全局 rect——checker 取样坐标源) - _meta["battle_log_hint"] = ProbeUiUtil.label_rect(main.stage, "结算明细") + # 战斗屏文字框/明度带锚点(全局 rect——checker 取样坐标源;明细带锚 S1 裁后改认现行文案) + _meta["battle_log_hint"] = ProbeUiUtil.label_rect(main.stage, "上轮摘要") _meta["hero_panel"] = _node_rect(ProbeUiUtil.find_by_script(main, "hero_info_panel_view")) _meta["stage_view"] = _node_rect(main.stage) _meta["board_zone"] = _node_rect(main.board_zone) diff --git a/tools/shot_checker.py b/tools/shot_checker.py index 638b7eea..042d7666 100644 --- a/tools/shot_checker.py +++ b/tools/shot_checker.py @@ -8,7 +8,8 @@ r"""shot_checker.py — 整屏样张闸机检(迭代 9 卡⑤/T8 2026-09-30; 断言(整屏样张闸 §1.4 四项的机检可判面): A 屏级骨架: PNG 存在/尺寸=工程档/灰度 std≥8/唯一色数≥64(渲染真实发生); B 文字对比度: 已知文字框〔主墨/暖白 文字簇 vs 背景簇 p2/p98 极性无关〕WCAG ≥4.5:1 - (菜单副标题+帮助文/战斗 C 区面板/结算明细提示——圣经 v3.5 §7.2 全局文字硬指标机检面); + (菜单副标题/战斗 C 区面板/结算明细提示——圣经 v3.5 §7.2 全局文字硬指标机检面; + 原「菜单·帮助文」腿随载体玩法速览牌退役同撤——迭代 19 卡① S1 裁 2026-10-08); C 明度三档带: 战斗屏 信息面(C 区面板均值) > 世界中(棋盘区均值) > 世界底(舞台无光柱区均值) (§2 明度分层——层间灰度可分); D 文字禁压纹理: 各文字框背景主簇纯度 ≥0.5(±12 灰度带占比——文字下垫平滑容器非 busy 纹理); @@ -131,7 +132,8 @@ def main() -> int: if "shot_menu.png" in imgs: m = imgs["shot_menu.png"] check_text_box(m, box_of(meta, "menu_sub"), "菜单·副标题", failures) - check_text_box(m, box_of(meta, "menu_help"), "菜单·帮助文", failures) + # 菜单·帮助文断言腿退役(迭代 19 卡① S1 裁 2026-10-08——载体玩法速览牌 2026-10-06 用户令 + # 退役「界面禁玩法文字墙」,锚/取样键/断言段三处同撤,不重锚) print("[shot_checker] 焦点预算〔首焦唯一〕= 目检项(T15 段闸人闸清单判定——语义面不机检)") if failures: print("[shot_checker] FAIL——")