Gameabc 多帧图切帧的迁移垫片(FrameSet)与 Cocos 现代化方向冲突: - 散图命名 + prefix 加载 vs Auto Atlas 合图 + SpriteFrame 引用 - 自研异步组件 vs Cocos 内置 Button.Transition / Animation - 制造"何时用 FrameSet vs Button"的概念困惑 新方案:多状态用 Button.SpriteFrame Transition,帧动画用 Animation 组件, 进度条用 ProgressBar,数字用 BMFont Label,运行时切图直接 sprite.spriteFrame = frame (O(1) 赋值,无需 async)。 保留 ui/theme 与 atlas-* 资源(主流资产)。 90/90 tests pass, typecheck exit 0。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
framework — 框架真源(唯一权威副本)
各子游戏工程的 assets/framework 是指向本目录的 junction(见 scripts/setup-links.mjs)。
六层结构(依赖严格单向,详见 spec §3):core / net / protocol / platform / ui / sdk。
协议相关实现一律以 docs/protocol/ 为唯一信息源(spec §0.1),不在代码或注释中内联复制协议字段。