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>
18 lines
365 B
JSON
18 lines
365 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"skipLibCheck": true,
|
|
"types": ["node"],
|
|
"lib": ["ES2020", "DOM"]
|
|
},
|
|
"include": [
|
|
"YouleNexus/assets/framework/**/*.ts",
|
|
"framework-tests/**/*.ts"
|
|
]
|
|
}
|