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,360 @@
|
||||
{
|
||||
"layerId": 420,
|
||||
"name": "CheckFree_Layer",
|
||||
"bucket": "room",
|
||||
"backgroundNodeId": 242,
|
||||
"groups": [
|
||||
{
|
||||
"groupId": 36,
|
||||
"nodeIds": [
|
||||
242,
|
||||
243,
|
||||
244,
|
||||
247,
|
||||
246,
|
||||
245,
|
||||
361
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": 242,
|
||||
"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": 242,
|
||||
"imageFileId": 11,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 36,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 0,
|
||||
"top": 0,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-common/00011.png",
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 243,
|
||||
"name": "确认解散背景",
|
||||
"kind": "sprite",
|
||||
"position": {
|
||||
"x": 0.5,
|
||||
"y": 44
|
||||
},
|
||||
"size": {
|
||||
"width": 637,
|
||||
"height": 212
|
||||
},
|
||||
"siblingIndex": 2,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": 0.5
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 243,
|
||||
"imageFileId": 41,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 36,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 322,
|
||||
"top": 210,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-common/00041.png",
|
||||
"type": "sliced",
|
||||
"slice": {
|
||||
"left": 55,
|
||||
"right": 55,
|
||||
"top": 45,
|
||||
"bottom": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 244,
|
||||
"name": "确认底",
|
||||
"kind": "sprite",
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 55
|
||||
},
|
||||
"size": {
|
||||
"width": 550,
|
||||
"height": 120
|
||||
},
|
||||
"siblingIndex": 3,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": 0
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 244,
|
||||
"imageFileId": 42,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 36,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 365,
|
||||
"top": 245,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-common/00042.png",
|
||||
"type": "sliced",
|
||||
"slice": {
|
||||
"left": 53,
|
||||
"right": 53,
|
||||
"top": 48,
|
||||
"bottom": 48
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 247,
|
||||
"name": "关闭解散确认",
|
||||
"kind": "sprite",
|
||||
"position": {
|
||||
"x": -256.5,
|
||||
"y": -489
|
||||
},
|
||||
"size": {
|
||||
"width": 83,
|
||||
"height": 84
|
||||
},
|
||||
"siblingIndex": 4,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": -256.5
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": true,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 247,
|
||||
"imageFileId": 33,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 36,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 342,
|
||||
"top": 807,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-common/00033.png",
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 246,
|
||||
"name": "取消",
|
||||
"kind": "sprite",
|
||||
"position": {
|
||||
"x": 143.5,
|
||||
"y": -59
|
||||
},
|
||||
"size": {
|
||||
"width": 157,
|
||||
"height": 74
|
||||
},
|
||||
"siblingIndex": 5,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": 143.5
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 246,
|
||||
"imageFileId": 179,
|
||||
"frameIndex": 2,
|
||||
"frameStyle": 0,
|
||||
"groupId": 36,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 705,
|
||||
"top": 382,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-room/00179_2.png",
|
||||
"type": "simple",
|
||||
"frameSet": {
|
||||
"prefix": "atlas-room/00179",
|
||||
"count": 2,
|
||||
"pad": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 245,
|
||||
"name": "确认",
|
||||
"kind": "sprite",
|
||||
"position": {
|
||||
"x": -130.5,
|
||||
"y": -59
|
||||
},
|
||||
"size": {
|
||||
"width": 157,
|
||||
"height": 74
|
||||
},
|
||||
"siblingIndex": 6,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": -130.5
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 245,
|
||||
"imageFileId": 179,
|
||||
"frameIndex": 1,
|
||||
"frameStyle": 0,
|
||||
"groupId": 36,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 431,
|
||||
"top": 382,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-room/00179_1.png",
|
||||
"type": "simple",
|
||||
"frameSet": {
|
||||
"prefix": "atlas-room/00179",
|
||||
"count": 2,
|
||||
"pad": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 361,
|
||||
"name": "Spirit361",
|
||||
"kind": "label",
|
||||
"position": {
|
||||
"x": -228.5,
|
||||
"y": 54.5
|
||||
},
|
||||
"size": {
|
||||
"width": 15,
|
||||
"height": 35
|
||||
},
|
||||
"siblingIndex": 7,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": -228.5
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 361,
|
||||
"imageFileId": 0,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 36,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 404,
|
||||
"top": 288,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"warnings": []
|
||||
}
|
||||
Reference in New Issue
Block a user