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,196 @@
|
||||
{
|
||||
"layerId": 11,
|
||||
"name": "ChargeInfo_Layer",
|
||||
"bucket": "hall",
|
||||
"backgroundNodeId": 146,
|
||||
"groups": [
|
||||
{
|
||||
"groupId": 20,
|
||||
"nodeIds": [
|
||||
146,
|
||||
147,
|
||||
148,
|
||||
680
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": 146,
|
||||
"name": "充值提示遮罩",
|
||||
"kind": "sprite",
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"size": {
|
||||
"width": 1280,
|
||||
"height": 720
|
||||
},
|
||||
"siblingIndex": 1,
|
||||
"widget": {
|
||||
"horizontal": "stretch",
|
||||
"vertical": "stretch",
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0
|
||||
},
|
||||
"flags": {
|
||||
"stretch": true,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 146,
|
||||
"imageFileId": 11,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 20,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 0,
|
||||
"top": 0,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-common/00011.png",
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 147,
|
||||
"name": "充值提示背景",
|
||||
"kind": "sprite",
|
||||
"position": {
|
||||
"x": -7,
|
||||
"y": 13.5
|
||||
},
|
||||
"size": {
|
||||
"width": 454,
|
||||
"height": 207
|
||||
},
|
||||
"siblingIndex": 2,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": -7
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 147,
|
||||
"imageFileId": 54,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 20,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 406,
|
||||
"top": 243,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-common/00054.png",
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 148,
|
||||
"name": "充值提示文字",
|
||||
"kind": "label",
|
||||
"position": {
|
||||
"x": -116,
|
||||
"y": 54
|
||||
},
|
||||
"size": {
|
||||
"width": 126,
|
||||
"height": 28
|
||||
},
|
||||
"siblingIndex": 3,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": -116
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 148,
|
||||
"imageFileId": 0,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 20,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 461,
|
||||
"top": 292,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 680,
|
||||
"name": "Spirit680",
|
||||
"kind": "label",
|
||||
"position": {
|
||||
"x": -78.5,
|
||||
"y": -6
|
||||
},
|
||||
"size": {
|
||||
"width": 21,
|
||||
"height": 28
|
||||
},
|
||||
"siblingIndex": 4,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": -78.5
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 680,
|
||||
"imageFileId": 0,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 20,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 551,
|
||||
"top": 352,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"warnings": []
|
||||
}
|
||||
Reference in New Issue
Block a user