feat(ui-migration): 转换 CLI 与全量产出
55 界面 / 991 节点 → 中间描述; 439 图 → 1306 张散图落入 atlas-* 目录。
产出前先跑重组校验; 每次转换清空产出目录(中间描述 + 各 atlas-{bucket})保证幂等。
bucket 未定的层告警并落入 atlas-unassigned(7 层/162 图/285 帧), 不静默归入 common。
10 条 FrameIndex 越界警告(已知源数据遗留问题)随产出落盘为 warnings.json。
散图已用 cocos-mcp-server 刷新导入, 1306 个 .meta 由编辑器生成并入库。
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"layerId": 619,
|
||||
"name": "BackHall_Layer",
|
||||
"bucket": "common",
|
||||
"backgroundNodeId": null,
|
||||
"groups": [
|
||||
{
|
||||
"groupId": 55,
|
||||
"nodeIds": [
|
||||
465
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": 465,
|
||||
"name": "Spirit465",
|
||||
"kind": "sprite",
|
||||
"position": {
|
||||
"x": 569.5,
|
||||
"y": 168.5
|
||||
},
|
||||
"size": {
|
||||
"width": 91,
|
||||
"height": 91
|
||||
},
|
||||
"siblingIndex": 1,
|
||||
"widget": {
|
||||
"horizontal": "right",
|
||||
"right": 25
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 465,
|
||||
"imageFileId": 31,
|
||||
"frameIndex": 1,
|
||||
"frameStyle": 0,
|
||||
"groupId": 55,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 1164,
|
||||
"top": 146,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-common/00031.png",
|
||||
"type": "simple"
|
||||
}
|
||||
}
|
||||
],
|
||||
"warnings": []
|
||||
}
|
||||
Reference in New Issue
Block a user