Files
youle_cocos/cocoscreator_projects/ui-migration/intermediate/402-GameNoticeLayer.json
T
joywayerandClaude Opus 5 416a51e422 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>
2026-08-28 01:49:51 +08:00

111 lines
2.1 KiB
JSON

{
"layerId": 402,
"name": "GameNoticeLayer",
"bucket": "room",
"backgroundNodeId": null,
"groups": [
{
"groupId": 56,
"nodeIds": [
389,
390
]
}
],
"nodes": [
{
"id": 389,
"name": "游戏公告滚动",
"kind": "sprite",
"position": {
"x": 0.5,
"y": 262
},
"size": {
"width": 629,
"height": 40
},
"siblingIndex": 1,
"widget": {
"horizontal": "center",
"horizontalCenter": 0.5
},
"flags": {
"stretch": false,
"offscreen": false,
"animation": false,
"frameIndexOutOfRange": false
},
"legacy": {
"objectId": 389,
"imageFileId": 39,
"frameIndex": 0,
"frameStyle": 0,
"groupId": 56,
"voiceFileId": 0,
"timerInterval": 0,
"left": 326,
"top": 78,
"events": [
"mousedown",
"mouseup",
"mousemove",
"ontimer"
]
},
"sprite": {
"frame": "atlas-room/00039.png",
"type": "sliced",
"slice": {
"left": 1,
"right": 1,
"top": 1,
"bottom": 1
}
}
},
{
"id": 390,
"name": "内容",
"kind": "label",
"position": {
"x": -65.5,
"y": 264.5
},
"size": {
"width": 27,
"height": 35
},
"siblingIndex": 2,
"widget": {
"horizontal": "center",
"horizontalCenter": -65.5
},
"flags": {
"stretch": false,
"offscreen": false,
"animation": false,
"frameIndexOutOfRange": false
},
"legacy": {
"objectId": 390,
"imageFileId": 0,
"frameIndex": 0,
"frameStyle": 0,
"groupId": 56,
"voiceFileId": 0,
"timerInterval": 0,
"left": 561,
"top": 78,
"events": [
"mousedown",
"mouseup",
"mousemove",
"ontimer"
]
}
}
],
"warnings": []
}