Files
windroost/MVP_READY_GATE.md
T
wushenghua 281349945f feat: wire the full P3a launch content and playable game shell
The 6/10/1/10 content was frozen in the data pack but never reached a running
game. This adds the full chapter and the shell that makes it playable.

Content. tools/build_launch_content.py turns the data pack's relative enemy
stats into data/mvp_launch_content.json with explicit per-node HP scales and
wave composition. The simulator accepts per-scenario enemy specs and an HP
scale; P2 scenarios carry neither, so the 300-result parity gate still passes.

Progression. ProfileStore owns the durable profile (schema 2, atomic write,
corrupt fallback, claim-once). GameRoot routes skyport -> map -> battle ->
result -> map. Only recruited heroes contribute roster DPS, so unlocking H04
at node 2 and spending gold on upgrades actually make the next battle stronger
-- the core CH fantasy that was missing when every hero counted from the start.

Three real defects surfaced while testing the loop and were fixed: P3a nodes
fell back to N01's reward id (so a second clear was silently de-duplicated),
the visible-roster set ignored unlocks, and the test itself read duration from
the live state where only the result document has that field.

tools/run_p2_checks.sh now runs 14 gates; all pass. P3a loop test drives two
nodes, reward, unlock and save/reload. The capture matrix includes the skyport
and map pages. Open gates remain the real-device and human ones.
2026-11-17 01:05:32 +08:00

5.5 KiB
Raw Blame History

MVP 开发准备闸门

用途:判断什么时候可以开始正式 Godot MVP 开发。这里只准备材料和规则,不自动启动 Godot 工程。

已完成

  • P0 产品与玩法合同
  • CH 参考边界和字段映射
  • MVP Demo / 完整 MVP 两层范围
  • MVP 必须页面、数据、战斗、存档和本地化字段
  • 战斗 HUD 和共享 UI 组件规格
  • 首发数据绑定表和第一纵切验收表
  • 像素风生产合同和透明切图规则
  • H01 20 帧试产包离线验收
  • EG01/B01 idle 人工确认
  • EG01/B01 hit 候选生成和透明切图
  • Gitea 代码、文档和素材归档

进入正式开发前还要准备完

  • P1 固定 seed 验证输入包和结果格式(战斗 fixture 已执行;结果见 PRODUCTION/36-mvp-seed-validation.md)
  • P3a 可用的程序化攻击/死亡/破甲表现方案(完整角色状态延后到 P3c)
  • MVP 的 3 名英雄、2 种敌人、1 个 Boss、3 个节点最终字段冻结(manifest:data/mvp_p2_validation_manifest.json)
  • MVP 所需背景、UI 组件和 3 个程序化 VFX 的 manifest(已由 P2 样例完成导入/路径 smoke)
  • Godot 小样验证用例:导入、锚点、播放、NinePatch、动态文字、三种竖屏尺寸(用例:PRODUCTION/38-p2-godot-validation-cases.md)
  • P2 性能、多语言、1x/2x/3x 和最小存档读写 smoke 验证表(用例已冻结)
  • 运行时与纸面数值一致(parity 闸门):300 条结果逐字段一致,冻结参考已建立
  • 战斗 HUD 承载物:合同驱动的布局、中英文 key 层、三尺寸截图矩阵
  • 角色动画进入战斗舞台:H01/EG01/B01 多帧图集、统一脚线、idle 循环与 hit 回退
  • 真实输入证据:Input.parse_input_event ScreenTouch 命中三个入口并在正确 tick 产生事件
  • 运行时经济闭环:胜利→奖励→金币→升级→DPS 变化→下一场生效
  • VFX 与事件映射:三个像素 VFX,事件驱动,低功耗跳帧
  • P2 真机/人工闸门:安全区、性能、可读性与继续游玩意愿
  • 正式开发协作方式、分支方式和启动顺序由 Owner 指定(2026-11-17:Owner 授权连续开发模式——本会话自行维护 PMO/验收闸门与 Git 提交,开发中不逐批暂停等待确认;以"整体确实可用"为下一汇报点)
  • P2 本地验收完成,放行进入 P3a

EG01/B01 的完整 attack/death/break 角色状态不再阻塞 P3a。P3a 使用 idle、hit、程序化命中闪白、破盾闪光和淡出;P3c 再补完整动作状态。

固定 seed 战斗 fixture 已通过三组 100 seed 场景;这只完成 P1 的战斗可复现证据,经济、重建、离线和存档事务仍未放行。

当前运行时状态:p2_godot_sample/ 已完成 Godot 4.6 headless/runtime smoke,并通过最小 schema=1 存档、重复领奖抑制和重新加载恢复检查。角色动画、真实视觉布局、真实触摸、运行时经济、VFX 和可视节点上限均已补上。P2 本地验收通过;真机安全区 inset、真机帧率/内存/热、profiler 帧时采样,以及人工可读性与继续游玩意愿仍为开放的设备/人工闸门。

一次性检查入口:tools/run_p2_checks.sh(13 项:内容校验、文案校验、经济校验、纸面确定性、运行时 parity、headless smoke、存档 smoke、速度等价、真实触摸、运行时经济闭环、VFX 与事件映射、可视节点上限、UI 截图矩阵)。

经济/离线/重建的纸面 smoke 也已通过:成本单调、购买幂等、8 小时离线封顶和 1999/2000/4000 等级边界均有结果文件;Godot 运行时事务和完整回本节奏仍未放行。

内容 fixture、seed 包、共享数值规则和 P2 manifest 已通过稳定 ID/必需字段/资产路径校验;验证命令为 python3 tools/mvp_content_validator.py。UI 文案另有 python3 tools/mvp_ui_text_validator.py,保证中英文 key 集合一致且代码引用的 key 全部存在。

进入 Godot 小样验证的条件

这些条件已满足,且已完成第一项实际 Godot 工作;这仍不是完整产品开发:

  1. MVP 范围不再变化;
  2. P1 输入字段和输出日志格式准备好;
  3. 至少 1 个英雄、1 个普通敌人、1 个 Boss、1 套 UI 组件可导入;
  4. Owner 明确允许开始技术小样;
  5. 只验证渲染、锚点、播放、输入和性能,不扩展内容。

进入 MVP 正式开发的条件

必须同时满足,当前尚未全部满足:

  1. P1 固定 seed 结果通过;
  2. P2 Godot 小样通过;
  3. P0 玩法、数据和范围没有未解决冲突;
  4. P0/P1 没有未登记的阻塞问题;
  5. Owner 明确正式开发协作方式和启动顺序。

正式开发第一批只做什么

  • 数据表、稳定 ID 和内容校验;
  • BattleSim 的 Godot 接线;
  • 3 名英雄、2 种敌人、1 个 Boss、3 个节点;
  • 战斗 HUD、连续点击、风暴号令、终极覆盖;
  • 结算、英雄升级和回港。

P3b 再增加:

  • 重建预览页、确认弹窗和事务结果页;
  • 本轮等级/金币重置、长期解锁保留和重建奖励;
  • 强退恢复、离线报告和重复领奖保护。

正式开发第一批明确不做什么

  • 不做 54 英雄、120 敌人、600 节点;
  • 不做新天空、完整商业化、在线服务和排行榜;
  • 不做英雄掉血、治疗、坦克、仇恨、自由移动和复杂 AI;
  • 不批量生成全套动画、VFX、SFX 和过场;
  • 不在 P3a 战斗 Demo 通过前扩展到 P3b 的重建和离线细节。