Files
AIGame/Doc/Design/G3/PerformanceBudget.md
udxandClaude Opus 5.5 89e0fa246f Add formal enemies, remaining formal partners and synthesized UI SFX
- UI SFX v3: procedurally synthesized one-shots (Tools/synth_ui_sfx.py) wired to
  buttons, rewards, errors and red dots via UiSfx, gated by the SFX setting.
- Five formal enemies (Hornlet, Dashlet, Shellhorn, HornCaptain, GreatHorn):
  Hunyuan 50k -> 2000-tri XPbr, DGXA TokenRig, Idle/Walk/Attack, nested per type
  in PrototypeArena; PrototypeBattle.Enemy gains presentation-only Moving/Strikes.
- Formal partners for all ten pets in the arena and portraits, including new
  VineSprite, ThunderLeopard and TideWhale.
- Pipeline fixes: reject local TokenRig fallback, drop loose mesh islands,
  configurable Unity run_script timeout, companion static stage.
- Also includes concurrent work from another tool in this working tree
  (FlameLion, enemy combat FX, challenge mode, home explorer, server updates).
- Resources registered in Doc/ResDesc_*.md; verified on isolated :18081.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 12:23:55 +08:00

1.7 KiB
Raw Permalink Blame History

G3 性能预算

对应 GameDesign 第 13 节。本文件固定验收口径;微信真机数字还没测,不能把编辑器帧率写成已达标。

项目 预算
帧率 目标机持续 30 FPS。60 FPS 只给高画质档,不作为 P0 通过线
战斗同屏 伙伴最多 6。每关 3 波共 9 个敌人,可见敌人不超过 40
营地 休息区最多展示已选伙伴,未出场模型不进当前战斗加载
渲染 URP 一盏主光。设置「流畅」走最低质量档,「标准」走中间档,「精细」走最高档
加载 页面与战场异步加载。音效和主界面音乐按功能持有,不在首屏加载全部伙伴
包体 微信主包只放壳和启动资源,玩法与美术走热更。尚未构建 Player,没有包体实测

画质三档已由 PrototypeClientPrefs.Quality 映射到 QualitySettings。桌面构建不振动;微信或手机上再验振动与音频解锁。

编辑器诊断(2026-10-21)

VerifyG3.Play 在隔离 18081 新账号上走通首页引导「发射第一枚弹珠」,进入 1-1 后主动放弃。结算文案含「建议:可调整前后排后免费重试」。流畅档采样 90 帧,见 editor_frame_sample.json。

项 实测
环境 Unity 编辑器,Windows 11,RTX 3060,画质流畅
平均帧率 55.3 FPS(最短帧 15.51 ms,最长帧 143.68 ms)
同屏 伙伴 2,采样窗口内敌人 1。上限检查为伙伴 ≤6、敌人 ≤40

这组数字只说明编辑器开场能跑。最长帧有一次超过 100 ms。不能当作微信目标机已达到 30 FPS。

未完成:微信真机帧率、内存、主包体积、首屏加载时间。