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,154 @@
|
||||
{
|
||||
"layerId": 613,
|
||||
"name": "updateRoomCard_Layer",
|
||||
"bucket": "common",
|
||||
"backgroundNodeId": 226,
|
||||
"groups": [
|
||||
{
|
||||
"groupId": 34,
|
||||
"nodeIds": [
|
||||
226,
|
||||
228,
|
||||
229
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": 226,
|
||||
"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": 226,
|
||||
"imageFileId": 11,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 34,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 0,
|
||||
"top": 0,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-common/00011.png",
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 228,
|
||||
"name": "房卡修改背景",
|
||||
"kind": "sprite",
|
||||
"position": {
|
||||
"x": 12,
|
||||
"y": 19.5
|
||||
},
|
||||
"size": {
|
||||
"width": 570,
|
||||
"height": 105
|
||||
},
|
||||
"siblingIndex": 2,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": 12
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 228,
|
||||
"imageFileId": 87,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 34,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 367,
|
||||
"top": 288,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
},
|
||||
"sprite": {
|
||||
"frame": "atlas-common/00087.png",
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 229,
|
||||
"name": "房卡修改提示文字",
|
||||
"kind": "label",
|
||||
"position": {
|
||||
"x": -50,
|
||||
"y": 22
|
||||
},
|
||||
"size": {
|
||||
"width": 168,
|
||||
"height": 28
|
||||
},
|
||||
"siblingIndex": 3,
|
||||
"widget": {
|
||||
"horizontal": "center",
|
||||
"horizontalCenter": -50
|
||||
},
|
||||
"flags": {
|
||||
"stretch": false,
|
||||
"offscreen": false,
|
||||
"animation": false,
|
||||
"frameIndexOutOfRange": false
|
||||
},
|
||||
"legacy": {
|
||||
"objectId": 229,
|
||||
"imageFileId": 0,
|
||||
"frameIndex": 0,
|
||||
"frameStyle": 0,
|
||||
"groupId": 34,
|
||||
"voiceFileId": 0,
|
||||
"timerInterval": 0,
|
||||
"left": 506,
|
||||
"top": 324,
|
||||
"events": [
|
||||
"mousedown",
|
||||
"mouseup",
|
||||
"mousemove",
|
||||
"ontimer"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"warnings": []
|
||||
}
|
||||
Reference in New Issue
Block a user