feat(starpuff): W5 四王動畫演出接關車(L22/L24/L26/L28) - #933
Merged
Conversation
- 開工活性錨:W5 worktree 建立,基準 b618fc4 v0.27.0 - 範圍:L22/L24/L26/L28 四王動畫組接關(純呈現層) 測試:活性錨空 commit,無程式變更 Co-authored-by: Cursor <cursoragent@cursor.com>
- 新增 bossAnimAssets 動態分檔:156 鍵 dynamic import 隔離,主 bundle 零字面量 - 新增 bossStagecraft 共用演出件:背景補載、入場/三招/轉段/受擊/死亡/idle 分鏡 - L22/L24/L26/L28 四王接線:分鏡鋪於既有 telegraph 窗,FSM 常數與判定零改動 - assetsV21Part2/3 搬離已認領條目留註解;缺圖以 base 立繪降級(anti-softlock) - 主 bundle +2.74 kB(≤5 kB 預算);precache 124→279 項(四王動畫入離線快取) 測試:pnpm typecheck、pnpm test(starpuff 94 檔 1269 綠、既有測試零修改)、pnpm build:starpuff Co-authored-by: Cursor <cursoragent@cursor.com>
- GAME_DESIGN 新增 §127:載入契約、演出結構、三招分鏡映射表 - 002 新增 reward-starpuff-w5-boss-stagecraft-ship(累計 +332) - changeset patch:四王動畫演出補完(玩家可感知品質提升) 測試:node scripts/verify-002-log.mjs 通過;文檔變更無程式影響 Co-authored-by: Cursor <cursoragent@cursor.com>
- verify-design-docs 守門要求章號接續遞增:main 末章 §124,新節必用 §125 - 分冊標題格式修正為「## 125.」;索引與程式碼註解全數同步 - 與 W4 劉董演出節的章號衝突屬預期加法式衝突,後合者 rebase 改號 測試:pnpm vitest run scripts/verify-design-docs.test.mjs(5 案全綠) Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
- bossAnimAssets dynamic import 補 .catch,chunk 載入失敗不再產生未捕獲 rejection,維持 console 0 門檻 - 降級語義不變:setFrame 缺圖防衛走 base 立繪,下次進關重試補載 - 新增 reject 路徑單測(vi.doMock 模擬 chunk 失敗):先重現未捕獲 rejection 紅、修復後綠,並斷言 loader 零觸碰與分鏡降級行為維持 測試:pnpm vitest run bossStagecraft.test.ts 7 案綠零 error;pnpm --filter @app/starpuff test 94 檔 1270 案綠 Co-authored-by: Cursor <cursoragent@cursor.com>
- 03-enemies-bosses.md 子標題 127.1/127.2/127.3 改 125.1/125.2/125.3(頂層改號時漏改) - verify-design-docs 新增子標題章號一致性檢查:### N.x 的 N 必須等於所屬 ## N. 章號,防同型漂移再犯 - 驗證順序:守門增強先精確抓到 3 處 127.x 殘漏(紅重現)、修復後綠 測試:pnpm vitest run scripts/verify-design-docs.test.mjs 5 案綠(含先紅後綠驗證) Co-authored-by: Cursor <cursoragent@cursor.com>
- 追加 neutral-starpuff-w5-review-foldin:審查席 S 兩項 Should-fix 摺入紀錄 - 檔頭以 PR 聚合語意記分:+1(reward 1、penalty 0、neutral 1)|累計總分 +332 - pre-commit 單 commit 語意與 PR 聚合檔頭結構性不相容(reward 條目已在前一 commit 推送),沿 AGENTS.md rebase 條款以手動驗證補償 測試:node scripts/verify-002-log.mjs --base-ref origin/main 通過;commitlint 與 prettier 手動驗證通過
Contributor
Author
審查席 S 兩項 Should-fix 已摺入(PM 裁決)
Deviation 記錄(002 commit 未經 pre-commit hook)
|
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
已上線四王(L22 Tariffang/L24 Maridella/L26 Reflector/L28 Gravion)的 B06 動畫組 156 鍵(39 鍵/王)自
assetsV21Part2/3停車場全數接關,演出規格對齊劉董:入場 4 幀、三招 windup-charge-burst-recover 分鏡、P2/P3 轉段 13 幀、受擊 2 幀、死亡 6 幀、idle 呼吸輪播。架構(#883 分階段載入契約)
core/bossAnimAssets.ts:manifest 分檔只被 dynamic import——條目字面量獨立成 async chunk(27.87 kB),主 bundle 零字面量(+67.88 kB 教訓規避)systems/bossStagecraft.ts:四王共用演出件——魔王關 create 期 fire-and-forget 背景補載(四王關全有 400px 前室=充分窗口,不佔載入畫面不阻塞進關);換幀單點textures.exists防衛,缺圖以 base 立繪降級(anti-softlock);演出代際優先權(death > trans > move > hit > idle)行為零改變證據
assetsV21.test.ts四道守門、reflector.test.ts分身池鎖定)vscale.rebase(沿 §77 既有換裝模式,物理箱恆為基準);無 setVelocity 等物理副作用預算與量測
進關時間(dev 環境 ×5 中位):L22 122ms/L26 97ms vs 無動畫基準 L20 476ms——背景補載零阻塞,無退化訊號(遠低於 500ms 門檻)。
四王實測(Playwright CLI,dev server)
四王各關全流程實測(入場→戰鬥分鏡→P2→P3→擊殺):
screenshots/w5-*.png(依 QA 規範不入版控,PM 可本機查看)守門與規範
assetsV21.test.ts四道守門零修改全綠;新增bossAnimAssets.test.ts(鍵組結構/實檔存在/零鍵重複)與bossStagecraft.test.ts(分鏡時序/代際打斷/缺圖降級/節流/死亡凍結)測試
Made with Cursor