From 9a695878bac9ac140fa62bc82fe222295497a6b6 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 2 Sep 2026 07:41:53 +0800 Subject: [PATCH 01/16] =?UTF-8?q?feat(scripts):=20legacy-layer=20=E8=BD=AC?= =?UTF-8?q?=E6=8D=A2=E5=99=A8=E8=84=9A=E6=89=8B=E6=9E=B6=20+=20fixtures=20?= =?UTF-8?q?+=20=E8=A7=A3=E7=A0=81=20smoke=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 iconv-lite + @xmldom/xmldom 依赖 (YouleNexus + 顶层) - 创建 framework-tests/legacy-layer-migration/ 目录结构 - 复制 Game_Surface_3 gameabc_Image.json / Layer00002.xml / Login_Layer.prefab 作 fixtures - spirit-semantics.json 骨架 (Task 5 完整化) - _smoke-iconv.mjs 验证解码可读中文 Spirit 名 注意: 顶层 package.json 也加了 iconv-lite/@xmldom/xmldom (转换工具将在 cocoscreator_projects/scripts/ 跑, smoke test 也从 cocoscreator_projects 跑; 只装 YouleNexus 无法解析 iconv-lite). 另: 实际 Layer00002.xml 是 UTF-8 (XML 头声明 + 字节验证), 不是 spec/brief 假设的 GB18030 - smoke test 用 UTF-8 解码才能读到 '微信登录背景'. 转换工具后续 Task 应支持自动检测 (XML 声明优先, fallback GB18030). --- .../YouleNexus/package-lock.json | 45 + cocoscreator_projects/YouleNexus/package.json | 4 + .../legacy-layer-migration/.gitkeep | 0 .../legacy-layer-migration/_smoke-iconv.mjs | 11 + .../legacy-layer-migration/fixtures/.gitkeep | 0 .../fixtures/Layer00002.xml | 908 ++++ .../fixtures/Login_Layer.prefab | 3519 +++++++++++++ .../fixtures/gameabc_Image.json | 4394 +++++++++++++++++ .../fixtures/spirit-semantics.json | 18 + cocoscreator_projects/package-lock.json | 35 + cocoscreator_projects/package.json | 4 + 11 files changed, 8938 insertions(+) create mode 100644 cocoscreator_projects/YouleNexus/package-lock.json create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/.gitkeep create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/_smoke-iconv.mjs create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/.gitkeep create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Layer00002.xml create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Login_Layer.prefab create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/gameabc_Image.json create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json diff --git a/cocoscreator_projects/YouleNexus/package-lock.json b/cocoscreator_projects/YouleNexus/package-lock.json new file mode 100644 index 0000000..1c00c27 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/package-lock.json @@ -0,0 +1,45 @@ +{ + "name": "YouleNexus", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "YouleNexus", + "dependencies": { + "@xmldom/xmldom": "^0.9.12", + "iconv-lite": "^0.7.3" + } + }, + "node_modules/@xmldom/xmldom": { + "version": "0.9.12", + "resolved": "https://registry.npmmirror.com/@xmldom/xmldom/-/xmldom-0.9.12.tgz", + "integrity": "sha512-5AXjrcMClTryPe9LgZrygpB1lj7s0S9E0+W+AHaVKAVyHanafK86iPSvG5xHVSp/jC+VH1UXu0TAEmY279xH7A==", + "license": "MIT", + "engines": { + "node": ">=14.6" + } + }, + "node_modules/iconv-lite": { + "version": "0.7.3", + "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + } + } +} diff --git a/cocoscreator_projects/YouleNexus/package.json b/cocoscreator_projects/YouleNexus/package.json index 0dd3191..3326a4a 100644 --- a/cocoscreator_projects/YouleNexus/package.json +++ b/cocoscreator_projects/YouleNexus/package.json @@ -3,5 +3,9 @@ "uuid": "15252ac4-d24e-4b2c-86b0-51caaf24f779", "creator": { "version": "3.8.8" + }, + "dependencies": { + "@xmldom/xmldom": "^0.9.12", + "iconv-lite": "^0.7.3" } } diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/.gitkeep b/cocoscreator_projects/framework-tests/legacy-layer-migration/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/_smoke-iconv.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/_smoke-iconv.mjs new file mode 100644 index 0000000..321db8a --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/_smoke-iconv.mjs @@ -0,0 +1,11 @@ +import { readFileSync } from 'node:fs'; +import iconv from 'iconv-lite'; + +const buf = readFileSync('framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'); +// NOTE: 实际 Layer00002.xml 是 UTF-8 编码 (XML 头声明 + 字节验证), +// spec/brief 要求的 GB18030 在该文件上会乱码 (微信登录背景 不可读). +// 转换工具应支持两种编码, 优先按 XML 声明, 否则按 GB18030 fallback. +const text = iconv.decode(buf, 'utf8'); +console.log('decoded length:', text.length); +console.log('contains 微信登录背景:', text.includes('微信登录背景')); +console.log('contains Login_Layer:', text.includes('Login_Layer')); \ No newline at end of file diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/.gitkeep b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Layer00002.xml b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Layer00002.xml new file mode 100644 index 0000000..2677997 --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Layer00002.xml @@ -0,0 +1,908 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Login_Layer.prefab b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Login_Layer.prefab new file mode 100644 index 0000000..336fb60 --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Login_Layer.prefab @@ -0,0 +1,3519 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Login_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Login_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 152 + }, + { + "__id__": 154 + } + ], + "_prefab": { + "__id__": 156 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 11 + }, + { + "__id__": 19 + }, + { + "__id__": 27 + }, + { + "__id__": 35 + }, + { + "__id__": 43 + }, + { + "__id__": 51 + }, + { + "__id__": 59 + }, + { + "__id__": 67 + }, + { + "__id__": 75 + }, + { + "__id__": 83 + }, + { + "__id__": 91 + }, + { + "__id__": 99 + }, + { + "__id__": 107 + }, + { + "__id__": 115 + }, + { + "__id__": 123 + }, + { + "__id__": 131 + }, + { + "__id__": 139 + } + ], + "_active": true, + "_components": [ + { + "__id__": 147 + }, + { + "__id__": 149 + } + ], + "_prefab": { + "__id__": 151 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "微信登录背景", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "iULXAIO7sg7gTpoezFmeLC" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "e36acab8-e623-4bfb-af05-3c6fd2fddfb4@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8YK3bC50OJHZMValxeLYJn" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0mmfwijLB4NV+VLLPXcXHq" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a7wGOuZWxOmrGUN1vwlqx3", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "渠道logo", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 123.5, + "y": 143, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 59, + "height": 148 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "sCeiBO5R+7MyH0mwidCPqF" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8a077fab-398e-4af7-af1b-18acd498a10c@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fHeeUzs6GPpxuQzKxwzzMt" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 123.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "LlOWm7mGP2e/if1wSa4MAJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "feD0xjeZBGkpHkbwSGiDty", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "版本显示", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 20 + }, + { + "__id__": 22 + }, + { + "__id__": 24 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -741.744140625, + "y": 329.8, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 84.51171875, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "FWwMSCO/5rluUD2Oio4UAq" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "label", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ZK21TfPV4lByDfEzlJpj67" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_alignFlags": 9, + "_target": null, + "_left": 16, + "_right": 0, + "_top": 5, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "oJq1MLcBbfKti7tx6ctSNe" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "20Xso3z6JJQKZ42IJ33zq/", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "协议确认", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 30 + }, + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -135, + "y": -207.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 52, + "height": 51 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "neleUst2KTU2LlXpAMCFhN" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "3756df6d-17cf-4903-81cb-66779cdd7d5e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "EvVaxzxQFhtLzVQNItxNdW" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -135, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "KYkVZcintke6KYFE9t5k42" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7bOUfugfZGRJARCABMOobI", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "协议内容", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 36 + }, + { + "__id__": 38 + }, + { + "__id__": 40 + } + ], + "_prefab": { + "__id__": 42 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 35, + "y": -210.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 37 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 220, + "height": 29 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Zlk+jHwHDgDjjO/2GmRdU2" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 39 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "d88f0180-d745-4132-abc0-54907ea78a4a@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "QF/vke2RtRbsIC+gGB8SN9" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 35, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7hHQ87+BEcZDIlc5xQ72rG" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "aa6JBxpmNMqbBB+2K20Gpm", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "隐藏快速登录-1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 44 + }, + { + "__id__": 46 + }, + { + "__id__": 48 + } + ], + "_prefab": { + "__id__": 50 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 740, + "y": 300, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 45 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "AtGmPQv1YhutagXTtH0tM9" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 47 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ugQ9LFEwXjwhQOFIfb8JbR" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 49 + }, + "_alignFlags": 32, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fc7jjowMRN1HQrX5RGyhoE" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "91rTYopDBL9KM2yVZVBBao", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "隐藏快速登录-2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 52 + }, + { + "__id__": 54 + }, + { + "__id__": 56 + } + ], + "_prefab": { + "__id__": 58 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -740, + "y": -300, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 53 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Rv1sFY/PEUUBHfrWj0K2vy" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 55 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "mNoKJCA/LbWsxk/d8bCgNg" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 57 + }, + "_alignFlags": 8, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "sBcHhYKG7EWCZUi4b+z4/p" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "367fmN1pJFfLrt7F61ASdT", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "游客登录", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 60 + }, + { + "__id__": 62 + }, + { + "__id__": 64 + } + ], + "_prefab": { + "__id__": 66 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 60, + "y": -75.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 61 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 320, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "nM3jrVoPoAtSCrd1lc+sFU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 63 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "bad32119-1ff1-402d-b984-b99e247fac84@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "E3OWwsnVJg6La0hCp1TAmH" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 65 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 60, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "KwnjkdjbUtEfEx/lSowe0v" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2eR+mJmtZA5pwXfrJgbwLc", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "微信登录", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 68 + }, + { + "__id__": 70 + }, + { + "__id__": 72 + } + ], + "_prefab": { + "__id__": 74 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -182, + "y": -82, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 69 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 400, + "height": 116 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "AStmAkDFz80+tKOtDTgg40" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 71 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "30f328be-c4ef-4356-870e-add2c94e9acc@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3kEffJptuwLJWqXRl4PXvh" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 73 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -182, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "92pjO6/vAhDu4UiZYTpONU" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c5aH4JjRRDLohnSRekDoFh", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "手机登录", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 76 + }, + { + "__id__": 78 + }, + { + "__id__": 80 + } + ], + "_prefab": { + "__id__": 82 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -147.5, + "y": -81.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 77 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 301, + "height": 97 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3aluLDeUbGcQc3mqhFIukj" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 79 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "069d4a2a-6672-40b8-b05f-1cb520fab3de@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "HPxRiH5kIatkOccjh9+Qv3" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 81 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -147.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "oQPl/yyfVwBUouPLseP2B0" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "09JyVrpCdPJYLfppQgkF0u", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "快速登录", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 84 + }, + { + "__id__": 86 + }, + { + "__id__": 88 + } + ], + "_prefab": { + "__id__": 90 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.5, + "y": -81.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 85 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 301, + "height": 97 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "QH3qB/hile+1hGB7WwhJja" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 87 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b3da0c4f-98f1-4f42-81f5-368bb4c588fb@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "kFgpMABI+n7wzVVRqu4U8L" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 89 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "uNLaRypRXliRTWKMgv4LQe" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0f9yY9AsREsb0jJYIMvu0L", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "qq登录", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 92 + }, + { + "__id__": 94 + }, + { + "__id__": 96 + } + ], + "_prefab": { + "__id__": 98 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 256, + "y": -219.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 93 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 101 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "kJ7586oyO1NwpFJxOEzYKF" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 95 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "00b9b51e-723d-4378-b751-4c170a1b7c2c@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "yZ9Knc9qgbubPNZTcNciJ9" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 97 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 256, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "NYxH2sinS/0fM866ltYjbv" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "dc78jPNNhPb7qqKNOVG6cy", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 100 + }, + { + "__id__": 102 + }, + { + "__id__": 104 + } + ], + "_prefab": { + "__id__": 106 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": { + "__id__": 101 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "KuiZSy7MWeykJhKuQGKOg3" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": { + "__id__": 103 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "jSjWN9ENtAlFdd1IXom2kM" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": { + "__id__": 105 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "C2gZcnm4ZWiI7r1905s6EN" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "70T5Pb7IxNiqX4/wWIgKEb", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录头像背景框", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 108 + }, + { + "__id__": 110 + }, + { + "__id__": 112 + } + ], + "_prefab": { + "__id__": 114 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -76, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 107 + }, + "_enabled": true, + "__prefab": { + "__id__": 109 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 170 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "yPBrHwiAcChvoLE6trg+A1" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 107 + }, + "_enabled": true, + "__prefab": { + "__id__": 111 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b04584c-c0f4-4586-8be7-05b0adca4157@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8fDgzTmgim8tG70wyqmyAt" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 107 + }, + "_enabled": true, + "__prefab": { + "__id__": 113 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5Z2PW/qd24rV6/ZRxXxrET" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "abJBMTFv1CdIUDChYjYYCz", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中头像", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 116 + }, + { + "__id__": 118 + }, + { + "__id__": 120 + } + ], + "_prefab": { + "__id__": 122 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -101, + "y": -75, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": { + "__id__": 117 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 96, + "height": 96 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "26toWIct+myjRQsBoPTsgP" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": { + "__id__": 119 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "60da43f5-f3c2-4b9f-9123-fad81f8f8af5@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dEyjMQwWdyu/YY66FALm1w" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": { + "__id__": 121 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -101, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "LL5+BoUCi0ZILji/aCtwmu" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "17etbKvH1IF5qLUACbTCVR", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中昵称", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 124 + }, + { + "__id__": 126 + }, + { + "__id__": 128 + } + ], + "_prefab": { + "__id__": 130 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 67.5, + "y": -46, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 123 + }, + "_enabled": true, + "__prefab": { + "__id__": 125 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 84.51171875, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "/TOmaDHIjDKTsdasEvk/eo" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 123 + }, + "_enabled": true, + "__prefab": { + "__id__": 127 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "label", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0IdDYElTQgnp8j975iSqQF" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 123 + }, + "_enabled": true, + "__prefab": { + "__id__": 129 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 67.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9ygJw4FcB0ezJufpUHbIsk" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fdF+2JUKFMVYyV8nL5r5PD", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中动画", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 132 + }, + { + "__id__": 134 + }, + { + "__id__": 136 + } + ], + "_prefab": { + "__id__": 138 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 73, + "y": -106, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 131 + }, + "_enabled": true, + "__prefab": { + "__id__": 133 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 178, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "mQ2Wbb+p3a/1qz4zxqX3li" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 131 + }, + "_enabled": true, + "__prefab": { + "__id__": 135 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "41c0f42d-631a-4a3f-abf1-a36ed787e563@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "kIYBNm5ZfhPN7qyJmkW4D2" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 131 + }, + "_enabled": true, + "__prefab": { + "__id__": 137 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 73, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "uEwYXwzNJK+j9XvosozgjD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "781XCyyIhOUpzTfoPB7nTy", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中头像框", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 140 + }, + { + "__id__": 142 + }, + { + "__id__": 144 + } + ], + "_prefab": { + "__id__": 146 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -101, + "y": -75, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 139 + }, + "_enabled": true, + "__prefab": { + "__id__": 141 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "DoMD5m5MHszF43482ivhCR" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 139 + }, + "_enabled": true, + "__prefab": { + "__id__": 143 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b6310388-a682-483c-9d39-17c8876f0b49@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ADAQI1FM22jtrhfHQl1ebT" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 139 + }, + "_enabled": true, + "__prefab": { + "__id__": 145 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -101, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2O2cOvXeVSnTjSJG5G2BI6" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "19cVqqTJ5B0qJ+J6RTuNF2", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 148 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "U47Darctkv06g9cW3Dx/qg" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 150 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "rvMAdRo+P/26RRp2jcuw9g" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d4P87gqa5AIJltQ5D4Vthy", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 153 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "+FMwLLVIAD3ED36gsU/Ybt" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 155 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ciNsRmJfQOKTIOA/wiC/im" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "33yDavvzhB6IAjia4PLDbg", + "targetOverrides": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/gameabc_Image.json b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/gameabc_Image.json new file mode 100644 index 0000000..fd332b0 --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/gameabc_Image.json @@ -0,0 +1,4394 @@ +{ + "ImageFileList": [ + {},{ + "id": 1, + "w_all": 1280, + "h_all": 720, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00001.png", + "w1": 1280, + "h1": 720 + },{ + "id": 2, + "w_all": 597, + "h_all": 446, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00002.png", + "w1": 597, + "h1": 446 + },{ + "id": 3, + "w_all": 50, + "h_all": 50, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00003.png", + "w1": 50, + "h1": 50 + },{ + "id": 4, + "w_all": 40, + "h_all": 40, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00004.png", + "w1": 40, + "h1": 40 + },{ + "id": 5, + "w_all": 59, + "h_all": 148, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00005.png", + "w1": 59, + "h1": 148 + },{ + "id": 6, + "w_all": 403, + "h_all": 380, + "w": 1, + "h": 5, + "frame_all": 5, + "bmp": "00006.png", + "w1": 403, + "h1": 76 + },{ + "id": 7, + "w_all": 441, + "h_all": 395, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00007.png", + "w1": 441, + "h1": 395 + },{ + "id": 8, + "w_all": 476, + "h_all": 103, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00008.png", + "w1": 476, + "h1": 103 + },{ + "id": 9, + "w_all": 558, + "h_all": 328, + "w": 3, + "h": 4, + "frame_all": 12, + "bmp": "00009.png", + "w1": 186, + "h1": 82 + },{ + "id": 10, + "w_all": 166, + "h_all": 68, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00010.png", + "w1": 166, + "h1": 68 + },{ + "id": 11, + "w_all": 4, + "h_all": 4, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00011.png", + "w1": 4, + "h1": 4 + },{ + "id": 12, + "w_all": 298, + "h_all": 334, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00012.png", + "w1": 298, + "h1": 334 + },{ + "id": 13, + "w_all": 1280, + "h_all": 720, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00013.png", + "w1": 1280, + "h1": 720 + },{ + "id": 14, + "w_all": 450, + "h_all": 280, + "w": 3, + "h": 4, + "frame_all": 12, + "bmp": "00014.png", + "w1": 150, + "h1": 70 + },{ + "id": 15, + "w_all": 46, + "h_all": 195, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00015.png", + "w1": 46, + "h1": 195 + },{ + "id": 16, + "w_all": 77, + "h_all": 230, + "w": 1, + "h": 5, + "frame_all": 5, + "bmp": "00016.png", + "w1": 77, + "h1": 46 + },{ + "id": 17, + "w_all": 26, + "h_all": 25, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00017.png", + "w1": 26, + "h1": 25 + },{ + "id": 18, + "w_all": 155, + "h_all": 35, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00018.png", + "w1": 155, + "h1": 35 + },{ + "id": 19, + "w_all": 221, + "h_all": 28, + "w": 13, + "h": 1, + "frame_all": 13, + "bmp": "00019.png", + "w1": 17, + "h1": 28 + },{ + "id": 20, + "w_all": 1280, + "h_all": 720, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00020.png", + "w1": 1280, + "h1": 720 + },{ + "id": 21, + "w_all": 1280, + "h_all": 720, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00021.png", + "w1": 1280, + "h1": 720 + },{ + "id": 22, + "w_all": 400, + "h_all": 116, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00022.png", + "w1": 400, + "h1": 116 + },{ + "id": 23, + "w_all": 1152, + "h_all": 158, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00023.png", + "w1": 1152, + "h1": 158 + },{ + "id": 24, + "w_all": 70, + "h_all": 72, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00024.png", + "w1": 70, + "h1": 72 + },{ + "id": 25, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00025.png", + "w1": 93, + "h1": 93 + },{ + "id": 26, + "w_all": 132, + "h_all": 80, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00026.png", + "w1": 132, + "h1": 40 + },{ + "id": 27, + "w_all": 134, + "h_all": 111, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00027.png", + "w1": 134, + "h1": 37 + },{ + "id": 28, + "w_all": 403, + "h_all": 152, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00028.png", + "w1": 403, + "h1": 76 + },{ + "id": 29, + "w_all": 206, + "h_all": 300, + "w": 1, + "h": 4, + "frame_all": 4, + "bmp": "00029.png", + "w1": 206, + "h1": 75 + },{ + "id": 30, + "w_all": 170, + "h_all": 120, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00030.png", + "w1": 170, + "h1": 60 + },{ + "id": 31, + "w_all": 91, + "h_all": 91, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00031.png", + "w1": 91, + "h1": 91 + },{ + "id": 32, + "w_all": 149, + "h_all": 60, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00032.png", + "w1": 149, + "h1": 30 + },{ + "id": 33, + "w_all": 83, + "h_all": 84, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00033.png", + "w1": 83, + "h1": 84 + },{ + "id": 34, + "w_all": 292, + "h_all": 204, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00034.png", + "w1": 292, + "h1": 102 + },{ + "id": 35, + "w_all": 140, + "h_all": 141, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00035.png", + "w1": 70, + "h1": 141 + },{ + "id": 36, + "w_all": 659, + "h_all": 493, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00036.png", + "w1": 659, + "h1": 493 + },{ + "id": 37, + "w_all": 1025, + "h_all": 2, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00037.png", + "w1": 1025, + "h1": 2 + },{ + "id": 38, + "w_all": 280, + "h_all": 530, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00038.png", + "w1": 280, + "h1": 530 + },{ + "id": 39, + "w_all": 629, + "h_all": 36, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00039.png", + "w1": 629, + "h1": 36 + },{ + "id": 40, + "w_all": 510, + "h_all": 138, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00040.png", + "w1": 510, + "h1": 138 + },{ + "id": 41, + "w_all": 115, + "h_all": 94, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00041.png", + "w1": 115, + "h1": 94 + },{ + "id": 42, + "w_all": 108, + "h_all": 98, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00042.png", + "w1": 108, + "h1": 98 + },{ + "id": 43, + "w_all": 1345, + "h_all": 453, + "w": 5, + "h": 1, + "frame_all": 5, + "bmp": "00043.png", + "w1": 269, + "h1": 453 + },{ + "id": 44, + "w_all": 280, + "h_all": 80, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00044.png", + "w1": 280, + "h1": 80 + },{ + "id": 45, + "w_all": 159, + "h_all": 120, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00045.png", + "w1": 159, + "h1": 60 + },{ + "id": 46, + "w_all": 300, + "h_all": 30, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00046.png", + "w1": 30, + "h1": 30 + },{ + "id": 47, + "w_all": 88, + "h_all": 44, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00047.png", + "w1": 88, + "h1": 44 + },{ + "id": 48, + "w_all": 181, + "h_all": 70, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00048.png", + "w1": 181, + "h1": 70 + },{ + "id": 49, + "w_all": 140, + "h_all": 19, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00049.png", + "w1": 14, + "h1": 19 + },{ + "id": 50, + "w_all": 264, + "h_all": 80, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00050.png", + "w1": 264, + "h1": 80 + },{ + "id": 51, + "w_all": 400, + "h_all": 192, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00051.png", + "w1": 200, + "h1": 192 + },{ + "id": 52, + "w_all": 403, + "h_all": 76, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00052.png", + "w1": 403, + "h1": 76 + },{ + "id": 53, + "w_all": 1430, + "h_all": 880, + "w": 11, + "h": 5, + "frame_all": 55, + "bmp": "00053.png", + "w1": 130, + "h1": 176 + },{ + "id": 54, + "w_all": 454, + "h_all": 207, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00054.png", + "w1": 454, + "h1": 207 + },{ + "id": 55, + "w_all": 171, + "h_all": 116, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00055.png", + "w1": 171, + "h1": 58 + },{ + "id": 56, + "w_all": 204, + "h_all": 23, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00056.png", + "w1": 204, + "h1": 23 + },{ + "id": 57, + "w_all": 202, + "h_all": 21, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00057.png", + "w1": 202, + "h1": 21 + },{ + "id": 58, + "w_all": 81, + "h_all": 52, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00058.png", + "w1": 81, + "h1": 26 + },{ + "id": 59, + "w_all": 337, + "h_all": 441, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00059.png", + "w1": 337, + "h1": 441 + },{ + "id": 60, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00060.png", + "w1": 93, + "h1": 93 + },{ + "id": 61, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00061.png", + "w1": 93, + "h1": 93 + },{ + "id": 62, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00062.png", + "w1": 93, + "h1": 93 + },{ + "id": 63, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00063.png", + "w1": 93, + "h1": 93 + },{ + "id": 64, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00064.png", + "w1": 93, + "h1": 93 + },{ + "id": 65, + "w_all": 66, + "h_all": 41, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00065.png", + "w1": 33, + "h1": 41 + },{ + "id": 66, + "w_all": 1280, + "h_all": 720, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00066.png", + "w1": 1280, + "h1": 720 + },{ + "id": 67, + "w_all": 247, + "h_all": 62, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00067.png", + "w1": 247, + "h1": 62 + },{ + "id": 68, + "w_all": 176, + "h_all": 88, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00068.png", + "w1": 88, + "h1": 88 + },{ + "id": 69, + "w_all": 150, + "h_all": 20, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00069.png", + "w1": 15, + "h1": 20 + },{ + "id": 70, + "w_all": 5, + "h_all": 14, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00070.png", + "w1": 5, + "h1": 14 + },{ + "id": 71, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00071.png", + "w1": 93, + "h1": 93 + },{ + "id": 72, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00072.png", + "w1": 93, + "h1": 93 + },{ + "id": 73, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00073.png", + "w1": 93, + "h1": 93 + },{ + "id": 74, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00074.png", + "w1": 93, + "h1": 93 + },{ + "id": 75, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00075.png", + "w1": 93, + "h1": 93 + },{ + "id": 76, + "w_all": 129, + "h_all": 176, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00076.png", + "w1": 129, + "h1": 176 + },{ + "id": 77, + "w_all": 637, + "h_all": 203, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00077.png", + "w1": 637, + "h1": 203 + },{ + "id": 78, + "w_all": 44, + "h_all": 44, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00078.png", + "w1": 44, + "h1": 44 + },{ + "id": 79, + "w_all": 500, + "h_all": 131, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00079.png", + "w1": 250, + "h1": 131 + },{ + "id": 80, + "w_all": 315, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00080.png", + "w1": 315, + "h1": 74 + },{ + "id": 81, + "w_all": 156, + "h_all": 134, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00081.png", + "w1": 156, + "h1": 67 + },{ + "id": 82, + "w_all": 135, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00082.png", + "w1": 135, + "h1": 74 + },{ + "id": 83, + "w_all": 127, + "h_all": 63, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00083.png", + "w1": 127, + "h1": 63 + },{ + "id": 84, + "w_all": 84, + "h_all": 75, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00084.png", + "w1": 84, + "h1": 75 + },{ + "id": 85, + "w_all": 488, + "h_all": 420, + "w": 1, + "h": 7, + "frame_all": 7, + "bmp": "00085.png", + "w1": 488, + "h1": 60 + },{ + "id": 86, + "w_all": 127, + "h_all": 63, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00086.png", + "w1": 127, + "h1": 63 + },{ + "id": 87, + "w_all": 570, + "h_all": 105, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00087.png", + "w1": 570, + "h1": 105 + },{ + "id": 88, + "w_all": 63, + "h_all": 63, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00088.png", + "w1": 63, + "h1": 63 + },{ + "id": 89, + "w_all": 125, + "h_all": 33, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00089.png", + "w1": 125, + "h1": 33 + },{ + "id": 90, + "w_all": 100, + "h_all": 100, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00090.png", + "w1": 100, + "h1": 100 + },{ + "id": 91, + "w_all": 94, + "h_all": 96, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00091.png", + "w1": 94, + "h1": 96 + },{ + "id": 92, + "w_all": 102, + "h_all": 103, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00092.png", + "w1": 102, + "h1": 103 + },{ + "id": 93, + "w_all": 52, + "h_all": 51, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00093.png", + "w1": 52, + "h1": 51 + },{ + "id": 94, + "w_all": 220, + "h_all": 29, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00094.png", + "w1": 220, + "h1": 29 + },{ + "id": 95, + "w_all": 729, + "h_all": 997, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00095.png", + "w1": 729, + "h1": 997 + },{ + "id": 96, + "w_all": 416, + "h_all": 14, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00096.png", + "w1": 416, + "h1": 7 + },{ + "id": 97, + "w_all": 512, + "h_all": 64, + "w": 8, + "h": 1, + "frame_all": 8, + "bmp": "00097.png", + "w1": 64, + "h1": 64 + },{ + "id": 98, + "w_all": 171, + "h_all": 28, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00098.png", + "w1": 171, + "h1": 28 + },{ + "id": 99, + "w_all": 1001, + "h_all": 135, + "w": 7, + "h": 1, + "frame_all": 7, + "bmp": "00099.png", + "w1": 143, + "h1": 135 + },{ + "id": 100, + "w_all": 60, + "h_all": 25, + "w": 3, + "h": 1, + "frame_all": 3, + "bmp": "00100.png", + "w1": 20, + "h1": 25 + },{ + "id": 101, + "w_all": 729, + "h_all": 1122, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00101.png", + "w1": 729, + "h1": 1122 + },{ + "id": 102, + "w_all": 1320, + "h_all": 98, + "w": 12, + "h": 1, + "frame_all": 12, + "bmp": "00102.png", + "w1": 110, + "h1": 98 + },{ + "id": 103, + "w_all": 400, + "h_all": 800, + "w": 1, + "h": 4, + "frame_all": 4, + "bmp": "00103.png", + "w1": 400, + "h1": 200 + },{ + "id": 104, + "w_all": 1560, + "h_all": 130, + "w": 12, + "h": 1, + "frame_all": 12, + "bmp": "00104.png", + "w1": 130, + "h1": 130 + },{ + "id": 105, + "w_all": 64, + "h_all": 64, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00105.png", + "w1": 64, + "h1": 64 + },{ + "id": 106, + "w_all": 137, + "h_all": 138, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00106.png", + "w1": 137, + "h1": 138 + },{ + "id": 107, + "w_all": 178, + "h_all": 90, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00107.png", + "w1": 178, + "h1": 30 + },{ + "id": 108, + "w_all": 100, + "h_all": 100, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00108.png", + "w1": 100, + "h1": 100 + },{ + "id": 109, + "w_all": 96, + "h_all": 91, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00109.png", + "w1": 96, + "h1": 91 + },{ + "id": 110, + "w_all": 57, + "h_all": 42, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00110.png", + "w1": 57, + "h1": 42 + },{ + "id": 111, + "w_all": 33, + "h_all": 37, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00111.png", + "w1": 33, + "h1": 37 + },{ + "id": 112, + "w_all": 49, + "h_all": 57, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00112.png", + "w1": 49, + "h1": 19 + },{ + "id": 113, + "w_all": 29, + "h_all": 88, + "w": 1, + "h": 4, + "frame_all": 4, + "bmp": "00113.png", + "w1": 29, + "h1": 22 + },{ + "id": 114, + "w_all": 371, + "h_all": 51, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00114.png", + "w1": 371, + "h1": 51 + },{ + "id": 115, + "w_all": 321, + "h_all": 287, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00115.png", + "w1": 321, + "h1": 287 + },{ + "id": 116, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00116.png", + "w1": 93, + "h1": 93 + },{ + "id": 117, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00117.png", + "w1": 93, + "h1": 93 + },{ + "id": 118, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00118.png", + "w1": 93, + "h1": 93 + },{ + "id": 119, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00119.png", + "w1": 93, + "h1": 93 + },{ + "id": 120, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00120.png", + "w1": 93, + "h1": 93 + },{ + "id": 121, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00121.png", + "w1": 93, + "h1": 93 + },{ + "id": 122, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00122.png", + "w1": 93, + "h1": 93 + },{ + "id": 123, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00123.png", + "w1": 93, + "h1": 93 + },{ + "id": 124, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00124.png", + "w1": 93, + "h1": 93 + },{ + "id": 125, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00125.png", + "w1": 93, + "h1": 93 + },{ + "id": 126, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00126.png", + "w1": 93, + "h1": 93 + },{ + "id": 127, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00127.png", + "w1": 93, + "h1": 93 + },{ + "id": 128, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00128.png", + "w1": 93, + "h1": 93 + },{ + "id": 129, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00129.png", + "w1": 93, + "h1": 93 + },{ + "id": 130, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00130.png", + "w1": 93, + "h1": 93 + },{ + "id": 131, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00131.png", + "w1": 93, + "h1": 93 + },{ + "id": 132, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00132.png", + "w1": 93, + "h1": 93 + },{ + "id": 133, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00133.png", + "w1": 93, + "h1": 93 + },{ + "id": 134, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00134.png", + "w1": 93, + "h1": 93 + },{ + "id": 135, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00135.png", + "w1": 93, + "h1": 93 + },{ + "id": 136, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00136.png", + "w1": 93, + "h1": 93 + },{ + "id": 137, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00137.png", + "w1": 93, + "h1": 93 + },{ + "id": 138, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00138.png", + "w1": 93, + "h1": 93 + },{ + "id": 139, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00139.png", + "w1": 93, + "h1": 93 + },{ + "id": 140, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00140.png", + "w1": 93, + "h1": 93 + },{ + "id": 141, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00141.png", + "w1": 93, + "h1": 93 + },{ + "id": 142, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00142.png", + "w1": 93, + "h1": 93 + },{ + "id": 143, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00143.png", + "w1": 93, + "h1": 93 + },{ + "id": 144, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00144.png", + "w1": 93, + "h1": 93 + },{ + "id": 145, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00145.png", + "w1": 93, + "h1": 93 + },{ + "id": 146, + "w_all": 105, + "h_all": 99, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00146.png", + "w1": 105, + "h1": 99 + },{ + "id": 147, + "w_all": 500, + "h_all": 100, + "w": 5, + "h": 1, + "frame_all": 5, + "bmp": "00147.png", + "w1": 100, + "h1": 100 + },{ + "id": 148, + "w_all": 500, + "h_all": 500, + "w": 5, + "h": 5, + "frame_all": 25, + "bmp": "00148.png", + "w1": 100, + "h1": 100 + },{ + "id": 149, + "w_all": 800, + "h_all": 400, + "w": 8, + "h": 4, + "frame_all": 32, + "bmp": "00149.png", + "w1": 100, + "h1": 100 + },{ + "id": 150, + "w_all": 600, + "h_all": 500, + "w": 6, + "h": 5, + "frame_all": 30, + "bmp": "00150.png", + "w1": 100, + "h1": 100 + },{ + "id": 151, + "w_all": 1400, + "h_all": 100, + "w": 14, + "h": 1, + "frame_all": 14, + "bmp": "00151.png", + "w1": 100, + "h1": 100 + },{ + "id": 152, + "w_all": 700, + "h_all": 100, + "w": 7, + "h": 1, + "frame_all": 7, + "bmp": "00152.png", + "w1": 100, + "h1": 100 + },{ + "id": 153, + "w_all": 800, + "h_all": 100, + "w": 8, + "h": 1, + "frame_all": 8, + "bmp": "00153.png", + "w1": 100, + "h1": 100 + },{ + "id": 154, + "w_all": 1700, + "h_all": 100, + "w": 17, + "h": 1, + "frame_all": 17, + "bmp": "00154.png", + "w1": 100, + "h1": 100 + },{ + "id": 155, + "w_all": 300, + "h_all": 100, + "w": 3, + "h": 1, + "frame_all": 3, + "bmp": "00155.png", + "w1": 100, + "h1": 100 + },{ + "id": 156, + "w_all": 800, + "h_all": 100, + "w": 8, + "h": 1, + "frame_all": 8, + "bmp": "00156.png", + "w1": 100, + "h1": 100 + },{ + "id": 157, + "w_all": 600, + "h_all": 500, + "w": 6, + "h": 5, + "frame_all": 30, + "bmp": "00157.png", + "w1": 100, + "h1": 100 + },{ + "id": 158, + "w_all": 1400, + "h_all": 100, + "w": 14, + "h": 1, + "frame_all": 14, + "bmp": "00158.png", + "w1": 100, + "h1": 100 + },{ + "id": 159, + "w_all": 900, + "h_all": 400, + "w": 9, + "h": 4, + "frame_all": 36, + "bmp": "00159.png", + "w1": 100, + "h1": 100 + },{ + "id": 160, + "w_all": 600, + "h_all": 400, + "w": 6, + "h": 4, + "frame_all": 24, + "bmp": "00160.png", + "w1": 100, + "h1": 100 + },{ + "id": 161, + "w_all": 600, + "h_all": 400, + "w": 6, + "h": 4, + "frame_all": 24, + "bmp": "00161.png", + "w1": 100, + "h1": 100 + },{ + "id": 162, + "w_all": 1500, + "h_all": 100, + "w": 15, + "h": 1, + "frame_all": 15, + "bmp": "00162.png", + "w1": 100, + "h1": 100 + },{ + "id": 163, + "w_all": 600, + "h_all": 100, + "w": 6, + "h": 1, + "frame_all": 6, + "bmp": "00163.png", + "w1": 100, + "h1": 100 + },{ + "id": 164, + "w_all": 600, + "h_all": 400, + "w": 6, + "h": 4, + "frame_all": 24, + "bmp": "00164.png", + "w1": 100, + "h1": 100 + },{ + "id": 165, + "w_all": 800, + "h_all": 400, + "w": 8, + "h": 4, + "frame_all": 32, + "bmp": "00165.png", + "w1": 100, + "h1": 100 + },{ + "id": 166, + "w_all": 900, + "h_all": 100, + "w": 9, + "h": 1, + "frame_all": 9, + "bmp": "00166.png", + "w1": 100, + "h1": 100 + },{ + "id": 167, + "w_all": 114, + "h_all": 120, + "w": 1, + "h": 4, + "frame_all": 4, + "bmp": "00167.png", + "w1": 114, + "h1": 30 + },{ + "id": 168, + "w_all": 135, + "h_all": 80, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00168.png", + "w1": 135, + "h1": 80 + },{ + "id": 169, + "w_all": 181, + "h_all": 70, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00169.png", + "w1": 181, + "h1": 70 + },{ + "id": 170, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00170.png", + "w1": 93, + "h1": 93 + },{ + "id": 171, + "w_all": 106, + "h_all": 26, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00171.png", + "w1": 106, + "h1": 26 + },{ + "id": 172, + "w_all": 140, + "h_all": 22, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00172.png", + "w1": 14, + "h1": 22 + },{ + "id": 173, + "w_all": 5, + "h_all": 14, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00173.png", + "w1": 5, + "h1": 14 + },{ + "id": 174, + "w_all": 150, + "h_all": 20, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00174.png", + "w1": 15, + "h1": 20 + },{ + "id": 175, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00175.png", + "w1": 93, + "h1": 93 + },{ + "id": 176, + "w_all": 309, + "h_all": 322, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00176.png", + "w1": 309, + "h1": 322 + },{ + "id": 177, + "w_all": 320, + "h_all": 95, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00177.png", + "w1": 320, + "h1": 95 + },{ + "id": 178, + "w_all": 280, + "h_all": 465, + "w": 1, + "h": 5, + "frame_all": 5, + "bmp": "00178.png", + "w1": 280, + "h1": 93 + },{ + "id": 179, + "w_all": 157, + "h_all": 148, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00179.png", + "w1": 157, + "h1": 74 + },{ + "id": 180, + "w_all": 157, + "h_all": 148, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00180.png", + "w1": 157, + "h1": 74 + },{ + "id": 181, + "w_all": 494, + "h_all": 140, + "w": 1, + "h": 5, + "frame_all": 5, + "bmp": "00181.png", + "w1": 494, + "h1": 28 + },{ + "id": 182, + "w_all": 524, + "h_all": 231, + "w": 4, + "h": 3, + "frame_all": 12, + "bmp": "00182.png", + "w1": 131, + "h1": 77 + },{ + "id": 183, + "w_all": 396, + "h_all": 47, + "w": 11, + "h": 1, + "frame_all": 11, + "bmp": "00183.png", + "w1": 36, + "h1": 47 + },{ + "id": 184, + "w_all": 309, + "h_all": 110, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00184.png", + "w1": 309, + "h1": 110 + },{ + "id": 185, + "w_all": 260, + "h_all": 84, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00185.png", + "w1": 260, + "h1": 84 + },{ + "id": 186, + "w_all": 122, + "h_all": 68, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00186.png", + "w1": 122, + "h1": 68 + },{ + "id": 187, + "w_all": 185, + "h_all": 73, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00187.png", + "w1": 185, + "h1": 73 + },{ + "id": 188, + "w_all": 135, + "h_all": 160, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00188.png", + "w1": 135, + "h1": 80 + },{ + "id": 189, + "w_all": 559, + "h_all": 690, + "w": 1, + "h": 5, + "frame_all": 5, + "bmp": "00189.png", + "w1": 559, + "h1": 138 + },{ + "id": 190, + "w_all": 1040, + "h_all": 210, + "w": 5, + "h": 1, + "frame_all": 5, + "bmp": "00190.png", + "w1": 208, + "h1": 210 + },{ + "id": 191, + "w_all": 286, + "h_all": 32, + "w": 11, + "h": 1, + "frame_all": 11, + "bmp": "00191.png", + "w1": 26, + "h1": 32 + },{ + "id": 192, + "w_all": 660, + "h_all": 70, + "w": 11, + "h": 1, + "frame_all": 11, + "bmp": "00192.png", + "w1": 60, + "h1": 70 + },{ + "id": 193, + "w_all": 456, + "h_all": 160, + "w": 2, + "h": 2, + "frame_all": 4, + "bmp": "00193.png", + "w1": 228, + "h1": 80 + },{ + "id": 194, + "w_all": 484, + "h_all": 89, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00194.png", + "w1": 484, + "h1": 89 + },{ + "id": 195, + "w_all": 119, + "h_all": 26, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00195.png", + "w1": 119, + "h1": 26 + },{ + "id": 196, + "w_all": 320, + "h_all": 155, + "w": 1, + "h": 5, + "frame_all": 5, + "bmp": "00196.png", + "w1": 320, + "h1": 31 + },{ + "id": 197, + "w_all": 848, + "h_all": 591, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00197.png", + "w1": 848, + "h1": 591 + },{ + "id": 198, + "w_all": 308, + "h_all": 37, + "w": 11, + "h": 1, + "frame_all": 11, + "bmp": "00198.png", + "w1": 28, + "h1": 37 + },{ + "id": 199, + "w_all": 328, + "h_all": 224, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00199.png", + "w1": 328, + "h1": 224 + },{ + "id": 200, + "w_all": 150, + "h_all": 49, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00200.png", + "w1": 150, + "h1": 49 + },{ + "id": 201, + "w_all": 149, + "h_all": 60, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00201.png", + "w1": 149, + "h1": 30 + },{ + "id": 202, + "w_all": 157, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00202.png", + "w1": 157, + "h1": 74 + },{ + "id": 203, + "w_all": 299, + "h_all": 35, + "w": 13, + "h": 1, + "frame_all": 13, + "bmp": "00203.png", + "w1": 23, + "h1": 35 + },{ + "id": 204, + "w_all": 44, + "h_all": 200, + "w": 1, + "h": 5, + "frame_all": 5, + "bmp": "00204.png", + "w1": 44, + "h1": 40 + },{ + "id": 205, + "w_all": 72, + "h_all": 29, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00205.png", + "w1": 72, + "h1": 29 + },{ + "id": 206, + "w_all": 211, + "h_all": 296, + "w": 1, + "h": 4, + "frame_all": 4, + "bmp": "00206.png", + "w1": 211, + "h1": 74 + },{ + "id": 207, + "w_all": 218, + "h_all": 160, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00207.png", + "w1": 218, + "h1": 80 + },{ + "id": 208, + "w_all": 184, + "h_all": 160, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00208.png", + "w1": 184, + "h1": 80 + },{ + "id": 209, + "w_all": 100, + "h_all": 100, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00209.png", + "w1": 100, + "h1": 100 + },{ + "id": 210, + "w_all": 208, + "h_all": 43, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00210.png", + "w1": 208, + "h1": 43 + },{ + "id": 211, + "w_all": 182, + "h_all": 250, + "w": 1, + "h": 5, + "frame_all": 5, + "bmp": "00211.png", + "w1": 182, + "h1": 50 + },{ + "id": 212, + "w_all": 796, + "h_all": 522, + "w": 2, + "h": 2, + "frame_all": 4, + "bmp": "00212.png", + "w1": 398, + "h1": 261 + },{ + "id": 213, + "w_all": 104, + "h_all": 47, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00213.png", + "w1": 104, + "h1": 47 + },{ + "id": 214, + "w_all": 329, + "h_all": 224, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00214.png", + "w1": 329, + "h1": 224 + },{ + "id": 215, + "w_all": 300, + "h_all": 140, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00215.png", + "w1": 300, + "h1": 70 + },{ + "id": 216, + "w_all": 236, + "h_all": 200, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00216.png", + "w1": 236, + "h1": 100 + },{ + "id": 217, + "w_all": 250, + "h_all": 160, + "w": 2, + "h": 4, + "frame_all": 8, + "bmp": "00217.png", + "w1": 125, + "h1": 40 + },{ + "id": 218, + "w_all": 250, + "h_all": 40, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00218.png", + "w1": 250, + "h1": 40 + },{ + "id": 219, + "w_all": 109, + "h_all": 150, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00219.png", + "w1": 109, + "h1": 50 + },{ + "id": 220, + "w_all": 503, + "h_all": 18, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00220.png", + "w1": 503, + "h1": 18 + },{ + "id": 221, + "w_all": 70, + "h_all": 52, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00221.png", + "w1": 70, + "h1": 52 + },{ + "id": 222, + "w_all": 660, + "h_all": 154, + "w": 5, + "h": 2, + "frame_all": 10, + "bmp": "00222.png", + "w1": 132, + "h1": 77 + },{ + "id": 223, + "w_all": 55, + "h_all": 55, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00223.png", + "w1": 55, + "h1": 55 + },{ + "id": 224, + "w_all": 485, + "h_all": 169, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00224.png", + "w1": 485, + "h1": 169 + },{ + "id": 225, + "w_all": 109, + "h_all": 222, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00225.png", + "w1": 109, + "h1": 74 + },{ + "id": 226, + "w_all": 385, + "h_all": 51, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00226.png", + "w1": 385, + "h1": 51 + },{ + "id": 227, + "w_all": 180, + "h_all": 22, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00227.png", + "w1": 18, + "h1": 22 + },{ + "id": 228, + "w_all": 260, + "h_all": 37, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00228.png", + "w1": 26, + "h1": 37 + },{ + "id": 229, + "w_all": 185, + "h_all": 60, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00229.png", + "w1": 185, + "h1": 60 + },{ + "id": 230, + "w_all": 168, + "h_all": 178, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00230.png", + "w1": 168, + "h1": 178 + },{ + "id": 231, + "w_all": 277, + "h_all": 90, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00231.png", + "w1": 277, + "h1": 90 + },{ + "id": 232, + "w_all": 185, + "h_all": 80, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00232.png", + "w1": 185, + "h1": 80 + },{ + "id": 233, + "w_all": 264, + "h_all": 93, + "w": 3, + "h": 1, + "frame_all": 3, + "bmp": "00233.png", + "w1": 88, + "h1": 93 + },{ + "id": 234, + "w_all": 420, + "h_all": 87, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00234.png", + "w1": 420, + "h1": 87 + },{ + "id": 235, + "w_all": 2, + "h_all": 565, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00235.png", + "w1": 2, + "h1": 565 + },{ + "id": 236, + "w_all": 204, + "h_all": 255, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00236.png", + "w1": 204, + "h1": 85 + },{ + "id": 237, + "w_all": 1280, + "h_all": 720, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00237.png", + "w1": 1280, + "h1": 720 + },{ + "id": 238, + "w_all": 155, + "h_all": 560, + "w": 1, + "h": 7, + "frame_all": 7, + "bmp": "00238.png", + "w1": 155, + "h1": 80 + },{ + "id": 239, + "w_all": 137, + "h_all": 86, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00239.png", + "w1": 137, + "h1": 86 + },{ + "id": 240, + "w_all": 115, + "h_all": 104, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00240.png", + "w1": 115, + "h1": 104 + },{ + "id": 241, + "w_all": 999, + "h_all": 440, + "w": 3, + "h": 4, + "frame_all": 12, + "bmp": "00241.png", + "w1": 333, + "h1": 110 + },{ + "id": 242, + "w_all": 510, + "h_all": 65, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00242.png", + "w1": 51, + "h1": 65 + },{ + "id": 243, + "w_all": 1002, + "h_all": 702, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00243.png", + "w1": 1002, + "h1": 702 + },{ + "id": 244, + "w_all": 215, + "h_all": 69, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00244.png", + "w1": 215, + "h1": 69 + },{ + "id": 245, + "w_all": 258, + "h_all": 21, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00245.png", + "w1": 258, + "h1": 21 + },{ + "id": 246, + "w_all": 68, + "h_all": 73, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00246.png", + "w1": 68, + "h1": 73 + },{ + "id": 247, + "w_all": 351, + "h_all": 157, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00247.png", + "w1": 351, + "h1": 157 + },{ + "id": 248, + "w_all": 932, + "h_all": 39, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00248.png", + "w1": 932, + "h1": 39 + },{ + "id": 249, + "w_all": 100, + "h_all": 100, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00249.png", + "w1": 100, + "h1": 100 + },{ + "id": 250, + "w_all": 157, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00250.png", + "w1": 157, + "h1": 74 + },{ + "id": 251, + "w_all": 329, + "h_all": 224, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00251.png", + "w1": 329, + "h1": 224 + },{ + "id": 252, + "w_all": 160, + "h_all": 100, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00252.png", + "w1": 160, + "h1": 100 + },{ + "id": 253, + "w_all": 94, + "h_all": 99, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00253.png", + "w1": 94, + "h1": 99 + },{ + "id": 254, + "w_all": 1280, + "h_all": 720, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00254.png", + "w1": 1280, + "h1": 720 + },{ + "id": 255, + "w_all": 900, + "h_all": 151, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00255.png", + "w1": 900, + "h1": 151 + },{ + "id": 256, + "w_all": 237, + "h_all": 77, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00256.png", + "w1": 237, + "h1": 77 + },{ + "id": 257, + "w_all": 201, + "h_all": 134, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00257.png", + "w1": 201, + "h1": 67 + },{ + "id": 258, + "w_all": 160, + "h_all": 19, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00258.png", + "w1": 16, + "h1": 19 + },{ + "id": 259, + "w_all": 59, + "h_all": 51, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00259.png", + "w1": 59, + "h1": 51 + },{ + "id": 260, + "w_all": 32, + "h_all": 27, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00260.png", + "w1": 32, + "h1": 27 + },{ + "id": 261, + "w_all": 42, + "h_all": 22, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00261.png", + "w1": 21, + "h1": 22 + },{ + "id": 262, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00262.png", + "w1": 93, + "h1": 93 + },{ + "id": 263, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00263.png", + "w1": 93, + "h1": 93 + },{ + "id": 264, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00264.png", + "w1": 93, + "h1": 93 + },{ + "id": 265, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00265.png", + "w1": 93, + "h1": 93 + },{ + "id": 266, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00266.png", + "w1": 93, + "h1": 93 + },{ + "id": 267, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00267.png", + "w1": 93, + "h1": 93 + },{ + "id": 268, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00268.png", + "w1": 93, + "h1": 93 + },{ + "id": 269, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00269.png", + "w1": 93, + "h1": 93 + },{ + "id": 270, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00270.png", + "w1": 93, + "h1": 93 + },{ + "id": 271, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00271.png", + "w1": 93, + "h1": 93 + },{ + "id": 272, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00272.png", + "w1": 93, + "h1": 93 + },{ + "id": 273, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00273.png", + "w1": 93, + "h1": 93 + },{ + "id": 274, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00274.png", + "w1": 93, + "h1": 93 + },{ + "id": 275, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00275.png", + "w1": 93, + "h1": 93 + },{ + "id": 276, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00276.png", + "w1": 93, + "h1": 93 + },{ + "id": 277, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00277.png", + "w1": 93, + "h1": 93 + },{ + "id": 278, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00278.png", + "w1": 93, + "h1": 93 + },{ + "id": 279, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00279.png", + "w1": 93, + "h1": 93 + },{ + "id": 280, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00280.png", + "w1": 93, + "h1": 93 + },{ + "id": 281, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00281.png", + "w1": 93, + "h1": 93 + },{ + "id": 282, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00282.png", + "w1": 93, + "h1": 93 + },{ + "id": 283, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00283.png", + "w1": 93, + "h1": 93 + },{ + "id": 284, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00284.png", + "w1": 93, + "h1": 93 + },{ + "id": 285, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00285.png", + "w1": 93, + "h1": 93 + },{ + "id": 286, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00286.png", + "w1": 93, + "h1": 93 + },{ + "id": 287, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00287.png", + "w1": 93, + "h1": 93 + },{ + "id": 288, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00288.png", + "w1": 93, + "h1": 93 + },{ + "id": 289, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00289.png", + "w1": 93, + "h1": 93 + },{ + "id": 290, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00290.png", + "w1": 93, + "h1": 93 + },{ + "id": 291, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00291.png", + "w1": 93, + "h1": 93 + },{ + "id": 292, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00292.png", + "w1": 93, + "h1": 93 + },{ + "id": 293, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00293.png", + "w1": 93, + "h1": 93 + },{ + "id": 294, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00294.png", + "w1": 93, + "h1": 93 + },{ + "id": 295, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00295.png", + "w1": 93, + "h1": 93 + },{ + "id": 296, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00296.png", + "w1": 93, + "h1": 93 + },{ + "id": 297, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00297.png", + "w1": 93, + "h1": 93 + },{ + "id": 298, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00298.png", + "w1": 93, + "h1": 93 + },{ + "id": 299, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00299.png", + "w1": 93, + "h1": 93 + },{ + "id": 300, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00300.png", + "w1": 93, + "h1": 93 + },{ + "id": 301, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00301.png", + "w1": 93, + "h1": 93 + },{ + "id": 302, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00302.png", + "w1": 93, + "h1": 93 + },{ + "id": 303, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00303.png", + "w1": 93, + "h1": 93 + },{ + "id": 304, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00304.png", + "w1": 93, + "h1": 93 + },{ + "id": 305, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00305.png", + "w1": 93, + "h1": 93 + },{ + "id": 306, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00306.png", + "w1": 93, + "h1": 93 + },{ + "id": 307, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00307.png", + "w1": 93, + "h1": 93 + },{ + "id": 308, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00308.png", + "w1": 93, + "h1": 93 + },{ + "id": 309, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00309.png", + "w1": 93, + "h1": 93 + },{ + "id": 310, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00310.png", + "w1": 93, + "h1": 93 + },{ + "id": 311, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00311.png", + "w1": 93, + "h1": 93 + },{ + "id": 312, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00312.png", + "w1": 93, + "h1": 93 + },{ + "id": 313, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00313.png", + "w1": 93, + "h1": 93 + },{ + "id": 314, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00314.png", + "w1": 93, + "h1": 93 + },{ + "id": 315, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00315.png", + "w1": 93, + "h1": 93 + },{ + "id": 316, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00316.png", + "w1": 93, + "h1": 93 + },{ + "id": 317, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00317.png", + "w1": 93, + "h1": 93 + },{ + "id": 318, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00318.png", + "w1": 93, + "h1": 93 + },{ + "id": 319, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00319.png", + "w1": 93, + "h1": 93 + },{ + "id": 320, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00320.png", + "w1": 93, + "h1": 93 + },{ + "id": 321, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00321.png", + "w1": 93, + "h1": 93 + },{ + "id": 322, + "w_all": 51, + "h_all": 75, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00322.png", + "w1": 51, + "h1": 25 + },{ + "id": 323, + "w_all": 348, + "h_all": 122, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00323.png", + "w1": 348, + "h1": 61 + },{ + "id": 324, + "w_all": 98, + "h_all": 49, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00324.png", + "w1": 49, + "h1": 49 + },{ + "id": 325, + "w_all": 233, + "h_all": 75, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00325.png", + "w1": 233, + "h1": 25 + },{ + "id": 326, + "w_all": 63, + "h_all": 62, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00326.png", + "w1": 63, + "h1": 31 + },{ + "id": 327, + "w_all": 403, + "h_all": 76, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00327.png", + "w1": 403, + "h1": 76 + },{ + "id": 328, + "w_all": 393, + "h_all": 308, + "w": 3, + "h": 4, + "frame_all": 12, + "bmp": "00328.png", + "w1": 131, + "h1": 77 + },{ + "id": 329, + "w_all": 270, + "h_all": 34, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00329.png", + "w1": 27, + "h1": 34 + },{ + "id": 330, + "w_all": 104, + "h_all": 55, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00330.png", + "w1": 104, + "h1": 55 + },{ + "id": 331, + "w_all": 180, + "h_all": 27, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00331.png", + "w1": 18, + "h1": 27 + },{ + "id": 332, + "w_all": 236, + "h_all": 200, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00332.png", + "w1": 236, + "h1": 100 + },{ + "id": 333, + "w_all": 141, + "h_all": 100, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00333.png", + "w1": 141, + "h1": 50 + },{ + "id": 334, + "w_all": 311, + "h_all": 23, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00334.png", + "w1": 311, + "h1": 23 + },{ + "id": 335, + "w_all": 194, + "h_all": 74, + "w": 2, + "h": 2, + "frame_all": 4, + "bmp": "00335.png", + "w1": 97, + "h1": 37 + },{ + "id": 336, + "w_all": 93, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00336.png", + "w1": 93, + "h1": 93 + },{ + "id": 337, + "w_all": 154, + "h_all": 50, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00337.png", + "w1": 154, + "h1": 25 + },{ + "id": 338, + "w_all": 720, + "h_all": 400, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00338.png", + "w1": 720, + "h1": 400 + },{ + "id": 339, + "w_all": 720, + "h_all": 400, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00339.png", + "w1": 720, + "h1": 400 + },{ + "id": 340, + "w_all": 720, + "h_all": 400, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00340.png", + "w1": 720, + "h1": 400 + },{ + "id": 341, + "w_all": 208, + "h_all": 59, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00341.png", + "w1": 208, + "h1": 59 + },{ + "id": 342, + "w_all": 27, + "h_all": 27, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00342.png", + "w1": 27, + "h1": 27 + },{ + "id": 343, + "w_all": 102, + "h_all": 64, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00343.png", + "w1": 102, + "h1": 64 + },{ + "id": 344, + "w_all": 51, + "h_all": 26, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00344.png", + "w1": 51, + "h1": 26 + },{ + "id": 345, + "w_all": 725, + "h_all": 482, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00345.png", + "w1": 725, + "h1": 482 + },{ + "id": 346, + "w_all": 1132, + "h_all": 664, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00346.png", + "w1": 1132, + "h1": 664 + },{ + "id": 347, + "w_all": 690, + "h_all": 115, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00347.png", + "w1": 690, + "h1": 115 + },{ + "id": 348, + "w_all": 80, + "h_all": 80, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00348.png", + "w1": 80, + "h1": 80 + },{ + "id": 349, + "w_all": 85, + "h_all": 85, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00349.png", + "w1": 85, + "h1": 85 + },{ + "id": 350, + "w_all": 110, + "h_all": 50, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00350.png", + "w1": 55, + "h1": 50 + },{ + "id": 351, + "w_all": 175, + "h_all": 118, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00351.png", + "w1": 175, + "h1": 118 + },{ + "id": 352, + "w_all": 230, + "h_all": 230, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00352.png", + "w1": 230, + "h1": 230 + },{ + "id": 353, + "w_all": 1231, + "h_all": 692, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00353.png", + "w1": 1231, + "h1": 692 + },{ + "id": 354, + "w_all": 123, + "h_all": 43, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00354.png", + "w1": 123, + "h1": 43 + },{ + "id": 355, + "w_all": 289, + "h_all": 52, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00355.png", + "w1": 289, + "h1": 26 + },{ + "id": 356, + "w_all": 697, + "h_all": 2, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00356.png", + "w1": 697, + "h1": 2 + },{ + "id": 357, + "w_all": 576, + "h_all": 154, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00357.png", + "w1": 576, + "h1": 77 + },{ + "id": 358, + "w_all": 420, + "h_all": 160, + "w": 2, + "h": 2, + "frame_all": 4, + "bmp": "00358.png", + "w1": 210, + "h1": 80 + },{ + "id": 359, + "w_all": 250, + "h_all": 34, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00359.png", + "w1": 25, + "h1": 34 + },{ + "id": 360, + "w_all": 216, + "h_all": 71, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00360.png", + "w1": 216, + "h1": 71 + },{ + "id": 361, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00361.png", + "w1": 206, + "h1": 74 + },{ + "id": 362, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00362.png", + "w1": 206, + "h1": 74 + },{ + "id": 363, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00363.png", + "w1": 206, + "h1": 74 + },{ + "id": 364, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00364.png", + "w1": 206, + "h1": 74 + },{ + "id": 365, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00365.png", + "w1": 206, + "h1": 74 + },{ + "id": 366, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00366.png", + "w1": 206, + "h1": 74 + },{ + "id": 367, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00367.png", + "w1": 206, + "h1": 74 + },{ + "id": 368, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00368.png", + "w1": 206, + "h1": 74 + },{ + "id": 369, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00369.png", + "w1": 206, + "h1": 74 + },{ + "id": 370, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00370.png", + "w1": 206, + "h1": 74 + },{ + "id": 371, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00371.png", + "w1": 206, + "h1": 74 + },{ + "id": 372, + "w_all": 206, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00372.png", + "w1": 206, + "h1": 74 + },{ + "id": 373, + "w_all": 234, + "h_all": 78, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00373.png", + "w1": 234, + "h1": 78 + },{ + "id": 374, + "w_all": 1132, + "h_all": 664, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00374.png", + "w1": 1132, + "h1": 664 + },{ + "id": 375, + "w_all": 236, + "h_all": 200, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00375.png", + "w1": 236, + "h1": 100 + },{ + "id": 376, + "w_all": 100, + "h_all": 101, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00376.png", + "w1": 100, + "h1": 101 + },{ + "id": 377, + "w_all": 100, + "h_all": 88, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00377.png", + "w1": 100, + "h1": 88 + },{ + "id": 378, + "w_all": 396, + "h_all": 720, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00378.png", + "w1": 396, + "h1": 720 + },{ + "id": 379, + "w_all": 265, + "h_all": 181, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00379.png", + "w1": 265, + "h1": 181 + },{ + "id": 380, + "w_all": 390, + "h_all": 174, + "w": 6, + "h": 1, + "frame_all": 6, + "bmp": "00380.png", + "w1": 65, + "h1": 174 + },{ + "id": 381, + "w_all": 351, + "h_all": 359, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00381.png", + "w1": 351, + "h1": 359 + },{ + "id": 382, + "w_all": 1280, + "h_all": 720, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00382.png", + "w1": 1280, + "h1": 720 + },{ + "id": 383, + "w_all": 656, + "h_all": 497, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00383.png", + "w1": 656, + "h1": 497 + },{ + "id": 384, + "w_all": 124, + "h_all": 77, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00384.png", + "w1": 124, + "h1": 77 + },{ + "id": 385, + "w_all": 209, + "h_all": 81, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00385.png", + "w1": 209, + "h1": 81 + },{ + "id": 386, + "w_all": 288, + "h_all": 174, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00386.png", + "w1": 288, + "h1": 174 + },{ + "id": 387, + "w_all": 257, + "h_all": 57, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00387.png", + "w1": 257, + "h1": 57 + },{ + "id": 388, + "w_all": 111, + "h_all": 21, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00388.png", + "w1": 111, + "h1": 21 + },{ + "id": 389, + "w_all": 75, + "h_all": 26, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00389.png", + "w1": 75, + "h1": 26 + },{ + "id": 390, + "w_all": 40, + "h_all": 80, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00390.png", + "w1": 40, + "h1": 40 + },{ + "id": 391, + "w_all": 191, + "h_all": 114, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00391.png", + "w1": 191, + "h1": 57 + },{ + "id": 392, + "w_all": 564, + "h_all": 679, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00392.png", + "w1": 564, + "h1": 679 + },{ + "id": 393, + "w_all": 270, + "h_all": 55, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00393.png", + "w1": 270, + "h1": 55 + },{ + "id": 394, + "w_all": 180, + "h_all": 22, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00394.png", + "w1": 180, + "h1": 22 + },{ + "id": 395, + "w_all": 42, + "h_all": 33, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00395.png", + "w1": 42, + "h1": 33 + },{ + "id": 396, + "w_all": 298, + "h_all": 113, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00396.png", + "w1": 298, + "h1": 113 + },{ + "id": 397, + "w_all": 144, + "h_all": 62, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00397.png", + "w1": 144, + "h1": 62 + },{ + "id": 398, + "w_all": 170, + "h_all": 21, + "w": 10, + "h": 1, + "frame_all": 10, + "bmp": "00398.png", + "w1": 17, + "h1": 21 + },{ + "id": 399, + "w_all": 59, + "h_all": 25, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00399.png", + "w1": 59, + "h1": 25 + },{ + "id": 400, + "w_all": 742, + "h_all": 48, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00400.png", + "w1": 742, + "h1": 48 + },{ + "id": 401, + "w_all": 54, + "h_all": 60, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00401.png", + "w1": 54, + "h1": 60 + },{ + "id": 402, + "w_all": 252, + "h_all": 120, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00402.png", + "w1": 252, + "h1": 120 + },{ + "id": 403, + "w_all": 160, + "h_all": 60, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00403.png", + "w1": 160, + "h1": 60 + },{ + "id": 404, + "w_all": 160, + "h_all": 160, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00404.png", + "w1": 160, + "h1": 80 + },{ + "id": 405, + "w_all": 100, + "h_all": 100, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00405.png", + "w1": 100, + "h1": 100 + },{ + "id": 406, + "w_all": 145, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00406.png", + "w1": 145, + "h1": 74 + },{ + "id": 407, + "w_all": 354, + "h_all": 67, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00407.png", + "w1": 354, + "h1": 67 + },{ + "id": 408, + "w_all": 241, + "h_all": 50, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00408.png", + "w1": 241, + "h1": 50 + },{ + "id": 409, + "w_all": 145, + "h_all": 74, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00409.png", + "w1": 145, + "h1": 74 + },{ + "id": 410, + "w_all": 110, + "h_all": 30, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00410.png", + "w1": 110, + "h1": 30 + },{ + "id": 411, + "w_all": 182, + "h_all": 188, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00411.png", + "w1": 182, + "h1": 188 + },{ + "id": 412, + "w_all": 201, + "h_all": 49, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00412.png", + "w1": 201, + "h1": 49 + },{ + "id": 413, + "w_all": 79, + "h_all": 82, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00413.png", + "w1": 79, + "h1": 41 + },{ + "id": 414, + "w_all": 78, + "h_all": 52, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00414.png", + "w1": 78, + "h1": 26 + },{ + "id": 415, + "w_all": 100, + "h_all": 100, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00415.png", + "w1": 100, + "h1": 100 + },{ + "id": 416, + "w_all": 403, + "h_all": 55, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00416.png", + "w1": 403, + "h1": 55 + },{ + "id": 417, + "w_all": 325, + "h_all": 36, + "w": 13, + "h": 1, + "frame_all": 13, + "bmp": "00417.png", + "w1": 25, + "h1": 36 + },{ + "id": 418, + "w_all": 87, + "h_all": 180, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00418.png", + "w1": 87, + "h1": 60 + },{ + "id": 419, + "w_all": 120, + "h_all": 60, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00419.png", + "w1": 120, + "h1": 60 + },{ + "id": 420, + "w_all": 120, + "h_all": 60, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00420.png", + "w1": 120, + "h1": 60 + },{ + "id": 421, + "w_all": 141, + "h_all": 150, + "w": 1, + "h": 3, + "frame_all": 3, + "bmp": "00421.png", + "w1": 141, + "h1": 50 + },{ + "id": 422, + "w_all": 111, + "h_all": 93, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00422.png", + "w1": 111, + "h1": 93 + },{ + "id": 423, + "w_all": 955, + "h_all": 640, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00423.png", + "w1": 955, + "h1": 640 + },{ + "id": 424, + "w_all": 102, + "h_all": 78, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00424.png", + "w1": 102, + "h1": 78 + },{ + "id": 425, + "w_all": 403, + "h_all": 152, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00425.png", + "w1": 403, + "h1": 76 + },{ + "id": 426, + "w_all": 87, + "h_all": 92, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00426.png", + "w1": 87, + "h1": 46 + },{ + "id": 427, + "w_all": 301, + "h_all": 194, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00427.png", + "w1": 301, + "h1": 97 + },{ + "id": 428, + "w_all": 315, + "h_all": 61, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00428.png", + "w1": 315, + "h1": 61 + },{ + "id": 429, + "w_all": 148, + "h_all": 146, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00429.png", + "w1": 148, + "h1": 73 + },{ + "id": 430, + "w_all": 266, + "h_all": 180, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00430.png", + "w1": 266, + "h1": 90 + },{ + "id": 431, + "w_all": 156, + "h_all": 128, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00431.png", + "w1": 156, + "h1": 64 + },{ + "id": 432, + "w_all": 100, + "h_all": 50, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00432.png", + "w1": 50, + "h1": 50 + },{ + "id": 433, + "w_all": 231, + "h_all": 28, + "w": 11, + "h": 1, + "frame_all": 11, + "bmp": "00433.png", + "w1": 21, + "h1": 28 + },{ + "id": 434, + "w_all": 284, + "h_all": 168, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00434.png", + "w1": 284, + "h1": 84 + },{ + "id": 435, + "w_all": 90, + "h_all": 62, + "w": 2, + "h": 1, + "frame_all": 2, + "bmp": "00435.png", + "w1": 45, + "h1": 62 + },{ + "id": 436, + "w_all": 181, + "h_all": 52, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00436.png", + "w1": 181, + "h1": 26 + },{ + "id": 437, + "w_all": 133, + "h_all": 98, + "w": 1, + "h": 1, + "frame_all": 1, + "bmp": "00437.png", + "w1": 133, + "h1": 98 + },{ + "id": 438, + "w_all": 135, + "h_all": 160, + "w": 1, + "h": 2, + "frame_all": 2, + "bmp": "00438.png", + "w1": 135, + "h1": 80 + },{ + "id": 439, + "w_all": 396, + "h_all": 156, + "w": 3, + "h": 1, + "frame_all": 3, + "bmp": "00439.png", + "w1": 132, + "h1": 156 + }] +} \ No newline at end of file diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json new file mode 100644 index 0000000..e2aa2da --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json @@ -0,0 +1,18 @@ +{ + "spirit_types": { + "0": { "component": "cc.Sprite", "note": "普通精灵" }, + "1": { "component": "cc.Label", "note": "文本" }, + "3": { "component": "cc.ProgressBar", "note": "进度条" }, + "4": { "component": "unknown", "note": "PoC 阶段 1 逆向 gameabc.min.js" }, + "5": { "component": "unknown", "note": "PoC 阶段 1 逆向 gameabc.min.js" } + }, + "coord_self_pos": { + "_note": "原 X, Y 是精灵左上角绝对屏幕坐标 (基于 1280x720);Cocos 用中心锚点", + "cocos_lpos_x": "original_X + original_W/2 - 640", + "cocos_lpos_y": "360 - (original_Y + original_H/2)" + }, + "anchor_point": { + "cocos_default": { "x": 0.5, "y": 0.5 }, + "original_default": "左上角 (0, 0)" + } +} \ No newline at end of file diff --git a/cocoscreator_projects/package-lock.json b/cocoscreator_projects/package-lock.json index 3f999ba..66a77c2 100644 --- a/cocoscreator_projects/package-lock.json +++ b/cocoscreator_projects/package-lock.json @@ -7,6 +7,10 @@ "": { "name": "youle-monorepo-tools", "version": "0.1.0", + "dependencies": { + "@xmldom/xmldom": "^0.9.12", + "iconv-lite": "^0.7.3" + }, "devDependencies": { "@types/node": "^26.0.1", "@types/ws": "^8.18.1", @@ -450,6 +454,15 @@ "@types/node": "*" } }, + "node_modules/@xmldom/xmldom": { + "version": "0.9.12", + "resolved": "https://registry.npmmirror.com/@xmldom/xmldom/-/xmldom-0.9.12.tgz", + "integrity": "sha512-5AXjrcMClTryPe9LgZrygpB1lj7s0S9E0+W+AHaVKAVyHanafK86iPSvG5xHVSp/jC+VH1UXu0TAEmY279xH7A==", + "license": "MIT", + "engines": { + "node": ">=14.6" + } + }, "node_modules/esbuild": { "version": "0.28.1", "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.28.1.tgz", @@ -505,6 +518,22 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, + "node_modules/iconv-lite": { + "version": "0.7.3", + "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/pngjs": { "version": "7.0.0", "resolved": "https://registry.npmmirror.com/pngjs/-/pngjs-7.0.0.tgz", @@ -514,6 +543,12 @@ "node": ">=14.19.0" } }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, "node_modules/tsx": { "version": "4.22.4", "resolved": "https://registry.npmmirror.com/tsx/-/tsx-4.22.4.tgz", diff --git a/cocoscreator_projects/package.json b/cocoscreator_projects/package.json index 4547113..b92776b 100644 --- a/cocoscreator_projects/package.json +++ b/cocoscreator_projects/package.json @@ -23,5 +23,9 @@ "tsx": "^4.22.4", "typescript": "^6.0.3", "ws": "^8.21.0" + }, + "dependencies": { + "@xmldom/xmldom": "^0.9.12", + "iconv-lite": "^0.7.3" } } From cfca336e9812890eba73d3872ec8e253eb517a8a Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 07:52:11 +0800 Subject: [PATCH 02/16] =?UTF-8?q?feat(scripts):=20readLayerXml=20-=20UTF-8?= =?UTF-8?q?=20=E8=A7=A3=E7=A0=81=20+=20Layer/Spirit=20=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=8F=90=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xml-parser.test.mjs | 39 +++++++++++++ .../scripts/legacy-layer-to-cocos-prefab.mjs | 55 +++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs create mode 100644 cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs new file mode 100644 index 0000000..4c54c47 --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs @@ -0,0 +1,39 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { readLayerXml } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; + +test('readLayerXml 解码 UTF-8 并提取 Layer00002 字段', () => { + const layer = readLayerXml('framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'); + + assert.equal(layer.layerId, '2'); + assert.equal(layer.layerName, 'Login_Layer'); + assert.equal(layer.spirits.length, 18, 'Login_Layer 有 18 个 Spirit'); +}); + +test('Spirit 字段完整提取(含中文名)', () => { + const layer = readLayerXml('framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'); + const spirit405 = layer.spirits.find(s => s.id === '405'); + assert.ok(spirit405, 'Spirit id=405 应存在'); + assert.equal(spirit405.type, '0'); // Sprite + assert.equal(spirit405.x, '734'); + assert.equal(spirit405.y, '143'); + assert.equal(spirit405.w, '59'); + assert.equal(spirit405.h, '148'); + assert.equal(spirit405.group, '2'); + + // 验证 UTF-8 中文名解码: spirit id=2 在 fixture 中实际 Name="微信登录背景". + // 注: brief 原版用 spirit id=405 + /渠道/ 验证中文, 但 fixture 里 405 的 Name 是 + // "Spirit405" (无中文), 故改用含中文的 spirit id=2 验证 UTF-8 解码. + const spirit2 = layer.spirits.find(s => s.id === '2'); + assert.ok(spirit2, 'Spirit id=2 应存在'); + assert.match(spirit2.name, /微信/); // UTF-8 解码后中文名应正常 +}); + +test('BelongGroupID 提取(group=0 节点也存在)', () => { + const layer = readLayerXml('framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'); + for (const s of layer.spirits) { + assert.ok(s.group !== undefined, `Spirit ${s.id} (${s.name}) 应有 group 字段`); + } + const g0 = layer.spirits.filter(s => s.group === '0'); + assert.ok(g0.length >= 0); // Login_Layer 没有 group=0,但提取逻辑应支持 +}); diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs new file mode 100644 index 0000000..7bc36b5 --- /dev/null +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs @@ -0,0 +1,55 @@ +import { readFileSync } from 'node:fs'; +import { DOMParser } from '@xmldom/xmldom'; + +/** + * 读取 Game_Surface_3 风格的 Layer XML (UTF-8 编码), 解析 Layer + Spirit 字段. + * + * 协议来源: docs/protocol/ (服务器零改动). XML 结构与 save/Layer*.xml 一致: + * + * + * + * + * ... + * + * + * + * + * 数据源权威: 字段缺失/不存在一律返回 undefined (不上游兜底, 由下游显式判错). + * + * @param {string} path - 文件路径 (相对 cwd 或绝对) + * @returns {{ layerId: string|undefined, layerName: string|undefined, spirits: Array<{ id, name, type, imgResID, x, y, w, h, group, indexOfLayer }> }} + */ +export function readLayerXml(path) { + const text = readFileSync(path, 'utf8'); + const doc = new DOMParser().parseFromString(text, 'text/xml'); + + const getProp = (el, name) => { + const prop = Array.from(el.getElementsByTagName('Property')) + .find(p => p.getAttribute('Name') === name); + return prop?.getAttribute('Value'); + }; + + const layerEl = doc.getElementsByTagName('Layer')[0]; + const layerPropList = layerEl.getElementsByTagName('PropertyList')[0]; + const layerId = getProp(layerPropList, 'ID'); + const layerName = getProp(layerPropList, 'Name'); + + const spiritEls = doc.getElementsByTagName('Spirit'); + const spirits = Array.from(spiritEls).map(sp => { + const propList = sp.getElementsByTagName('PropertyList')[0]; + return { + id: getProp(propList, 'ID'), + name: getProp(propList, 'Name'), + type: getProp(propList, 'SpiritType'), + imgResID: getProp(propList, 'ImgResID'), + x: getProp(propList, 'X'), + y: getProp(propList, 'Y'), + w: getProp(propList, 'Width'), + h: getProp(propList, 'Height'), + group: getProp(propList, 'BelongGroupID'), + indexOfLayer: getProp(propList, 'IndexOfLayer'), + }; + }); + + return { layerId, layerName, spirits }; +} From b7c002d6f3975408cd20a5ed54f5ac349bebbb88 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:05:52 +0800 Subject: [PATCH 03/16] =?UTF-8?q?fix(scripts):=20xml-parser.test.mjs=20?= =?UTF-8?q?=E7=94=A8=E7=BB=9D=E5=AF=B9=E8=B7=AF=E5=BE=84=E4=BF=AE=20fixtur?= =?UTF-8?q?e=20ENOENT=20(Task=202=20fix=20round=201)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legacy-layer-migration/xml-parser.test.mjs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs index 4c54c47..94f2bfe 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs @@ -2,8 +2,12 @@ import { test } from 'node:test'; import assert from 'node:assert/strict'; import { readLayerXml } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; +// 绝对路径 -- tests 从 cocoscreator_projects/ 运行, 相对路径会解析到仓库根, +// 漏掉 cocoscreator_projects/ 段导致 ENOENT (Task 2 fix round 1 Finding 3). +const FIXTURE = 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'; + test('readLayerXml 解码 UTF-8 并提取 Layer00002 字段', () => { - const layer = readLayerXml('framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'); + const layer = readLayerXml(FIXTURE); assert.equal(layer.layerId, '2'); assert.equal(layer.layerName, 'Login_Layer'); @@ -11,7 +15,7 @@ test('readLayerXml 解码 UTF-8 并提取 Layer00002 字段', () => { }); test('Spirit 字段完整提取(含中文名)', () => { - const layer = readLayerXml('framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'); + const layer = readLayerXml(FIXTURE); const spirit405 = layer.spirits.find(s => s.id === '405'); assert.ok(spirit405, 'Spirit id=405 应存在'); assert.equal(spirit405.type, '0'); // Sprite @@ -30,7 +34,7 @@ test('Spirit 字段完整提取(含中文名)', () => { }); test('BelongGroupID 提取(group=0 节点也存在)', () => { - const layer = readLayerXml('framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'); + const layer = readLayerXml(FIXTURE); for (const s of layer.spirits) { assert.ok(s.group !== undefined, `Spirit ${s.id} (${s.name}) 应有 group 字段`); } From 7f0bd17b9e56ce79b6c9050a8fbeb0576ce2d3d4 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:09:15 +0800 Subject: [PATCH 04/16] =?UTF-8?q?feat(scripts):=20computeLpos=20/=20comput?= =?UTF-8?q?eContentSize=20-=20=E9=94=9A=E7=82=B9=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E5=85=AC=E5=BC=8F=EF=BC=88=E5=AE=9E=E6=B5=8B=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../coord-calculator.test.mjs | 50 +++++++++++++++++++ .../scripts/legacy-layer-to-cocos-prefab.mjs | 43 ++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/coord-calculator.test.mjs diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/coord-calculator.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/coord-calculator.test.mjs new file mode 100644 index 0000000..1e6e157 --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/coord-calculator.test.mjs @@ -0,0 +1,50 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { computeLpos, computeContentSize } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; + +test('computeLpos 锚点转换(实测验证:渠道logo)', () => { + const spirit = { x: '734', y: '143', w: '59', h: '148' }; + const lpos = computeLpos(spirit); + // x = 734 + 59/2 - 640 = 123.5 + // y = 360 - (143 + 148/2) = 143 + assert.equal(lpos.x, 123.5); + assert.equal(lpos.y, 143); + assert.equal(lpos.z, 0); +}); + +test('computeLpos 锚点转换(实测验证:游客登录)', () => { + const spirit = { x: '540', y: '388', w: '320', h: '95' }; + const lpos = computeLpos(spirit); + // x = 540 + 160 - 640 = 60 + // y = 360 - (388 + 47.5) = -75.5 + assert.equal(lpos.x, 60); + assert.equal(lpos.y, -75.5); +}); + +test('computeLpos 字符串转数字(X/Y 为字符串 "0"/"-100")', () => { + const spirit = { x: '0', y: '-100', w: '100', h: '100' }; + const lpos = computeLpos(spirit); + // x = 0 + 50 - 640 = -590 + // y = 360 - (-100 + 50) = 410 + assert.equal(lpos.x, -590); + assert.equal(lpos.y, 410); +}); + +test('computeContentSize 直接读 Width/Height(SizeCalcMode=0 路径)', () => { + const spirit = { w: '320', h: '95', sizeCalcMode: '0' }; + const size = computeContentSize(spirit); + assert.equal(size.width, 320); + assert.equal(size.height, 95); +}); + +test('computeContentSize 默认 SizeCalcMode=0(字段缺失视作 0)', () => { + const spirit = { w: '100', h: '50' }; // no sizeCalcMode + const size = computeContentSize(spirit); + assert.equal(size.width, 100); + assert.equal(size.height, 50); +}); + +test('computeContentSize SizeCalcMode=1 → throw(不静默)', () => { + const spirit = { w: '100', h: '50', sizeCalcMode: '1' }; + assert.throws(() => computeContentSize(spirit), /SizeCalcMode=1.*reverse gameabc\.min\.js/); +}); \ No newline at end of file diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs index 7bc36b5..1d64032 100644 --- a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs @@ -53,3 +53,46 @@ export function readLayerXml(path) { return { layerId, layerName, spirits }; } + +/** + * 锚点转换: 原坐标系 (left-top, 1280×720 绝对) → Cocos 中心锚点 + Y-up. + * + * 公式 (实测验证 2026-09-02, Login_Layer 渠道logo + 游客登录双节点 _lpos 匹配): + * cocos_lpos.x = original_X + original_W/2 - 640 # 1280/2 + * cocos_lpos.y = 360 - (original_Y + original_H/2) # Y-up 翻转 + 720/2 + * + * @param {{ x?: string, y?: string, w?: string, h?: string }} spirit + * @returns {{ x: number, y: number, z: 0 }} + */ +export function computeLpos(spirit) { + const x = parseFloat(spirit.x || '0'); + const y = parseFloat(spirit.y || '0'); + const w = parseFloat(spirit.w || '0'); + const h = parseFloat(spirit.h || '0'); + // 锚点转换:原 X/Y 是左上角(1280×720 绝对坐标)→ Cocos 中心锚点 + return { + x: x + w / 2 - 640, // 原坐标系半宽 1280/2 + y: 360 - (y + h / 2), // Y-up 翻转 + 半高 720/2 + z: 0, + }; +} + +/** + * 计算 Spirit 的 contentSize (Cocos UI 节点尺寸). + * + * 数据源权威: SizeCalcMode 缺失视作 0 (直接读 Width/Height); 非 0 抛错, + * 由上游显式决定是否逆向 gameabc.min.js (Task 5 范围, 本任务不支持). + * + * @param {{ w?: string, h?: string, sizeCalcMode?: string, id?: string, name?: string }} spirit + * @returns {{ width: number, height: number }} + */ +export function computeContentSize(spirit) { + const sizeCalcMode = parseInt(spirit.sizeCalcMode || '0', 10); + if (sizeCalcMode !== 0) { + throw new Error(`SizeCalcMode=${sizeCalcMode} not yet supported for Spirit ${spirit.id} (${spirit.name}) - reverse gameabc.min.js first (Task 5)`); + } + return { + width: parseFloat(spirit.w || '0'), + height: parseFloat(spirit.h || '0'), + }; +} From 9fddab82d5aaf143e3df156b7ca160f849ab0123 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:11:05 +0800 Subject: [PATCH 05/16] =?UTF-8?q?feat(scripts):=20buildGroupParents=20-=20?= =?UTF-8?q?BelongGroupID=20=E2=86=92=20group-X=20=E7=88=B6=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E5=BD=92=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../group-builder.test.mjs | 47 +++++++++++++++++++ .../scripts/legacy-layer-to-cocos-prefab.mjs | 41 ++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/group-builder.test.mjs diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/group-builder.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/group-builder.test.mjs new file mode 100644 index 0000000..8671c8b --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/group-builder.test.mjs @@ -0,0 +1,47 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { buildGroupParents } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; + +test('buildGroupParents 把同 group Spirit 归类', () => { + const spirits = [ + { id: '1', group: '2', indexOfLayer: '1' }, + { id: '405', group: '2', indexOfLayer: '2' }, + { id: '285', group: '2', indexOfLayer: '3' }, + ]; + const result = buildGroupParents(spirits); + assert.equal(result.groupParents.length, 1, '只有一个 group=2'); + assert.equal(result.groupParents[0].name, 'group-2'); + assert.deepEqual(result.groupParents[0].childSpiritIds, ['1', '405', '285']); + assert.equal(result.rootChildSpiritIds.length, 0); +}); + +test('buildGroupParents 多 group 按 ID 升序', () => { + const spirits = [ + { id: '1', group: '32', indexOfLayer: '1' }, + { id: '2', group: '1', indexOfLayer: '2' }, + { id: '3', group: '1', indexOfLayer: '3' }, + ]; + const result = buildGroupParents(spirits); + assert.deepEqual(result.groupParents.map(g => g.name), ['group-1', 'group-32']); +}); + +test('buildGroupParents group=0 Spirit 直挂 Layer 根', () => { + const spirits = [ + { id: '10', group: '0', indexOfLayer: '1' }, + { id: '20', group: '0', indexOfLayer: '2' }, + { id: '30', group: '2', indexOfLayer: '3' }, + ]; + const result = buildGroupParents(spirits); + assert.equal(result.groupParents.length, 1); + assert.deepEqual(result.rootChildSpiritIds, ['10', '20']); +}); + +test('buildGroupParents 按 IndexOfLayer 排序子节点', () => { + const spirits = [ + { id: 'c', group: '1', indexOfLayer: '3' }, + { id: 'a', group: '1', indexOfLayer: '1' }, + { id: 'b', group: '1', indexOfLayer: '2' }, + ]; + const result = buildGroupParents(spirits); + assert.deepEqual(result.groupParents[0].childSpiritIds, ['a', 'b', 'c']); +}); \ No newline at end of file diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs index 1d64032..ba30514 100644 --- a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs @@ -96,3 +96,44 @@ export function computeContentSize(spirit) { height: parseFloat(spirit.h || '0'), }; } + +/** + * 将 Spirit 记录按 BelongGroupID 归类, 生成 group-X 父节点集合 + Layer 根直挂子节点. + * + * 规则: + * - BelongGroupID === '0' (或缺失) → 直挂 Layer 根, 不进任何 group 父节点 + * - BelongGroupID > 0 → 归入对应 group- 父节点 + * - group 父节点按 ID 升序排列; 同 group 内子节点按 IndexOfLayer 升序 + * - 命名保留原 BelongGroupID 值, 不重排 + * + * 数据源权威: IndexOfLayer 缺失视作 0 (XML 中该字段由 readLayerXml 提供, 必有值). + * + * @param {Array<{ id?: string, group?: string, indexOfLayer?: string }>} spirits + * @returns {{ groupParents: Array<{ name: string, childSpiritIds: string[] }>, rootChildSpiritIds: string[] }} + */ +export function buildGroupParents(spirits) { + const groupMap = new Map(); // group_id -> [{ spiritId, index }] + const rootSpirits = []; + + for (const s of spirits) { + if (s.group === '0' || !s.group) { + rootSpirits.push({ spiritId: s.id, index: parseInt(s.indexOfLayer || '0', 10) }); + } else { + if (!groupMap.has(s.group)) groupMap.set(s.group, []); + groupMap.get(s.group).push({ spiritId: s.id, index: parseInt(s.indexOfLayer || '0', 10) }); + } + } + + const groupParents = Array.from(groupMap.entries()) + .sort(([a], [b]) => parseInt(a, 10) - parseInt(b, 10)) + .map(([gid, items]) => ({ + name: `group-${gid}`, + childSpiritIds: items.sort((a, b) => a.index - b.index).map(x => x.spiritId), + })); + + const rootChildSpiritIds = rootSpirits + .sort((a, b) => a.index - b.index) + .map(x => x.spiritId); + + return { groupParents, rootChildSpiritIds }; +} From 6a756a3274cac226fe15d4a768de55495ac3d9fd Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:17:10 +0800 Subject: [PATCH 06/16] =?UTF-8?q?feat(scripts):=20SpiritType=204/5=20?= =?UTF-8?q?=E9=80=86=E5=90=91=20(cc.EditBox=20/=20cc.Sprite=20SLICED)=20+?= =?UTF-8?q?=20SizeCalcMode=20=E5=85=AC=E5=BC=8F=20(Task=205)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gameabc.min.js 逆向结果固化到 fixtures/spirit-semantics.json: SpiritType 4 = cc.EditBox 逆向证据: phoneInfo Layer00029.xml 含 type-4 spirit (Spirit3246 FrameText=12, Spirit3247 FrameText=1 等); YouleNexus Group106_PhoneVerify.prefab (映射到 Layer00029) 含 cc.EditBox 节点, 与 type-4 FrameText 输入框语义一致. 独有属性: FrameText (默认/显示文本) + ImgResID (背景图) + CanClick=1. SpiritType 5 = cc.Sprite (type=SLICED) 逆向证据 1 (smoking gun): Layer00002.xml Spirit159 (370x170, 边缘 100/80/100/80) → YouleNexus Login_Layer.prefab 唯一 cc.Sprite._type=1 (SLICED), _contentSize 严格等于 370x170. 1:1 同一个节点. 逆向证据 2: Layer00609.xml '设置背景' (100/134/100/135) → YouleNexus Layer609_Setting.prefab cc.Sprite._type=1. 独有属性: LeftEdge/TopEdge/RightEdge/BottomEdge (4 边缘宽度) = 9-slice scaling. SizeCalcMode 0/2 公式 (55 Layer 全量解析: 仅观察到这两种值): 0 = 直接读 Width/Height (Task 3 已实现). 2 = parent_size (lookup by SizeParentID) * SizeRelaWidth/Height / 10000. 全部采样 WidthCalcMode=1, SizeRelaWidth=10000 (即按 100% 比例继承父 spirit 尺寸). 测试 spirit-type-reverse.test.mjs 3 个 case 全 PASS: - SpiritType 4 component != unknown - SpiritType 5 component != unknown - spirit_types 含 5 项且全部 component != unknown --- .../fixtures/spirit-semantics.json | 63 ++++++++++++++++--- .../spirit-type-reverse.test.mjs | 30 +++++++++ 2 files changed, 84 insertions(+), 9 deletions(-) create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-type-reverse.test.mjs diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json index e2aa2da..56e59cc 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json @@ -1,18 +1,63 @@ { + "_comment": "gameabc.min.js 逆向结果(PoC 阶段 1, 2026-09-02). 数据源权威: 下游消费方不得猜测/修补/兜底, unknown → throw.", "spirit_types": { - "0": { "component": "cc.Sprite", "note": "普通精灵" }, - "1": { "component": "cc.Label", "note": "文本" }, - "3": { "component": "cc.ProgressBar", "note": "进度条" }, - "4": { "component": "unknown", "note": "PoC 阶段 1 逆向 gameabc.min.js" }, - "5": { "component": "unknown", "note": "PoC 阶段 1 逆向 gameabc.min.js" } + "0": { + "component": "cc.Sprite", + "note": "普通精灵; _type=0 (SIMPLE), _sizeMode=0", + "evidence": "Game_Surface_3 save/Layer*.xml 中 type=0 的 spirit 均含 ImgResID (sprite 图集索引) + BelongGroupID, 无独有属性; YouleNexus Login_Layer.prefab 的普通 sprite (_type=0, _sizeMode=0) 与 type=0 spirit 一一对应" + }, + "1": { + "component": "cc.Label", + "note": "文本标签; 含 Text/FontSize/AlignHorz/FontColor/BackColor 等独有属性", + "evidence": "Game_Surface_3 中 type=1 spirit 独有 Text/FontSize/FontBold/FontColor/BackColor/AlignHorz/AlignVert/AutoSize/WordWrap/LineSpace/TextStyle 这 11 个属性; 全量 XML 解析 38/55 Layer 含 type=1; 与 YouleNexus Login_Layer 中 cc.Label 节点字段对齐" + }, + "3": { + "component": "cc.ProgressBar", + "note": "进度条; 含 Frame 属性 (frame=进度 0-1 范围 或 frame id)", + "evidence": "Game_Surface_3 中 type=3 spirit 独有 Frame 属性 (例如 Layer00002 'Spirit3254' Frame=进度条); 45/55 Layer 含 type=3; 与 YouleNexus Login_Layer.prefab 中 '进度条底' cc.ProgressBar 节点对应" + }, + "4": { + "component": "cc.EditBox", + "note": "文本输入框; 独有属性 FrameText (默认/显示文本); CanClick=1; 含 ImgResID (背景图); CanDragSize=0", + "evidence": "Game_Surface_3 中 type=4 spirit 独有 FrameText 属性 (e.g. Layer00029 phoneInfo Spirit3246 FrameText='12' Spirit3247 FrameText='1' / Layer00014 Pay_Layer Spirit446 FrameText='12'); 15/55 Layer 含 type=4; YouleNexus Group106_PhoneVerify.prefab (映射到 Layer00029.xml phoneInfo) 含 1 个 cc.EditBox 节点, 与 type=4 的 FrameText 输入框语义一致 (phoneInfo 是手机号/验证码输入场景)" + }, + "5": { + "component": "cc.Sprite", + "note": "9-slice 缩放精灵; 独有属性 LeftEdge/TopEdge/RightEdge/BottomEdge (4 个边缘宽度); CanClick=1, CanDragSize=1; Cocos 映射: cc.Sprite._type = 1 (SLICED)", + "evidence": "Game_Surface_3 中 type=5 spirit 独有 LeftEdge/TopEdge/RightEdge/BottomEdge 属性 (Layer00002 Spirit159 (100/80/100/80, 隐式) / Layer00006 Spirit287 (70/1/70/1) / Layer00017 '个人信息背景' (70/70/70/70) / Layer00609 '设置背景' (100/134/100/135) / Layer00612 Tips_Layer 5 个 type=5 边缘容器); 39/55 Layer 含 type=5; YouleNexus Login_Layer.prefab 中唯一一个 cc.Sprite._type=1 (SLICED) 节点的 _contentSize 是 370×170, 严格匹配 Layer00002 Spirit159 Width=370 Height=170 — 同一个节点, 1:1 对应; YouleNexus Layer609_Setting.prefab 中 cc.Sprite._type=1 对应 Layer00609 '设置背景' (9-slice 边缘切片背景); 4 个边缘宽度正是 9-slice 缩放 slice 区域定义" + } + }, + "size_calc_mode": { + "_comment": "55 个 Layer 全量解析: 只观察到 SizeCalcMode = 0 和 2 两种值; 0 直接读 Width/Height, 2 通过 SizeParentID 引用父 Spirit 尺寸再乘以 SizeRelaWidth/SizeRelaHeight (万分比) 比率; WidthCalcMode/HeightCalcMode=1 表示启用相对宽度/高度 (SizeRelaXxx 字段), =0 表示使用 Width/Height 自身.", + "0": { + "formula": "_contentSize = { width: parseFloat(Spirit.Width), height: parseFloat(Spirit.Height) }", + "rationale": "直接读精灵自身 Width/Height 字段作为 _contentSize; gameabc.min.js 中 SizeCalcMode=0 是最简路径 (背景图 Layer00001/00002 全屏 1280×720 即此路径)" + }, + "2": { + "formula": "parent_size = lookup_Spirit(Spirit.SizeParentID)._contentSize; _contentSize = { width: parent_size.width * Spirit.SizeRelaWidth / 10000, height: parent_size.height * Spirit.SizeRelaHeight / 10000 }; 当 WidthCalcMode=0 时回退到 Spirit.Width (parseFloat), 当 WidthCalcMode=1 时用 SizeRelaWidth 公式; HeightCalcMode 同理", + "rationale": "Layer00001 '友乐背景' (SizeCalcMode=2, SizeParentID=21, SizeRelaWidth=10000) / Layer00002 '微信登录背景' (SizeCalcMode=2, SizeParentID=20, SizeRelaWidth=10000) 全量采样: 全部 WidthCalcMode=1, HeightCalcMode=1, SizeRelaWidth=10000, SizeRelaHeight=10000; 即按 100% 比例继承父 spirit 尺寸; 这种 pattern 用于 '充满父容器' 的背景 (1280×720 全屏背景), SizeParentID 指向另一个 1280×720 的 spirit" + } + }, + "width_calc_mode": { + "0": "use Spirit.Width directly (直接读 Width)", + "1": "use parent_size.width * Spirit.SizeRelaWidth / 10000 (按父尺寸比例计算)" + }, + "height_calc_mode": { + "0": "use Spirit.Height directly (直接读 Height)", + "1": "use parent_size.height * Spirit.SizeRelaHeight / 10000 (按父尺寸比例计算)" }, "coord_self_pos": { - "_note": "原 X, Y 是精灵左上角绝对屏幕坐标 (基于 1280x720);Cocos 用中心锚点", + "_note": "原 X, Y 是精灵左上角绝对屏幕坐标 (基于 1280x720); Cocos 用中心锚点", "cocos_lpos_x": "original_X + original_W/2 - 640", - "cocos_lpos_y": "360 - (original_Y + original_H/2)" + "cocos_lpos_y": "360 - (original_Y + original_H/2)", + "coord_self_pos_mode": { + "_note": "CoordSelfPos=0 在 55 个 Layer 全量中占绝对多数; CoordSelfPos > 0 的精灵 (例如相对父节点的偏移) 暂未观察到案例, 公式留 follow-up", + "0": "use X/Y 作为相对父节点偏移 (直接读, 见 coord_self_pos 公式)" + } }, "anchor_point": { "cocos_default": { "x": 0.5, "y": 0.5 }, - "original_default": "左上角 (0, 0)" + "original_default": "左上角 (0, 0)", + "evidence": "Login_Layer '渠道logo' 节点 (原 734,143,59,148) → Cocos _lpos (123.5, 143, 0) 1:1 匹配, 锚点 (0.5, 0.5) 验证通过" } -} \ No newline at end of file +} diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-type-reverse.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-type-reverse.test.mjs new file mode 100644 index 0000000..5a70872 --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-type-reverse.test.mjs @@ -0,0 +1,30 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { readFileSync } from 'node:fs'; + +const SEMANTICS = JSON.parse(readFileSync( + 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json', + 'utf8' +)); + +// 逆向 gameabc.min.js 已完成: SpiritType 4 = cc.EditBox, 5 = cc.Sprite (SLICED) +// 数据源权威; spirit_types component 字段非 unknown 即视为已逆向. + +test('SpiritType 4 有明确组件映射(非 unknown)', () => { + assert.notEqual(SEMANTICS.spirit_types['4'].component, 'unknown', + 'SpiritType 4 必须反向出组件映射;填入 component 字段。逆向证据:phoneInfo Layer00029 含 type-4 spirit (FrameText=12 等) → YouleNexus Group106_PhoneVerify.prefab 含 cc.EditBox'); +}); + +test('SpiritType 5 有明确组件映射(非 unknown)', () => { + assert.notEqual(SEMANTICS.spirit_types['5'].component, 'unknown', + 'SpiritType 5 必须反向出组件映射;填入 component 字段。逆向证据:4 个 LeftEdge/TopEdge/RightEdge/BottomEdge 边缘属性 = 9-slice;Login_Layer Spirit159 (370×170, 边缘 100/80/100/80) → YouleNexus Login_Layer.prefab 中唯一 cc.Sprite._type=1 (_contentSize 370×170)'); +}); + +test('spirit-semantics.json 是合法 JSON 含 spirit_types 5 项(Type 0/1/3/4/5 全部已映射)', () => { + assert.equal(Object.keys(SEMANTICS.spirit_types).length, 5); + // 全部 5 项 component 必须非 unknown + for (const [type, entry] of Object.entries(SEMANTICS.spirit_types)) { + assert.notEqual(entry.component, 'unknown', + `SpiritType ${type} 仍有 unknown; 需逆向补 component`); + } +}); From 712206fba0299493dee4ceccd6e4297843072702 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:19:24 +0800 Subject: [PATCH 07/16] =?UTF-8?q?feat(scripts):=20mapSpiritTypeToComponent?= =?UTF-8?q?=20-=20SpiritType=20=E2=86=92=20cc.*=20=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=98=A0=E5=B0=84=EF=BC=88=E8=AF=BB=20spirit-semantics.json?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spirit-to-node.test.mjs | 56 +++++++++++++++++++ .../scripts/legacy-layer-to-cocos-prefab.mjs | 39 +++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-to-node.test.mjs diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-to-node.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-to-node.test.mjs new file mode 100644 index 0000000..a3e261d --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-to-node.test.mjs @@ -0,0 +1,56 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { readFileSync } from 'node:fs'; +import { mapSpiritTypeToComponent } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; + +// 绝对路径 -- tests 从 cocoscreator_projects/ 运行, 相对路径会解析到仓库根, +// 漏掉 cocoscreator_projects/ 段导致 ENOENT (Task 2 fix round 1 Finding 3). +const SEMANTICS = JSON.parse(readFileSync( + 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json', + 'utf8' +)); + +test('type=0 → cc.Sprite', () => { + assert.equal(mapSpiritTypeToComponent('0'), 'cc.Sprite'); +}); + +test('type=1 → cc.Label', () => { + assert.equal(mapSpiritTypeToComponent('1'), 'cc.Label'); +}); + +test('type=3 → cc.ProgressBar', () => { + assert.equal(mapSpiritTypeToComponent('3'), 'cc.ProgressBar'); +}); + +test('type=4 → 已知组件(不能是 unknown)', () => { + // 数据源权威: SpiritType 4 已在 fixtures/spirit-semantics.json 逆向为 cc.EditBox (Task 5). + assert.notEqual(mapSpiritTypeToComponent('4'), 'unknown'); +}); + +test('type=5 → 已知组件(不能是 unknown)', () => { + // 数据源权威: SpiritType 5 已在 fixtures/spirit-semantics.json 逆向为 cc.Sprite (SLICED) (Task 5). + assert.notEqual(mapSpiritTypeToComponent('5'), 'unknown'); +}); + +test('未知 type → throw(不静默兜底)', () => { + // 数据源权威唯一、下游不兜底: 未知 SpiritType 必须显式报错. + assert.throws(() => mapSpiritTypeToComponent('99'), /Unknown SpiritType/); +}); + +test('fixtures 中 component="unknown" 的 type 也必须 throw(safety net for Task 5 未完成时)', () => { + // 若 Task 5 留有 spirit_types[*].component === 'unknown' 的条目, + // mapSpiritTypeToComponent 必须 throw 而非静默返回 'unknown'. + // 当前 fixtures 全部 5 项已逆向完成 (Type 0/1/3/4/5 均有 component), + // 该测试作为 future regression safety net 自动通过. + for (const [type, entry] of Object.entries(SEMANTICS.spirit_types)) { + if (entry.component === 'unknown') { + assert.throws( + () => mapSpiritTypeToComponent(type), + new RegExp(`SpiritType "${type}" component not yet reverse-engineered`) + ); + } + } + // 当前 fixtures 5/5 全部已逆向, 循环不触发 throw, 测试通过. + assert.equal(Object.keys(SEMANTICS.spirit_types).length, 5, + 'fixtures 期望 5 个 SpiritType (0/1/3/4/5) 全部已逆向'); +}); diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs index ba30514..1f6544b 100644 --- a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs @@ -1,6 +1,23 @@ import { readFileSync } from 'node:fs'; +import { dirname, join } from 'node:path'; +import { fileURLToPath } from 'node:url'; import { DOMParser } from '@xmldom/xmldom'; +// SpiritType → cc.* 组件映射表 (数据源). 读取 fixtures/spirit-semantics.json, +// 该文件由 Task 5 (gameabc.min.js 逆向) 维护, 下游不得兜底. +// 路径: scripts/legacy-layer-to-cocos-prefab.mjs → ../framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json +const __dirname = dirname(fileURLToPath(import.meta.url)); +const SEMANTICS_PATH = join( + __dirname, + '../framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json' +); + +let _semantics = null; +function loadSemantics() { + if (!_semantics) _semantics = JSON.parse(readFileSync(SEMANTICS_PATH, 'utf8')); + return _semantics; +} + /** * 读取 Game_Surface_3 风格的 Layer XML (UTF-8 编码), 解析 Layer + Spirit 字段. * @@ -137,3 +154,25 @@ export function buildGroupParents(spirits) { return { groupParents, rootChildSpiritIds }; } + +/** + * 将 SpiritType (XML 中的字符串 "0"-"5") 映射到 Cocos 组件类名. + * + * 数据源权威唯一: 读取 fixtures/spirit-semantics.json (Task 5 逆向产出); + * 下游不兜底 — 未知 type 或 component="unknown" 一律 throw, 不静默返回 fallback. + * + * @param {string} type - SpiritType 字符串 (e.g. "0", "1", "3", "4", "5") + * @returns {string} Cocos 组件类名 (e.g. "cc.Sprite", "cc.Label", "cc.ProgressBar", "cc.EditBox") + * @throws {Error} 未知 SpiritType 或 component 字段为 "unknown" 时抛错 + */ +export function mapSpiritTypeToComponent(type) { + const semantics = loadSemantics(); + const entry = semantics.spirit_types[type]; + if (!entry) { + throw new Error(`Unknown SpiritType "${type}" - not in fixtures/spirit-semantics.json`); + } + if (entry.component === 'unknown') { + throw new Error(`SpiritType "${type}" component not yet reverse-engineered - complete Task 5 (gameabc.min.js 逆向) first`); + } + return entry.component; +} From 2e2a6b0025afb34f14e6906c27fb0136425975d8 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:23:04 +0800 Subject: [PATCH 08/16] =?UTF-8?q?feat(scripts):=20resolveSpriteFrameUuid?= =?UTF-8?q?=20-=20ImgResID=20=E2=86=92=20SpriteFrame=20=E7=9C=9F=20UUID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sprite-uuid-resolver.test.mjs | 21 +++++ .../scripts/legacy-layer-to-cocos-prefab.mjs | 83 ++++++++++++++++++- 2 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/sprite-uuid-resolver.test.mjs diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/sprite-uuid-resolver.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/sprite-uuid-resolver.test.mjs new file mode 100644 index 0000000..7fb87e3 --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/sprite-uuid-resolver.test.mjs @@ -0,0 +1,21 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { resolveSpriteFrameUuid } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; + +// 数据源权威: gameabc_Image.json id=20 -> bmp="00020.png" 位于 atlas-login/, +// 该 .meta 的 subMetas.f9941.uuid 为 e36acab8-e623-4bfb-af05-3c6fd2fddfb4@f9941 +// (SpriteFrame 真 UUID, 含 sub-asset 后缀). + +test('resolveSpriteFrameUuid("20") 返回 atlas-login/00020.png 的 SpriteFrame 真 UUID', () => { + const uuid = resolveSpriteFrameUuid('20'); + assert.equal(uuid, 'e36acab8-e623-4bfb-af05-3c6fd2fddfb4@f9941'); + assert.match(uuid, /@f9941$/, '必须含 SpriteFrame sub-asset 后缀 @f9941'); +}); + +test('未知 imgResId → throw(不静默兜底)', () => { + // 数据源权威唯一、下游不兜底: ImgResID 不在 gameabc_Image.json 时必须显式报错. + assert.throws( + () => resolveSpriteFrameUuid('99999999'), + /ImgResID .* not in gameabc_Image\.json/ + ); +}); diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs index 1f6544b..2a39acb 100644 --- a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs @@ -1,4 +1,4 @@ -import { readFileSync } from 'node:fs'; +import { readFileSync, readdirSync, existsSync, statSync } from 'node:fs'; import { dirname, join } from 'node:path'; import { fileURLToPath } from 'node:url'; import { DOMParser } from '@xmldom/xmldom'; @@ -176,3 +176,84 @@ export function mapSpiritTypeToComponent(type) { } return entry.component; } + +// ImgResID (XML) → SpriteFrame 真 UUID. 数据源: fixtures/gameabc_Image.json + YouleNexus +// `atlas-*` 目录下的 .meta (含 subMetas.f9941.uuid). 下游不兜底: imgResId 不存在 / 对应 +// bmp 不在任何 `atlas-*` 下 / .meta 缺 f9941 → 全部 throw. +const IMAGE_MAP_PATH = join( + __dirname, + '../framework-tests/legacy-layer-migration/fixtures/gameabc_Image.json' +); + +let _imageMap = null; +function loadImageMap() { + if (!_imageMap) _imageMap = JSON.parse(readFileSync(IMAGE_MAP_PATH, 'utf8')); + return _imageMap; +} + +const ATLAS_ROOT = join( + __dirname, + '../YouleNexus/assets/framework/ui' +); + +let _bmpToMetaPath = null; +function loadBmpToMetaPath() { + if (_bmpToMetaPath) return _bmpToMetaPath; + const map = new Map(); + if (existsSync(ATLAS_ROOT)) { + for (const entry of readdirSync(ATLAS_ROOT)) { + if (!entry.startsWith('atlas-')) continue; + const dir = join(ATLAS_ROOT, entry); + if (!statSync(dir).isDirectory()) continue; + for (const file of readdirSync(dir)) { + if (!file.endsWith('.png.meta')) continue; + const bmpName = file.replace(/\.meta$/, ''); + // 同一 bmp 出现在多个 atlas 时, 取首次发现 (字典序); + // YouleNexus 实际数据中无重复, 此为防御性 fallback. + if (!map.has(bmpName)) map.set(bmpName, join(dir, file)); + } + } + } + _bmpToMetaPath = map; + return map; +} + +/** + * 将 XML 中的 ImgResID 字符串解析为 SpriteFrame 真 UUID (含 @f9941 sub-asset 后缀). + * + * 流程: gameabc_Image.json[id].bmp → `atlas-*`/.meta → subMetas.f9941.uuid. + * + * 数据源权威唯一、下游不兜底: + * - imgResId 不在 gameabc_Image.json → throw + * - 对应 bmp 不在任何 `atlas-*` 下 → throw + * - .meta 缺 subMetas.f9941 → throw (说明该资源未走 sprite-frame 导入) + * + * @param {string} imgResId - XML ImgResID 字符串 (如 "20", "21", "25") + * @returns {string} SpriteFrame 真 UUID, 形如 "@f9941" + */ +export function resolveSpriteFrameUuid(imgResId) { + const imageMap = loadImageMap(); + const list = imageMap.ImageFileList; + if (!Array.isArray(list)) { + throw new Error('gameabc_Image.json missing ImageFileList array'); + } + const entry = list.find(e => e && e.id != null && (e.id === Number(imgResId) || String(e.id) === imgResId)); + if (!entry || !entry.bmp) { + const known = list.filter(e => e && e.id != null).slice(0, 5).map(e => e.id).join(', '); + throw new Error(`ImgResID "${imgResId}" not in gameabc_Image.json (known ids sample: ${known}...)`); + } + const bmpName = entry.bmp; + + const bmpToMeta = loadBmpToMetaPath(); + const metaPath = bmpToMeta.get(bmpName); + if (!metaPath) { + throw new Error(`bmp "${bmpName}" (ImgResID ${imgResId}) not found under 'atlas-*' in ${ATLAS_ROOT}`); + } + + const meta = JSON.parse(readFileSync(metaPath, 'utf8')); + const spriteFrame = meta.subMetas && meta.subMetas.f9941; + if (!spriteFrame || !spriteFrame.uuid) { + throw new Error(`${bmpName}.meta missing subMetas.f9941.uuid (importer not sprite-frame?)`); + } + return spriteFrame.uuid; +} From 9742509d32a1c8cb457295bda277489e18ab7a8c Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:28:45 +0800 Subject: [PATCH 09/16] =?UTF-8?q?feat(scripts):=20emitPrefabJson=20-=20?= =?UTF-8?q?=E6=8C=89=20Login=5FLayer.prefab=20schema=20=E8=BE=93=E5=87=BA?= =?UTF-8?q?=20prefab=20JSON?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../prefab-emitter.test.mjs | 51 ++ .../scripts/legacy-layer-to-cocos-prefab.mjs | 444 ++++++++++++++++++ 2 files changed, 495 insertions(+) create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/prefab-emitter.test.mjs diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/prefab-emitter.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/prefab-emitter.test.mjs new file mode 100644 index 0000000..0146810 --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/prefab-emitter.test.mjs @@ -0,0 +1,51 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { emitPrefabJson } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; + +test('emitPrefabJson 输出是 JSON 数组', () => { + const layer = { layerId: '2', layerName: 'Login_Layer', spirits: [] }; + const json = emitPrefabJson(layer); + assert.ok(Array.isArray(json), '输出必须是数组'); + assert.ok(json.length >= 1, '至少含 cc.Prefab 头'); + assert.equal(json[0].__type__, 'cc.Prefab'); + assert.equal(json[0]._name, 'Login_Layer'); +}); + +test('emitPrefabJson 含 CompPrefabInfo 引用块', () => { + const layer = { layerId: '2', layerName: 'Login_Layer', spirits: [] }; + const json = emitPrefabJson(layer); + const compInfo = json.filter(o => o.__type__ === 'cc.CompPrefabInfo'); + assert.ok(compInfo.length > 0, '每个组件应有 CompPrefabInfo 引用块'); +}); + +test('emitPrefabJson 含 PrefabInfo 块', () => { + const layer = { layerId: '2', layerName: 'Login_Layer', spirits: [] }; + const json = emitPrefabJson(layer); + const prefabInfo = json.find(o => o.__type__ === 'cc.PrefabInfo'); + assert.ok(prefabInfo, '必须有 PrefabInfo 块'); + assert.equal(prefabInfo.root.__id__, 1); // 根节点 id=1 + assert.equal(prefabInfo.asset.__id__, 0); +}); + +test('emitPrefabJson 渠道logo _lpos 误差 < 0.001', () => { + // 注: brief 原版用 spirit name='Spirit405' 但断言搜 /渠道/; 实际 fixture 里 id=405 的 spirit + // 坐标 (734, 143, 59, 148) 严格对应 Login_Layer '渠道logo' 节点; 这里 name 用 '渠道logo' + // 与断言一致, 否则 node 找不到。 + const layer = { + layerId: '2', layerName: 'Login_Layer', + spirits: [ + { id: '2', name: '微信登录背景', type: '0', imgResID: '20', + x: '0', y: '0', w: '1280', h: '720', group: '2', indexOfLayer: '1' }, + { id: '405', name: '渠道logo', type: '0', imgResID: '5', + x: '734', y: '143', w: '59', h: '148', group: '2', indexOfLayer: '2' }, + { id: '285', name: '版本显示', type: '1', imgResID: '', + x: '16', y: '9', w: '96', h: '31', group: '2', indexOfLayer: '3' }, + ], + }; + const json = emitPrefabJson(layer); + // Find 渠道logo node + const genLogo = json.find(o => o.__type__ === 'cc.Node' && o._name && o._name.includes('渠道')); + assert.ok(genLogo, '应有渠道logo node'); + assert.ok(Math.abs(genLogo._lpos.x - 123.5) < 0.001, `x expected 123.5 got ${genLogo._lpos.x}`); + assert.ok(Math.abs(genLogo._lpos.y - 143) < 0.001, `y expected 143 got ${genLogo._lpos.y}`); +}); \ No newline at end of file diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs index 2a39acb..18f07a5 100644 --- a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs @@ -257,3 +257,447 @@ export function resolveSpriteFrameUuid(imgResId) { } return spriteFrame.uuid; } + +// ============================================================================ +// emitPrefabJson — Layer → Cocos prefab JSON 数组 (Task 8) +// +// Schema 严格按 fixtures/Login_Layer.prefab (已实测): cc.Prefab 头 + cc.Node 根 + +// group-X 父节点 + 每个 Spirit (Node + UITransform + CompPrefabInfo + 主组件 + +// CompPrefabInfo + Widget + CompPrefabInfo + PrefabInfo) + 末尾 group/root 的 +// UITransform/Widget/PrefabInfo 块. +// +// ID 分配: cc.Prefab 在 array[0] (无 __id__ 字段, 仅 data.__id__=1 引用根); +// 从 array[1] 开始 __id__ = array-index. root=1, group-N=2..K, 然后 spirits +// 按 group-then-IndexOfLayer 顺序, 每个 spirit 占 8 个 id (1 Node + 1 UIT + +// 1 CompInfo + 1 主组件 + 1 CompInfo + 1 Widget + 1 CompInfo + 1 PrefabInfo). +// group-N 的 UIT/Widget/PrefabInfo 排在所有 spirits 之后, root 的排在最后. +// +// 设计分辨率: 1600×720 (YouleNexus project.json), 与 Login_Layer.prefab 中 +// group/root UITransform._contentSize 一致. +// ============================================================================ + +const DESIGN_WIDTH = 1600; +const DESIGN_HEIGHT = 720; + +function randomFileId() { + const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; + let id = ''; + for (let i = 0; i < 22; i++) { + id += chars[Math.floor(Math.random() * chars.length)]; + } + return id; +} + +function makeNode(name, parentRef) { + return { + __type__: 'cc.Node', + _name: name, + _objFlags: 0, + __editorExtras__: {}, + _parent: parentRef, + _children: [], + _active: true, + _components: [], + _prefab: null, + _lpos: { __type__: 'cc.Vec3', x: 0, y: 0, z: 0 }, + _lrot: { __type__: 'cc.Quat', x: 0, y: 0, z: 0, w: 1 }, + _lscale: { __type__: 'cc.Vec3', x: 1, y: 1, z: 1 }, + _mobility: 0, + _layer: 1073741824, + _euler: { __type__: 'cc.Vec3', x: 0, y: 0, z: 0 }, + _id: '', + }; +} + +function makeCompPrefabInfo() { + return { + __type__: 'cc.CompPrefabInfo', + fileId: randomFileId(), + }; +} + +function makePrefabInfo() { + return { + __type__: 'cc.PrefabInfo', + root: { __id__: 1 }, + asset: { __id__: 0 }, + fileId: randomFileId(), + instance: null, + targetOverrides: null, + nestedPrefabInstanceRoots: null, + }; +} + +function makeUiTransform(nodeId, compPrefabId, width, height) { + return { + __type__: 'cc.UITransform', + _name: '', + _objFlags: 0, + __editorExtras__: {}, + node: { __id__: nodeId }, + _enabled: true, + __prefab: { __id__: compPrefabId }, + _contentSize: { __type__: 'cc.Size', width, height }, + _anchorPoint: { __type__: 'cc.Vec2', x: 0.5, y: 0.5 }, + _id: '', + }; +} + +function makeWidget(nodeId, compPrefabId) { + return { + __type__: 'cc.Widget', + _name: '', + _objFlags: 0, + __editorExtras__: {}, + node: { __id__: nodeId }, + _enabled: true, + __prefab: { __id__: compPrefabId }, + _alignFlags: 45, + _target: null, + _left: 0, _right: 0, _top: 0, _bottom: 0, + _horizontalCenter: 0, _verticalCenter: 0, + _isAbsLeft: true, _isAbsRight: true, _isAbsTop: true, _isAbsBottom: true, + _isAbsHorizontalCenter: true, _isAbsVerticalCenter: true, + _originalWidth: 0, _originalHeight: 0, + _alignMode: 2, + _lockFlags: 0, + _id: '', + }; +} + +function makeSprite(nodeId, compPrefabId, spriteFrameUuid, type = 0) { + return { + __type__: 'cc.Sprite', + _name: '', + _objFlags: 0, + __editorExtras__: {}, + node: { __id__: nodeId }, + _enabled: true, + __prefab: { __id__: compPrefabId }, + _customMaterial: null, + _srcBlendFactor: 2, + _dstBlendFactor: 4, + _color: { __type__: 'cc.Color', r: 255, g: 255, b: 255, a: 255 }, + _spriteFrame: spriteFrameUuid + ? { __uuid__: spriteFrameUuid, __expectedType__: 'cc.SpriteFrame' } + : null, + _type: type, // 0=SIMPLE, 1=SLICED, 2=TILED, 3=FILLED + _fillType: 0, + _sizeMode: 0, + _fillCenter: { __type__: 'cc.Vec2', x: 0, y: 0 }, + _fillStart: 0, + _fillRange: 0, + _isTrimmedMode: true, + _useGrayscale: false, + _atlas: null, + _id: '', + }; +} + +function makeLabel(nodeId, compPrefabId, text) { + return { + __type__: 'cc.Label', + _name: '', + _objFlags: 0, + __editorExtras__: {}, + node: { __id__: nodeId }, + _enabled: true, + __prefab: { __id__: compPrefabId }, + _customMaterial: null, + _srcBlendFactor: 2, + _dstBlendFactor: 4, + _color: { __type__: 'cc.Color', r: 255, g: 255, b: 255, a: 255 }, + _string: text || '', + _horizontalAlign: 1, + _verticalAlign: 1, + _actualFontSize: 40, + _fontSize: 40, + _fontFamily: 'Arial', + _lineHeight: 40, + _overflow: 0, + _enableWrapText: true, + _font: null, + _isSystemFontUsed: true, + _spacingX: 0, + _isItalic: false, _isBold: false, _isUnderline: false, + _underlineHeight: 2, + _cacheMode: 0, + _enableOutline: false, + _outlineColor: { __type__: 'cc.Color', r: 0, g: 0, b: 0, a: 255 }, + _outlineWidth: 2, + _enableShadow: false, + _shadowColor: { __type__: 'cc.Color', r: 0, g: 0, b: 0, a: 255 }, + _shadowOffset: { __type__: 'cc.Vec2', x: 2, y: 2 }, + _shadowBlur: 2, + _id: '', + }; +} + +function makeProgressBar(nodeId, compPrefabId, spriteFrameUuid) { + // cc.ProgressBar 简化 schema — 真实 fixtures 中 Layer 含 type=3 spirit 但 + // Login_Layer.prefab fixture 无 ProgressBar 节点. 字段尽量按 Cocos 3.8 实际 schema 写, + // 缺资源时降级为 null (非 unknown; 数据源权威缺失由调用方上游补). + return { + __type__: 'cc.ProgressBar', + _name: '', + _objFlags: 0, + __editorExtras__: {}, + node: { __id__: nodeId }, + _enabled: true, + __prefab: { __id__: compPrefabId }, + _customMaterial: null, + _srcBlendFactor: 2, + _dstBlendFactor: 4, + _color: { __type__: 'cc.Color', r: 255, g: 255, b: 255, a: 255 }, + _spriteFrame: spriteFrameUuid + ? { __uuid__: spriteFrameUuid, __expectedType__: 'cc.SpriteFrame' } + : null, + _type: 0, + _reverse: false, + _totalLength: 100, + _progress: 0, + _barSprite: null, + _mode: 0, + _id: '', + }; +} + +function makeEditBox(nodeId, compPrefabId, spriteFrameUuid, text) { + // cc.EditBox 简化 schema — 同上, fixture 无 EditBox 节点, 字段按 Cocos 3.8 实际 schema. + return { + __type__: 'cc.EditBox', + _name: '', + _objFlags: 0, + __editorExtras__: {}, + node: { __id__: nodeId }, + _enabled: true, + __prefab: { __id__: compPrefabId }, + _customMaterial: null, + _srcBlendFactor: 2, + _dstBlendFactor: 4, + _color: { __type__: 'cc.Color', r: 255, g: 255, b: 255, a: 255 }, + _string: text || '', + _placeholder: '', + _placeholderColor: { __type__: 'cc.Color', r: 127, g: 127, b: 127, a: 255 }, + _maxLength: 20, + _inputMode: 0, + _inputFlag: 0, + _returnType: 0, + _backgroundImage: spriteFrameUuid + ? { __uuid__: spriteFrameUuid, __expectedType__: 'cc.SpriteFrame' } + : null, + _fontColor: { __type__: 'cc.Color', r: 255, g: 255, b: 255, a: 255 }, + _fontSize: 20, + _lineHeight: 40, + _fontFamily: 'Arial', + _isSystemFontUsed: true, + _tabIndex: 0, + _editingDidBegin: null, + _textChanged: null, + _editingDidEnded: null, + _editingReturn: null, + _stayOnTop: false, + _id: '', + }; +} + +/** + * 将 parsed Layer 对象转为 Cocos prefab JSON 数组, schema 严格按 + * fixtures/Login_Layer.prefab. + * + * 字段需求 (数据源权威唯一): + * layer.layerName — 必有; cc.Prefab._name / 根节点._name + * layer.spirits[*].id — 必有; spirit 唯一标识 + * layer.spirits[*].name — 必有; 节点._name + * layer.spirits[*].type — 必有; 走 mapSpiritTypeToComponent (未知 throw) + * layer.spirits[*].x/y/w/h — 必有; 走 computeLpos + computeContentSize + * layer.spirits[*].group/indexOfLayer — 必有; 走 buildGroupParents + * layer.spirits[*].imgResID — Sprite (type=0/5) 必有; 走 resolveSpriteFrameUuid + * + * ID 分配策略 (与 Login_Layer.prefab 1:1 对齐): + * - cc.Prefab 在 array[0], 无 __id__ (data.__id__=1 引用根) + * - 数组下标 i ≥ 1 的对象 __id__ = i + * - 根节点 = array[1] (id=1) + * - group-X 父节点顺序: 按 group ID 升序排, 紧随根节点 (id=2..K) + * - Spirit 顺序: 按 group 升序, group 内按 IndexOfLayer 升序 + * 每个 spirit 占 8 个 id: Node UIT CompInfo 主组件 CompInfo Widget CompInfo PrefabInfo + * - group 末尾追加: group-X 的 UIT CompInfo Widget CompInfo PrefabInfo (5 id) + * - root 末尾追加: root 的 UIT CompInfo Widget CompInfo PrefabInfo (5 id) + * + * @param {{ layerId?: string, layerName: string, spirits: Array<{ id: string, name: string, type: string, imgResID: string, x: string, y: string, w: string, h: string, group: string, indexOfLayer: string }> }} layer + * @returns {Array} Cocos prefab JSON 数组 + */ +export function emitPrefabJson(layer) { + if (!layer || !layer.layerName) { + throw new Error('emitPrefabJson: layer.layerName is required'); + } + if (!Array.isArray(layer.spirits)) { + throw new Error('emitPrefabJson: layer.spirits must be an array'); + } + + const out = []; + + // ── 1. cc.Prefab 头 ───────────────────────────────────────────── + out.push({ + __type__: 'cc.Prefab', + _name: layer.layerName, + _objFlags: 0, + __editorExtras__: {}, + _native: '', + data: { __id__: 1 }, // 根节点 id + optimizationPolicy: 0, + persistent: false, + }); + + // ── 2. 根节点 cc.Node (id=1) ──────────────────────────────────── + const rootNode = makeNode(layer.layerName, null); + out.push(rootNode); + const rootId = out.length - 1; // =1 + + // ── 3. group-X 父节点 ────────────────────────────────────────── + const { groupParents, rootChildSpiritIds } = buildGroupParents(layer.spirits); + const spiritById = new Map(layer.spirits.map(s => [s.id, s])); + + const groupInfo = []; // [{ group, node, nodeId }] + for (const g of groupParents) { + const node = makeNode(g.name, { __id__: rootId }); + out.push(node); + groupInfo.push({ group: g, node, nodeId: out.length - 1 }); + } + + // ── 4. Spirit 子节点 + 组件 ──────────────────────────────────── + const spiritInfo = new Map(); // spiritId → { node, nodeId, prefabInfoId } + + for (const gi of groupInfo) { + for (const spiritId of gi.group.childSpiritIds) { + const spirit = spiritById.get(spiritId); + if (!spirit) { + throw new Error(`emitPrefabJson: spirit id ${spiritId} referenced by ${gi.group.name} but not found in layer.spirits`); + } + const info = buildSpiritBlock(spirit, { __id__: gi.nodeId }, out); + spiritInfo.set(spiritId, info); + gi.node._children.push({ __id__: info.nodeId }); + } + } + + for (const spiritId of rootChildSpiritIds) { + const spirit = spiritById.get(spiritId); + if (!spirit) { + throw new Error(`emitPrefabJson: root child spirit id ${spiritId} not found in layer.spirits`); + } + const info = buildSpiritBlock(spirit, { __id__: rootId }, out); + spiritInfo.set(spiritId, info); + rootNode._children.push({ __id__: info.nodeId }); + } + + // ── 5. group-X 末尾 UITransform + Widget + PrefabInfo ────────── + for (const gi of groupInfo) { + appendNodeEnvelope(gi.node, gi.nodeId, out); + } + + // ── 6. 根节点末尾 UITransform + Widget + PrefabInfo ─────────── + appendNodeEnvelope(rootNode, rootId, out); + + return out; +} + +/** + * 构造单个 Spirit 的所有对象 (Node + UITransform + CompPrefabInfo + 主组件 + + * CompPrefabInfo + Widget + CompPrefabInfo + PrefabInfo), 按 schema 顺序 push + * 到 out 数组, 返回关键 id 供外层 wiring. + */ +function buildSpiritBlock(spirit, parentRef, out) { + const lpos = computeLpos(spirit); + const size = computeContentSize(spirit); + const componentName = mapSpiritTypeToComponent(spirit.type); + + // 1. cc.Node (主组件 id=K+0) + const node = makeNode(spirit.name, parentRef); + node._lpos = { __type__: 'cc.Vec3', x: lpos.x, y: lpos.y, z: lpos.z }; + out.push(node); + const nodeId = out.length - 1; + + // 2. cc.UITransform (K+1) + const uiCompInfo = makeCompPrefabInfo(); + out.push(uiCompInfo); + const uiCompInfoId = out.length - 1; + const uiTransform = makeUiTransform(nodeId, uiCompInfoId, size.width, size.height); + out.push(uiTransform); + const uiId = out.length - 1; + + // 3. 主组件 (K+3) — CompPrefabInfo 先 push (K+2), 主组件 __prefab → 该 CompPrefabInfo + const mainCompInfo = makeCompPrefabInfo(); + out.push(mainCompInfo); + const mainCompInfoId = out.length - 1; + + const spriteFrameUuid = (spirit.type === '0' || spirit.type === '3' || spirit.type === '5') + ? resolveSpriteFrameUuid(spirit.imgResID) + : null; + + let mainComp; + if (componentName === 'cc.Sprite') { + const spriteType = spirit.type === '5' ? 1 : 0; // 5=SLICED, else SIMPLE + mainComp = makeSprite(nodeId, mainCompInfoId, spriteFrameUuid, spriteType); + } else if (componentName === 'cc.Label') { + mainComp = makeLabel(nodeId, mainCompInfoId, spirit.name); + } else if (componentName === 'cc.ProgressBar') { + mainComp = makeProgressBar(nodeId, mainCompInfoId, spriteFrameUuid); + } else if (componentName === 'cc.EditBox') { + mainComp = makeEditBox(nodeId, mainCompInfoId, spriteFrameUuid, spirit.name); + } else { + // 数据源权威唯一: mapSpiritTypeToComponent 已 throw "unknown" 情况, 此处兜底是 + // 防御性 — 若新增组件类型但未在 makeXxx 注册, 显式报错暴露. + throw new Error(`emitPrefabJson: component "${componentName}" not yet supported by emitPrefabJson — add makeXxx helper for SpiritType ${spirit.type}`); + } + out.push(mainComp); + const mainCompId = out.length - 1; + + // 4. cc.Widget (K+5) — CompPrefabInfo 先 push (K+4) + const widgetCompInfo = makeCompPrefabInfo(); + out.push(widgetCompInfo); + const widgetCompInfoId = out.length - 1; + const widget = makeWidget(nodeId, widgetCompInfoId); + out.push(widget); + const widgetId = out.length - 1; + + // 5. cc.PrefabInfo (K+7) — Node 的 _prefab 指向这里 + const prefabInfo = makePrefabInfo(); + out.push(prefabInfo); + const prefabInfoId = out.length - 1; + + // ── Wire up Node ──────────────────────────────────────────── + node._components.push({ __id__: uiId }, { __id__: mainCompId }, { __id__: widgetId }); + node._prefab = { __id__: prefabInfoId }; + + return { node, nodeId, prefabInfoId }; +} + +/** + * 给非 Spirit 节点 (root / group-X) 追加末尾的 UITransform + Widget + PrefabInfo + * 块, 并把 node._components / node._prefab 补齐. + */ +function appendNodeEnvelope(node, nodeId, out) { + // 1. UITransform + CompPrefabInfo + const uiCompInfo = makeCompPrefabInfo(); + out.push(uiCompInfo); + const uiCompInfoId = out.length - 1; + const uiTransform = makeUiTransform(nodeId, uiCompInfoId, DESIGN_WIDTH, DESIGN_HEIGHT); + out.push(uiTransform); + const uiId = out.length - 1; + + // 2. Widget + CompPrefabInfo + const widgetCompInfo = makeCompPrefabInfo(); + out.push(widgetCompInfo); + const widgetCompInfoId = out.length - 1; + const widget = makeWidget(nodeId, widgetCompInfoId); + out.push(widget); + const widgetId = out.length - 1; + + // 3. PrefabInfo + const prefabInfo = makePrefabInfo(); + out.push(prefabInfo); + const prefabInfoId = out.length - 1; + + node._components.push({ __id__: uiId }, { __id__: widgetId }); + node._prefab = { __id__: prefabInfoId }; +} From ba5aec9bcab4adfa7a5670984496746ae1802f78 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:30:34 +0800 Subject: [PATCH 10/16] =?UTF-8?q?feat(scripts):=20PoC=20=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=201=20-=20CLI=20+=20Layer00619=20BackHall=20=E7=AB=AF=E5=88=B0?= =?UTF-8?q?=E7=AB=AF=E8=B7=91=E9=80=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - scripts/legacy-layer-to-cocos-prefab-cli.mjs (CLI 入口: [] ) - framework-tests/legacy-layer-migration/poc-iconbutton.test.mjs (1 个 node:test 端到端校验 cc.Prefab 头 + group-55 父节点) - YouleNexus/out/legacy-migration/BackHall_Layer.prefab (生成产物, 437 lines) - YouleNexus/out/legacy-migration/BackHall_Layer.prefab.diff (vs YouleNexus Layer619_BackOtherGame.prefab, 1244 lines) 累计: 30/30 PASS (29 prior + 1 PoC). Layer00619 (1 Spirit, type=3 ProgressBar, group=55) 是最简 PoC, diff 大是预期 (脚本首个端到端输出 vs 手写 prefab 必然差异大). Co-Authored-By: Claude Code --- .../legacy-migration/BackHall_Layer.prefab | 438 ++++++ .../BackHall_Layer.prefab.diff | 1244 +++++++++++++++++ .../poc-iconbutton.test.mjs | 31 + .../legacy-layer-to-cocos-prefab-cli.mjs | 35 + 4 files changed, 1748 insertions(+) create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab.diff create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/poc-iconbutton.test.mjs create mode 100644 cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab-cli.mjs diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab new file mode 100644 index 0000000..47920bb --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab @@ -0,0 +1,438 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "BackHall_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "BackHall_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 17 + }, + { + "__id__": 19 + } + ], + "_prefab": { + "__id__": 20 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-55", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + } + ], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 14 + } + ], + "_prefab": { + "__id__": 15 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Spirit465", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 569.5, + "y": 168.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Pda866NWkdQmjRO6KXJuOY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 91, + "height": 91 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "X9Ol3V2LBqVbnRM6MhOLyz" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8e3905be-b629-4c4d-858b-b8a76e9f7752@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_reverse": false, + "_totalLength": 100, + "_progress": 0, + "_barSprite": null, + "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "J3KwtsMdpurmWVjh9Eh7Kp" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "chxWR5DPKUVCzLlo5XGVvA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "MDZAGEVNBDRyYrq4pKFhLE" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "jJHgeXr4FQEWQO4XIzOOHh" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "slVD8fJQaBPa4l52pf5IXq", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ZxNiZBkby9tj7SSbfpOQmU" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "h4SYJyuqRHeM6Xiu5UirLi" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ur25Y7TU0TKvsIbemih80X", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab.diff new file mode 100644 index 0000000..57d1bce --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab.diff @@ -0,0 +1,1244 @@ +--- YouleNexus/assets/framework/ui/prefabs/widgets/Layer619_BackOtherGame.prefab 2026-09-01 01:34:18.571553100 +0800 ++++ YouleNexus\out\legacy-migration\BackHall_Layer.prefab 2026-09-02 08:30:19.504409200 +0800 +@@ -1,7 +1,7 @@ + [ + { + "__type__": "cc.Prefab", +- "_name": "Layer619_BackOtherGame", ++ "_name": "BackHall_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", +@@ -13,197 +13,35 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Layer619_BackOtherGame", ++ "_name": "BackHall_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, +- "_children": [ +- { +- "__id__": 2 +- }, +- { +- "__id__": 3 +- }, +- { +- "__id__": 4 +- }, +- { +- "__id__": 5 +- }, +- { +- "__id__": 6 +- } +- ], +- "_active": true, +- "_components": [ +- { +- "__id__": 50 +- } +- ], +- "_prefab": { +- "__id__": 52 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.Node", +- "_name": "Bg", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 1 +- }, + "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 7 ++ "__id__": 17 + }, + { +- "__id__": 9 +- }, +- { +- "__id__": 11 +- } +- ], +- "_prefab": { +- "__id__": 13 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.Node", +- "_name": "Title", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 1 +- }, +- "_children": [], +- "_active": true, +- "_components": [ +- { +- "__id__": 14 +- }, +- { +- "__id__": 16 ++ "__id__": 19 + } + ], + "_prefab": { +- "__id__": 18 ++ "__id__": 20 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "0", +- "y": "100", +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0 + }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.Node", +- "_name": "Msg", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 1 +- }, +- "_children": [], +- "_active": true, +- "_components": [ +- { +- "__id__": 19 +- }, +- { +- "__id__": 21 +- } +- ], +- "_prefab": { +- "__id__": 23 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", +- "z": 0 +- }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -223,7 +61,7 @@ + }, + { + "__type__": "cc.Node", +- "_name": "CancelBtn", ++ "_name": "group-55", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +@@ -231,35 +69,33 @@ + }, + "_children": [ + { +- "__id__": 24 ++ "__id__": 3 + } + ], + "_active": true, + "_components": [ + { +- "__id__": 30 ++ "__id__": 12 + }, + { +- "__id__": 32 +- }, +- { +- "__id__": 34 ++ "__id__": 14 + } + ], + "_prefab": { +- "__id__": 36 ++ "__id__": 15 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "-100", +- "y": "-100", ++ "x": 0, ++ "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -279,43 +115,40 @@ + }, + { + "__type__": "cc.Node", +- "_name": "ConfirmBtn", ++ "_name": "Spirit465", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +- "__id__": 1 ++ "__id__": 2 + }, +- "_children": [ +- { +- "__id__": 37 +- } +- ], ++ "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 43 ++ "__id__": 5 + }, + { +- "__id__": 45 ++ "__id__": 7 + }, + { +- "__id__": 47 ++ "__id__": 9 + } + ], + "_prefab": { +- "__id__": 49 ++ "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "100", +- "y": "-100", ++ "x": 569.5, ++ "y": 168.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -334,21 +167,25 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "Pda866NWkdQmjRO6KXJuOY" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 8 ++ "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 40, +- "height": 36 ++ "width": 91, ++ "height": 91 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -359,23 +196,19 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "Nz93+bSWC6Lz1cqasxtq7T" ++ "fileId": "X9Ol3V2LBqVbnRM6MhOLyz" + }, + { +- "__type__": "cc.Sprite", ++ "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 10 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" ++ "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -387,88 +220,24 @@ + "b": 255, + "a": 255 + }, +- "_type": 1, +- "_fillType": 0, +- "_sizeMode": 0, +- "_fillCenter": { +- "__type__": "cc.Vec2", +- "x": 0, +- "y": 0 +- }, +- "_fillStart": 0, +- "_fillRange": 0, +- "_isTrimmedMode": true, +- "_useGrayscale": false, +- "_atlas": null, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "q9OK1cuuLhMXsCknGd2+xM" +- }, +- { +- "__type__": "cc.UIOpacity", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 2 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 12 +- }, +- "opacity": 240, +- "_opacity": 240, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "V9oQSGNqSekPZPOF/aO8ma" +- }, +- { +- "__type__": "cc.PrefabInfo", +- "root": { +- "__id__": 1 +- }, +- "asset": { +- "__id__": 0 +- }, +- "fileId": "9fmZiPLftG1ox2xnFugHsr", +- "instance": null, +- "targetOverrides": null, +- "nestedPrefabInstanceRoots": null +- }, +- { +- "__type__": "cc.UITransform", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 3 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 15 +- }, +- "_contentSize": { +- "__type__": "cc.Size", +- "width": 240, +- "height": 50.4 +- }, +- "_anchorPoint": { +- "__type__": "cc.Vec2", +- "x": 0.5, +- "y": 0.5 ++ "_spriteFrame": { ++ "__uuid__": "8e3905be-b629-4c4d-858b-b8a76e9f7752@f9941", ++ "__expectedType__": "cc.SpriteFrame" + }, ++ "_type": 0, ++ "_reverse": false, ++ "_totalLength": 100, ++ "_progress": 0, ++ "_barSprite": null, ++ "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "qSYnT1cR5lVp3mlhpxSvWC" ++ "fileId": "J3KwtsMdpurmWVjh9Eh7Kp" + }, + { +- "__type__": "cc.Label", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, +@@ -477,32 +246,29 @@ + }, + "_enabled": true, + "__prefab": { +- "__id__": 17 ++ "__id__": 8 + }, +- "_string": "跳转其他游戏", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "dLQQuvzROW1P+Bbfpuxp84" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -510,135 +276,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "42TmR4jo5Ku4x5qSH0hBQE", ++ "fileId": "chxWR5DPKUVCzLlo5XGVvA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { +- "__type__": "cc.UITransform", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 4 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 20 +- }, +- "_contentSize": { +- "__type__": "cc.Size", +- "width": 342.24609375, +- "height": 50.4 +- }, +- "_anchorPoint": { +- "__type__": "cc.Vec2", +- "x": 0.5, +- "y": 0.5 +- }, +- "_id": "" +- }, +- { + "__type__": "cc.CompPrefabInfo", +- "fileId": "lViSWbkhQW7FrNEgPb91+e" +- }, +- { +- "__type__": "cc.Label", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 4 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 22 +- }, +- "_string": "是否跳转到斗地主?", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "RnzRjzthsZF1LCHo/+d/2E" +- }, +- { +- "__type__": "cc.PrefabInfo", +- "root": { +- "__id__": 1 +- }, +- "asset": { +- "__id__": 0 +- }, +- "fileId": "87NBk+zwxKwp9zZJe1eW4a", +- "instance": null, +- "targetOverrides": null, +- "nestedPrefabInstanceRoots": null +- }, +- { +- "__type__": "cc.Node", +- "_name": "Label", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 5 +- }, +- "_children": [], +- "_active": true, +- "_components": [ +- { +- "__id__": 25 +- }, +- { +- "__id__": 27 +- } +- ], +- "_prefab": { +- "__id__": 29 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_id": "" ++ "fileId": "MDZAGEVNBDRyYrq4pKFhLE" + }, + { + "__type__": "cc.UITransform", +@@ -646,16 +291,16 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 24 ++ "__id__": 2 + }, + "_enabled": true, + "__prefab": { +- "__id__": 26 ++ "__id__": 11 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 80, +- "height": 50.4 ++ "width": 1600, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -666,44 +311,41 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "EdM76YkHb7wqTyQDtqhCSO" ++ "fileId": "jJHgeXr4FQEWQO4XIzOOHh" + }, + { +- "__type__": "cc.Label", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 24 ++ "__id__": 2 + }, + "_enabled": true, + "__prefab": { +- "__id__": 28 ++ "__id__": 13 + }, +- "_string": "取消", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "iQb2S/akTFrCWx6eMOhEZu" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -711,203 +353,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "6aSLwJjdJNo4N5tus4cWOO", ++ "fileId": "slVD8fJQaBPa4l52pf5IXq", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { +- "__type__": "cc.UITransform", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 5 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 31 +- }, +- "_contentSize": { +- "__type__": "cc.Size", +- "width": 40, +- "height": 36 +- }, +- "_anchorPoint": { +- "__type__": "cc.Vec2", +- "x": 0.5, +- "y": 0.5 +- }, +- "_id": "" +- }, +- { + "__type__": "cc.CompPrefabInfo", +- "fileId": "4LJiTnsexa+c9Ug9YBpGln" +- }, +- { +- "__type__": "cc.Sprite", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 5 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 33 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" +- }, +- "_customMaterial": null, +- "_srcBlendFactor": 2, +- "_dstBlendFactor": 4, +- "_color": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 +- }, +- "_type": 1, +- "_fillType": 0, +- "_sizeMode": 0, +- "_fillCenter": { +- "__type__": "cc.Vec2", +- "x": 0, +- "y": 0 +- }, +- "_fillStart": 0, +- "_fillRange": 0, +- "_isTrimmedMode": true, +- "_useGrayscale": false, +- "_atlas": null, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "cuT2peV+ddq3jcNzZoVx5l" +- }, +- { +- "__type__": "cc.Button", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 5 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 35 +- }, +- "_interactable": true, +- "_transition": 3, +- "_normalColor": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 +- }, +- "_hoverColor": { +- "__type__": "cc.Color", +- "r": 211, +- "g": 211, +- "b": 211, +- "a": 255 +- }, +- "_pressedColor": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 +- }, +- "_disabledColor": { +- "__type__": "cc.Color", +- "r": 124, +- "g": 124, +- "b": 124, +- "a": 255 +- }, +- "_normalSprite": null, +- "_hoverSprite": null, +- "_pressedSprite": null, +- "_disabledSprite": null, +- "_duration": 0.1, +- "_zoomScale": 1.2, +- "_target": { +- "__id__": 5 +- }, +- "_clickEvents": [], +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "GjyQ1977vXrxfVCYBsd9uX" +- }, +- { +- "__type__": "cc.PrefabInfo", +- "root": { +- "__id__": 1 +- }, +- "asset": { +- "__id__": 0 +- }, +- "fileId": "02BPPmoD9Fr4wUYbbjfCpL", +- "instance": null, +- "targetOverrides": null, +- "nestedPrefabInstanceRoots": null +- }, +- { +- "__type__": "cc.Node", +- "_name": "Label", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 6 +- }, +- "_children": [], +- "_active": true, +- "_components": [ +- { +- "__id__": 38 +- }, +- { +- "__id__": 40 +- } +- ], +- "_prefab": { +- "__id__": 42 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_id": "" ++ "fileId": "ZxNiZBkby9tj7SSbfpOQmU" + }, + { + "__type__": "cc.UITransform", +@@ -915,92 +368,16 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 37 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 39 +- }, +- "_contentSize": { +- "__type__": "cc.Size", +- "width": 80, +- "height": 50.4 +- }, +- "_anchorPoint": { +- "__type__": "cc.Vec2", +- "x": 0.5, +- "y": 0.5 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "gB0bJUZxLG984BYtCpBwft" +- }, +- { +- "__type__": "cc.Label", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 37 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 41 +- }, +- "_string": "确认", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "PeVcK0N3Bfg/1JYVvSj2xK" +- }, +- { +- "__type__": "cc.PrefabInfo", +- "root": { + "__id__": 1 + }, +- "asset": { +- "__id__": 0 +- }, +- "fileId": "e5UICqWq5MG63eNgf9M0LM", +- "instance": null, +- "targetOverrides": null, +- "nestedPrefabInstanceRoots": null +- }, +- { +- "__type__": "cc.UITransform", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 6 +- }, + "_enabled": true, + "__prefab": { +- "__id__": 44 ++ "__id__": 16 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 40, +- "height": 36 ++ "width": 1600, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -1011,126 +388,10 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "AGB0G5BF1YyiNtQeJAcurv" +- }, +- { +- "__type__": "cc.Sprite", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 6 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 46 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" +- }, +- "_customMaterial": null, +- "_srcBlendFactor": 2, +- "_dstBlendFactor": 4, +- "_color": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 +- }, +- "_type": 1, +- "_fillType": 0, +- "_sizeMode": 0, +- "_fillCenter": { +- "__type__": "cc.Vec2", +- "x": 0, +- "y": 0 +- }, +- "_fillStart": 0, +- "_fillRange": 0, +- "_isTrimmedMode": true, +- "_useGrayscale": false, +- "_atlas": null, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "h37wdN+UgnU17SY2M12hdW" ++ "fileId": "h4SYJyuqRHeM6Xiu5UirLi" + }, + { +- "__type__": "cc.Button", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 6 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 48 +- }, +- "_interactable": true, +- "_transition": 3, +- "_normalColor": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 +- }, +- "_hoverColor": { +- "__type__": "cc.Color", +- "r": 211, +- "g": 211, +- "b": 211, +- "a": 255 +- }, +- "_pressedColor": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 +- }, +- "_disabledColor": { +- "__type__": "cc.Color", +- "r": 124, +- "g": 124, +- "b": 124, +- "a": 255 +- }, +- "_normalSprite": null, +- "_hoverSprite": null, +- "_pressedSprite": null, +- "_disabledSprite": null, +- "_duration": 0.1, +- "_zoomScale": 1.2, +- "_target": { +- "__id__": 6 +- }, +- "_clickEvents": [], +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "qkYAj5XtAah2Twd5tNwukq" +- }, +- { +- "__type__": "cc.PrefabInfo", +- "root": { +- "__id__": 1 +- }, +- "asset": { +- "__id__": 0 +- }, +- "fileId": "86gB+1/JZBZqIdKZQ/I8Uz", +- "instance": null, +- "targetOverrides": null, +- "nestedPrefabInstanceRoots": null +- }, +- { +- "__type__": "cc.UITransform", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, +@@ -1139,25 +400,29 @@ + }, + "_enabled": true, + "__prefab": { +- "__id__": 51 +- }, +- "_contentSize": { +- "__type__": "cc.Size", +- "width": 100, +- "height": 100 +- }, +- "_anchorPoint": { +- "__type__": "cc.Vec2", +- "x": 0.5, +- "y": 0.5 ++ "__id__": 18 + }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "682C+Q+mq4CTh29JveS645" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -1165,7 +430,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "a0XVVb+sJBzKcACQDAyw8u", ++ "fileId": "ur25Y7TU0TKvsIbemih80X", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-iconbutton.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-iconbutton.test.mjs new file mode 100644 index 0000000..2af0c8b --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-iconbutton.test.mjs @@ -0,0 +1,31 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { execSync } from 'node:child_process'; +import { existsSync, readFileSync } from 'node:fs'; + +// PoC 阶段 1 端到端: Layer00619 BackHall_Layer (1 Spirit, type=3 ProgressBar) → +// prefab JSON + (diff, if any) → 关键字段校验. +// +// 注: 原 brief 建议 IconButton, 但 IconButton 无对应 Layer; spec 改用 BackHall_Layer +// 作为最简 1-Spirit PoC. Target YouleNexus prefab 不存在时 CLI 仅生成 prefab, 不报错. +// +// 路径从 cocoscreator_projects/ 运行 (与其他 legacy-layer-migration 测试一致). +const CLI = 'node scripts/legacy-layer-to-cocos-prefab-cli.mjs'; +const INPUT = '../projects/Game_Surface_3/save/Layer00619.xml'; +const TARGET = 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer619_BackOtherGame.prefab'; +const OUTPUT_DIR = 'YouleNexus/out/legacy-migration/'; +const OUTPUT = 'YouleNexus/out/legacy-migration/BackHall_Layer.prefab'; + +test('Layer00619 端到端生成 + 校验关键字段', () => { + execSync(`${CLI} ${INPUT} ${TARGET} ${OUTPUT_DIR}`, { stdio: 'pipe' }); + + assert.ok(existsSync(OUTPUT), `${OUTPUT} 应生成`); + const json = JSON.parse(readFileSync(OUTPUT, 'utf8')); + assert.ok(Array.isArray(json)); + assert.equal(json[0].__type__, 'cc.Prefab'); + assert.equal(json[0]._name, 'BackHall_Layer'); + + // 校验含 group-55 父节点 (BackHall_Layer.xml Spirit BelongGroupID=55). + const groupNode = json.find(o => o.__type__ === 'cc.Node' && o._name === 'group-55'); + assert.ok(groupNode, '应有 group-55 父节点'); +}); \ No newline at end of file diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab-cli.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab-cli.mjs new file mode 100644 index 0000000..c1e9757 --- /dev/null +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab-cli.mjs @@ -0,0 +1,35 @@ +#!/usr/bin/env node +// CLI 入口: Layer XML → Cocos prefab JSON (+ 对比 diff, 如提供 YouleNexus 现存 prefab). +// +// 用法: node legacy-layer-to-cocos-prefab-cli.mjs [] +// +// 设计要点 (Task 9 brief): +// - 只输出到隔离目录 (out/legacy-migration/), 不直接覆盖 YouleNexus 现有 prefab. +// - 必填参数: inputXml + outputDir; youlePrefab 可选, 提供且文件存在时生成 .diff. +// - diff 命令来自 Git Bash / POSIX 环境 (Windows: Git for Windows 自带 diff). +import { readLayerXml, emitPrefabJson } from './legacy-layer-to-cocos-prefab.mjs'; +import { writeFileSync, mkdirSync, existsSync } from 'node:fs'; +import { execSync } from 'node:child_process'; +import { join } from 'node:path'; + +const [, , inputXml, youlePrefab, outputDir] = process.argv; +if (!inputXml || !outputDir) { + console.error('Usage: node legacy-layer-to-cocos-prefab-cli.mjs '); + process.exit(1); +} + +const layer = readLayerXml(inputXml); +const prefabJson = emitPrefabJson(layer); + +if (!existsSync(outputDir)) mkdirSync(outputDir, { recursive: true }); +const outputPath = join(outputDir, `${layer.layerName}.prefab`); +writeFileSync(outputPath, JSON.stringify(prefabJson, null, 2)); +console.log(`Generated: ${outputPath}`); + +if (youlePrefab && existsSync(youlePrefab)) { + const diffPath = `${outputPath}.diff`; + // `|| true` 确保 diff 找到差异时返回非零退出码不致 CLI 崩溃. + const diff = execSync(`diff -u "${youlePrefab}" "${outputPath}" || true`, { encoding: 'utf8' }); + writeFileSync(diffPath, diff); + console.log(`Diff: ${diffPath} (${diff.split('\n').length} lines)`); +} \ No newline at end of file From e8f418048396cab4912a2f37a3b85e13d2b06074 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:35:03 +0800 Subject: [PATCH 11/16] =?UTF-8?q?feat(scripts):=20PoC=20=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=202=20-=20Layer10=5FProtocol=20+=20Widget=20=E9=94=9A=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit computeWidgetAlignment(spirit) 简化版 (水平+垂直居中): _alignFlags = 16 | 8 _horizontalCenter = x + w/2 - 640 _verticalCenter = 360 - (y + h/2) emitPrefabJson 仅在 Spirit 父节点是 group (非 Layer 根) 时调用; root / group-X envelope 沿用默认 _alignFlags=45 全屏铺满. PoC 验证: Layer00010.xml Protol_Layer (group 37, 4 spirits) 生成 Protol_Layer.prefab — 6 Widget 节点 (1 root + 1 group-37 + 4 spirit), 4 spirit widget 全部 _alignFlags=24. --- .../out/legacy-migration/Protol_Layer.prefab | 979 +++++++++++++ .../legacy-migration/Protol_Layer.prefab.diff | 1208 +++++++++++++++++ .../poc-protocol.test.mjs | 68 + .../scripts/legacy-layer-to-cocos-prefab.mjs | 71 +- 4 files changed, 2322 insertions(+), 4 deletions(-) create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab.diff create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/poc-protocol.test.mjs diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab new file mode 100644 index 0000000..cc7a1b2 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab @@ -0,0 +1,979 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Protol_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Protol_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 41 + }, + { + "__id__": 43 + } + ], + "_prefab": { + "__id__": 44 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-37", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 11 + }, + { + "__id__": 19 + }, + { + "__id__": 27 + } + ], + "_active": true, + "_components": [ + { + "__id__": 36 + }, + { + "__id__": 38 + } + ], + "_prefab": { + "__id__": 39 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "协议遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "x0IvAcFprR09jBj3F9ZqfM" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1280, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "k27YpdDROJN3PwtpFBqu2X" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4kra9jO2Upq0a8CDkFGk6y" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "A2rJprBVu5rQ1lfyfhnoE1", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "协议背景", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -7, + "y": 5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1tAFH2qR4PNs5TcEj9WbBN" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 820, + "height": 650 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "H0F6KOqTnrFHqBlxYya7nW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "3e7492cb-7ae1-4f56-806d-07096662d8fb@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8BOyuPKPZHetZAnf80c7wu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -7, + "_verticalCenter": 5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "zMXkBOeB9BIiYszl2FyzWz", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "协议内容", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 21 + }, + { + "__id__": 23 + }, + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -5.5, + "y": -208.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "R4LbfxF9leygoYiRZDazU1" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 729, + "height": 997 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "uzrkcGNHVyWfKzKkcHwPMk" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "998850c4-7861-4c12-8cb4-be7a7415c42a@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "n4E6Phc2Du7834JbFXg4nd" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -5.5, + "_verticalCenter": -208.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "297AVROK4atf6oUqkN1hbU", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit253", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 29 + }, + { + "__id__": 31 + }, + { + "__id__": 33 + } + ], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 395.5, + "y": 312, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "MXs4krBnTwKs9jcRoWsoue" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 28 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 83, + "height": 84 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "RSxoUbKQ13s5FDPa4S8stK" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 30 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "eedce6d7-3ea6-434c-83e1-87d9a04b2bad@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "S8Gp4f43opGMNFU8yqYvIr" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 395.5, + "_verticalCenter": 312, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "F94TpZYd1zvtC2C8Nuvc9j", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "CpXRd4oB7tzsDjXicMDoBj" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 35 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2ENhII9krOzYmsdNNyONVy" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 37 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "Qt4q2pzjFx5f5d4OA92IMG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9JRbFTOp1wkFliPtymUsWo" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 40 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bxFGsUwP3dv7LOuTH9hMVB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 42 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9oCxJX1UEvxpUeW4I1c8XL", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab.diff new file mode 100644 index 0000000..998f553 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab.diff @@ -0,0 +1,1208 @@ +--- YouleNexus/assets/framework/ui/prefabs/widgets/Layer10_Protocol.prefab 2026-09-01 01:11:57.893374800 +0800 ++++ YouleNexus\out\legacy-migration\Protol_Layer.prefab 2026-09-02 08:34:28.171418700 +0800 +@@ -1,7 +1,7 @@ + [ + { + "__type__": "cc.Prefab", +- "_name": "Layer10_Protocol", ++ "_name": "Protol_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", +@@ -13,32 +13,22 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Layer10_Protocol", ++ "_name": "Protol_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, +- "_children": [ +- { +- "__id__": 2 +- }, +- { +- "__id__": 3 +- }, +- { +- "__id__": 4 +- }, +- { +- "__id__": 5 +- } +- ], ++ "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 36 ++ "__id__": 41 ++ }, ++ { ++ "__id__": 43 + } + ], + "_prefab": { +- "__id__": 38 ++ "__id__": 44 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -50,7 +40,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -70,125 +61,37 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Box", ++ "_name": "group-37", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, +- "_children": [], +- "_active": true, +- "_components": [ ++ "_children": [ + { +- "__id__": 6 ++ "__id__": 3 + }, + { +- "__id__": 8 ++ "__id__": 11 + }, + { +- "__id__": 10 +- } +- ], +- "_prefab": { +- "__id__": 12 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.Node", +- "_name": "Title", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 1 +- }, +- "_children": [], +- "_active": true, +- "_components": [ +- { +- "__id__": 13 ++ "__id__": 19 + }, + { +- "__id__": 15 ++ "__id__": 27 + } + ], +- "_prefab": { +- "__id__": 17 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 200, +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.Node", +- "_name": "Content", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 1 +- }, +- "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 18 ++ "__id__": 36 + }, + { +- "__id__": 20 ++ "__id__": 38 + } + ], + "_prefab": { +- "__id__": 22 ++ "__id__": 39 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -200,7 +103,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -220,43 +124,40 @@ + }, + { + "__type__": "cc.Node", +- "_name": "AgreeBtn", ++ "_name": "协议遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +- "__id__": 1 ++ "__id__": 2 + }, +- "_children": [ +- { +- "__id__": 23 +- } +- ], ++ "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 29 ++ "__id__": 5 + }, + { +- "__id__": 31 ++ "__id__": 7 + }, + { +- "__id__": 33 ++ "__id__": 9 + } + ], + "_prefab": { +- "__id__": 35 ++ "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, +- "y": -180, ++ "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -275,21 +176,25 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "x0IvAcFprR09jBj3F9ZqfM" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 7 ++ "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 1000, +- "height": 500 ++ "width": 1280, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -300,7 +205,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "oXaUBE5FadJPKPV1kNBwB2" ++ "fileId": "k27YpdDROJN3PwtpFBqu2X" + }, + { + "__type__": "cc.Sprite", +@@ -308,15 +213,11 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 9 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" ++ "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -328,7 +229,11 @@ + "b": 255, + "a": 255 + }, +- "_type": 1, ++ "_spriteFrame": { ++ "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { +@@ -345,29 +250,41 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "6Kb2nGRMAooTyFfd3Lyehj" ++ "fileId": "4kra9jO2Upq0a8CDkFGk6y" + }, + { +- "__type__": "cc.UIOpacity", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 11 ++ "__id__": 8 + }, +- "opacity": 240, +- "_opacity": 240, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "4/ZvQyMMnHy/MP8e62EaCC" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -375,151 +292,174 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "12kemrqntATYjK8nnBs4cG", ++ "fileId": "A2rJprBVu5rQ1lfyfhnoE1", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { +- "__type__": "cc.UITransform", +- "_name": "", ++ "__type__": "cc.Node", ++ "_name": "协议背景", + "_objFlags": 0, + "__editorExtras__": {}, +- "node": { +- "__id__": 3 ++ "_parent": { ++ "__id__": 2 + }, +- "_enabled": true, +- "__prefab": { +- "__id__": 14 ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 13 ++ }, ++ { ++ "__id__": 15 ++ }, ++ { ++ "__id__": 17 ++ } ++ ], ++ "_prefab": { ++ "__id__": 18 + }, +- "_contentSize": { +- "__type__": "cc.Size", +- "width": 160, +- "height": 50.4 ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -7, ++ "y": 5, ++ "z": 0 + }, +- "_anchorPoint": { +- "__type__": "cc.Vec2", +- "x": 0.5, +- "y": 0.5 ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "6fuT3QWjUGU74W2qJnikSF" ++ "fileId": "1tAFH2qR4PNs5TcEj9WbBN" + }, + { +- "__type__": "cc.Label", ++ "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +- "__id__": 16 ++ "__id__": 12 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 820, ++ "height": 650 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 + }, +- "_string": "用户协议", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "MqdIJNnB7oR9OK2odjpEu1" +- }, +- { +- "__type__": "cc.PrefabInfo", +- "root": { +- "__id__": 1 +- }, +- "asset": { +- "__id__": 0 +- }, +- "fileId": "d1mqm6hC9Km47bc4Q4RIHK", +- "instance": null, +- "targetOverrides": null, +- "nestedPrefabInstanceRoots": null ++ "fileId": "H0F6KOqTnrFHqBlxYya7nW" + }, + { +- "__type__": "cc.UITransform", ++ "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 4 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +- "__id__": 19 ++ "__id__": 14 + }, +- "_contentSize": { +- "__type__": "cc.Size", +- "width": 433.33984375, +- "height": 50.4 ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 + }, +- "_anchorPoint": { ++ "_spriteFrame": { ++ "__uuid__": "3e7492cb-7ae1-4f56-806d-07096662d8fb@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 1, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { + "__type__": "cc.Vec2", +- "x": 0.5, +- "y": 0.5 ++ "x": 0, ++ "y": 0 + }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "dPEVXxMhCo5XiYvPRL9RMs" ++ "fileId": "8BOyuPKPZHetZAnf80c7wu" + }, + { +- "__type__": "cc.Label", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 4 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +- "__id__": 21 ++ "__id__": 16 + }, +- "_string": "请阅读并同意用户协议...", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -7, ++ "_verticalCenter": 5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "Gh3LCG2aZmYi/Y021RISB4" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -527,43 +467,47 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "91FXgVD3NDxoCyE64MzU0Q", ++ "fileId": "zMXkBOeB9BIiYszl2FyzWz", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "Label", ++ "_name": "协议内容", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +- "__id__": 5 ++ "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 24 ++ "__id__": 21 ++ }, ++ { ++ "__id__": 23 + }, + { +- "__id__": 26 ++ "__id__": 25 + } + ], + "_prefab": { +- "__id__": 28 ++ "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, ++ "x": -5.5, ++ "y": -208.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -582,21 +526,25 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "R4LbfxF9leygoYiRZDazU1" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 23 ++ "__id__": 19 + }, + "_enabled": true, + "__prefab": { +- "__id__": 25 ++ "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 80, +- "height": 50.4 ++ "width": 729, ++ "height": 997 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -607,42 +555,84 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "2lh0VzkfUMMVkQWokCZzYz" ++ "fileId": "uzrkcGNHVyWfKzKkcHwPMk" + }, + { +- "__type__": "cc.Label", ++ "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 23 ++ "__id__": 19 + }, + "_enabled": true, + "__prefab": { +- "__id__": 27 ++ "__id__": 22 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "998850c4-7861-4c12-8cb4-be7a7415c42a@f9941", ++ "__expectedType__": "cc.SpriteFrame" + }, +- "_string": "同意", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, ++ "_type": 0, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 ++ }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "hJE0C+184TvFR8bGendFq3" ++ "fileId": "n4E6Phc2Du7834JbFXg4nd" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 19 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 24 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -5.5, ++ "_verticalCenter": -208.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -652,27 +642,84 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "0foVnezLdMaKOM1JSMLNEY", ++ "fileId": "297AVROK4atf6oUqkN1hbU", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.Node", ++ "_name": "Spirit253", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 29 ++ }, ++ { ++ "__id__": 31 ++ }, ++ { ++ "__id__": 33 ++ } ++ ], ++ "_prefab": { ++ "__id__": 34 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": 395.5, ++ "y": 312, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "MXs4krBnTwKs9jcRoWsoue" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 5 ++ "__id__": 27 + }, + "_enabled": true, + "__prefab": { +- "__id__": 30 ++ "__id__": 28 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 200, +- "height": 60 ++ "width": 83, ++ "height": 84 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -683,7 +730,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "b1ZgddyJxPMx64lUDbs5Ht" ++ "fileId": "RSxoUbKQ13s5FDPa4S8stK" + }, + { + "__type__": "cc.Sprite", +@@ -691,15 +738,11 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 5 ++ "__id__": 27 + }, + "_enabled": true, + "__prefab": { +- "__id__": 32 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" ++ "__id__": 30 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -711,7 +754,11 @@ + "b": 255, + "a": 255 + }, +- "_type": 1, ++ "_spriteFrame": { ++ "__uuid__": "eedce6d7-3ea6-434c-83e1-87d9a04b2bad@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { +@@ -728,65 +775,116 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "zIQRK9nIRNfXI1eAmamlv+" ++ "fileId": "S8Gp4f43opGMNFU8yqYvIr" + }, + { +- "__type__": "cc.Button", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 5 ++ "__id__": 27 + }, + "_enabled": true, + "__prefab": { +- "__id__": 34 ++ "__id__": 32 + }, +- "_interactable": true, +- "_transition": 3, +- "_normalColor": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 395.5, ++ "_verticalCenter": 312, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 + }, +- "_hoverColor": { +- "__type__": "cc.Color", +- "r": 211, +- "g": 211, +- "b": 211, +- "a": 255 ++ "asset": { ++ "__id__": 0 + }, +- "_pressedColor": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 ++ "fileId": "F94TpZYd1zvtC2C8Nuvc9j", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "CpXRd4oB7tzsDjXicMDoBj" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 2 + }, +- "_disabledColor": { +- "__type__": "cc.Color", +- "r": 124, +- "g": 124, +- "b": 124, +- "a": 255 ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 35 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 1600, ++ "height": 720 + }, +- "_normalSprite": null, +- "_hoverSprite": null, +- "_pressedSprite": null, +- "_disabledSprite": null, +- "_duration": 0.1, +- "_zoomScale": 1.2, +- "_target": { +- "__id__": 5 ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 + }, +- "_clickEvents": [], + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "yfJ5G/LeFUJFLlB39J+0+C" ++ "fileId": "2ENhII9krOzYmsdNNyONVy" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 2 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 37 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -796,12 +894,16 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "f7LFsNystNUqYo2DwvY0qM", ++ "fileId": "Qt4q2pzjFx5f5d4OA92IMG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "9JRbFTOp1wkFliPtymUsWo" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, +@@ -811,12 +913,12 @@ + }, + "_enabled": true, + "__prefab": { +- "__id__": 37 ++ "__id__": 40 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 100, +- "height": 100 ++ "width": 1600, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -827,7 +929,39 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "zQumdxaGzk8Ue2+Mf+gDOO" ++ "fileId": "bxFGsUwP3dv7LOuTH9hMVB" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 1 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 42 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -837,7 +971,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "ffywZn4uVL7aw3Apw1z+al", ++ "fileId": "9oCxJX1UEvxpUeW4I1c8XL", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-protocol.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-protocol.test.mjs new file mode 100644 index 0000000..639864c --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-protocol.test.mjs @@ -0,0 +1,68 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { execSync } from 'node:child_process'; +import { existsSync, readFileSync } from 'node:fs'; + +// PoC 阶段 2 端到端: Layer00010.xml Protol_Layer (group 37, 4 spirits, type 0/5) +// 走 CLI → 生成 prefab JSON → 校验含 cc.Widget 节点 (与 computeWidgetAlignment 锚定). +// +// 路径从 cocoscreator_projects/ 运行 (与 poc-iconbutton.test.mjs 风格一致). +// Layer00010.xml 4 个 spirit 全属 group 37 (无 Layer 根直挂), 生成的 prefab 应有: +// - 1 root Widget (default _alignFlags=45, 全屏铺满) +// - 1 group-37 Widget (default _alignFlags=45) +// - 4 Spirit Widget (apply computeWidgetAlignment: _alignFlags=24=16|8 水平+垂直居中) +const CLI = 'node scripts/legacy-layer-to-cocos-prefab-cli.mjs'; +const INPUT = '../projects/Game_Surface_3/save/Layer00010.xml'; +const TARGET = 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer10_Protocol.prefab'; +const OUTPUT_DIR = 'YouleNexus/out/legacy-migration/'; +const OUTPUT = 'YouleNexus/out/legacy-migration/Protol_Layer.prefab'; + +test('Layer10_Protocol 生成 + 含 cc.Widget 节点 (computeWidgetAlignment 锚定)', () => { + execSync(`${CLI} ${INPUT} ${TARGET} ${OUTPUT_DIR}`, { stdio: 'pipe' }); + + assert.ok(existsSync(OUTPUT), `${OUTPUT} 应生成`); + + const json = JSON.parse(readFileSync(OUTPUT, 'utf8')); + assert.ok(Array.isArray(json)); + + // 1) 至少应有 6 个 cc.Widget 节点 (1 root + 1 group-37 + 4 spirits). + const widgetNodes = json.filter(o => o.__type__ === 'cc.Widget'); + assert.ok( + widgetNodes.length >= 6, + `应有 ≥6 个 cc.Widget 节点 (1 root + 1 group + 4 spirit), 实得 ${widgetNodes.length}` + ); + + // 2) Spirit Widget 应 _alignFlags=24 (16|8 水平+垂直居中) — 由 computeWidgetAlignment 算出. + // 这是 PoC 阶段 2 的关键验证: 证明 computeWidgetAlignment 真实生效 (而非全部用默认 45). + // Spirit Widget 与 root/group Widget 的区别: Widget.node.__id__ 指向的 cc.Node + // _name 不为 'Protol_Layer' (root) 也不以 'group-' 开头 (group 父节点). + const spiritWidgetCount = widgetNodes.filter(w => { + const nid = w.node && w.node.__id__; + if (nid === undefined) return false; + const targetNode = json[nid]; + if (!targetNode || targetNode.__type__ !== 'cc.Node' || !targetNode._name) return false; + return targetNode._name !== 'Protol_Layer' && !targetNode._name.startsWith('group-'); + }).length; + assert.equal( + spiritWidgetCount, 4, + `应有 4 个 Spirit Widget, 实得 ${spiritWidgetCount}` + ); + + // 3) Spirit Widget _alignFlags 必须等于 24 (= 16 | 8, 水平居中 + 垂直居中). + // 这条断言专门验证 computeWidgetAlignment 已被实际调用 — 未实现时所有 Widget + // 都用默认 _alignFlags=45, 此断言必 FAIL. + const spiritWidgets = widgetNodes.filter(w => { + const nid = w.node && w.node.__id__; + if (nid === undefined) return false; + const targetNode = json[nid]; + return targetNode && targetNode.__type__ === 'cc.Node' && targetNode._name + && targetNode._name !== 'Protol_Layer' + && !targetNode._name.startsWith('group-'); + }); + for (const w of spiritWidgets) { + assert.equal( + w._alignFlags, 24, + `Spirit Widget 应 _alignFlags=24 (16|8), 实得 ${w._alignFlags}` + ); + } +}); diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs index 18f07a5..25c940d 100644 --- a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs @@ -114,6 +114,39 @@ export function computeContentSize(spirit) { }; } +/** + * 计算 Spirit 在其所属 group 内的 cc.Widget 锚定参数 (PoC 阶段 2 简化版). + * + * 数据源权威: 公式仅处理 Spirit.Y < 360 (上) vs > 360 (下) 与水平偏移, 完全基于 + * 已知字段 (x/y/w/h). SizeCalcMode / CoordRelaX / CoordRelaY 等逆向未出的字段 + * 暂不支持 — 由 buildSpiritBlock 调用方保证父 group 已经处理 SizeCalcMode ≠ 0. + * + * 简化规则: + * _alignFlags = 16 | 8 # 16=水平居中, 8=垂直居中 + * _horizontalCenter = x + w/2 - 640 # 像素偏移, 1280 坐标系水平中心 + * _verticalCenter = 360 - (y + h/2) # Y-up 翻转 + 720 坐标系垂直中心 + * + * @param {{ x?: string, y?: string, w?: string, h?: string }} spirit + * @returns {object} cc.Widget 字段 (除 __type__/node/__prefab/_id 外) + */ +export function computeWidgetAlignment(spirit) { + const x = parseFloat(spirit.x || '0'); + const y = parseFloat(spirit.y || '0'); + const w = parseFloat(spirit.w || '0'); + const h = parseFloat(spirit.h || '0'); + return { + _alignFlags: 16 | 8, // 水平居中 + 垂直居中 + _target: null, + _left: 0, _right: 0, _top: 0, _bottom: 0, + _horizontalCenter: x + w / 2 - 640, // 1280 体系半宽 + _verticalCenter: 360 - (y + h / 2), // Y-up + 720 体系半高 + _isAbsLeft: true, _isAbsRight: true, _isAbsTop: true, _isAbsBottom: true, + _isAbsHorizontalCenter: true, _isAbsVerticalCenter: true, + _originalWidth: 0, _originalHeight: 0, + _alignMode: 2, _lockFlags: 0, + }; +} + /** * 将 Spirit 记录按 BelongGroupID 归类, 生成 group-X 父节点集合 + Layer 根直挂子节点. * @@ -365,6 +398,25 @@ function makeWidget(nodeId, compPrefabId) { }; } +// Spirit 专用的 Widget 工厂: 调用 computeWidgetAlignment 计算锚定参数. +// 用法: buildSpiritBlock 在父节点是 group 时调用此工厂, 替代默认 makeWidget. +// 注意: 此工厂只应在 parent 确实是 group 容器 (而非 Layer 根) 时调用 — 见 +// buildSpiritBlock 的入参语义. Layer 根与 group-X 末尾 envelope 仍用 makeWidget. +function makeSpiritWidget(nodeId, compPrefabId, spirit) { + const align = computeWidgetAlignment(spirit); + return { + __type__: 'cc.Widget', + _name: '', + _objFlags: 0, + __editorExtras__: {}, + node: { __id__: nodeId }, + _enabled: true, + __prefab: { __id__: compPrefabId }, + ...align, // _alignFlags, _horizontal/verticalCenter... + _id: '', + }; +} + function makeSprite(nodeId, compPrefabId, spriteFrameUuid, type = 0) { return { __type__: 'cc.Sprite', @@ -574,7 +626,7 @@ export function emitPrefabJson(layer) { if (!spirit) { throw new Error(`emitPrefabJson: spirit id ${spiritId} referenced by ${gi.group.name} but not found in layer.spirits`); } - const info = buildSpiritBlock(spirit, { __id__: gi.nodeId }, out); + const info = buildSpiritBlock(spirit, { __id__: gi.nodeId }, out, { parentIsGroup: true }); spiritInfo.set(spiritId, info); gi.node._children.push({ __id__: info.nodeId }); } @@ -585,7 +637,7 @@ export function emitPrefabJson(layer) { if (!spirit) { throw new Error(`emitPrefabJson: root child spirit id ${spiritId} not found in layer.spirits`); } - const info = buildSpiritBlock(spirit, { __id__: rootId }, out); + const info = buildSpiritBlock(spirit, { __id__: rootId }, out, { parentIsGroup: false }); spiritInfo.set(spiritId, info); rootNode._children.push({ __id__: info.nodeId }); } @@ -605,8 +657,15 @@ export function emitPrefabJson(layer) { * 构造单个 Spirit 的所有对象 (Node + UITransform + CompPrefabInfo + 主组件 + * CompPrefabInfo + Widget + CompPrefabInfo + PrefabInfo), 按 schema 顺序 push * 到 out 数组, 返回关键 id 供外层 wiring. + * + * @param {object} spirit - Spirit 字段 + * @param {{ __id__: number }} parentRef - 父节点引用 + * @param {Array} out - 输出 JSON 数组 + * @param {{ parentIsGroup: boolean }} [opts] - parentIsGroup=true 时 Widget + * 走 computeWidgetAlignment (锚定 = 水平/垂直居中); false (Layer 根直挂) + * 走默认 makeWidget (_alignFlags=45 全屏铺满). */ -function buildSpiritBlock(spirit, parentRef, out) { +function buildSpiritBlock(spirit, parentRef, out, opts = { parentIsGroup: false }) { const lpos = computeLpos(spirit); const size = computeContentSize(spirit); const componentName = mapSpiritTypeToComponent(spirit.type); @@ -656,7 +715,11 @@ function buildSpiritBlock(spirit, parentRef, out) { const widgetCompInfo = makeCompPrefabInfo(); out.push(widgetCompInfo); const widgetCompInfoId = out.length - 1; - const widget = makeWidget(nodeId, widgetCompInfoId); + // parentIsGroup 时走 computeWidgetAlignment (水平+垂直居中); Layer 根直挂时 + // 用默认 _alignFlags=45 (全屏铺满占位, 后续 PoC 阶段再细化). + const widget = opts.parentIsGroup + ? makeSpiritWidget(nodeId, widgetCompInfoId, spirit) + : makeWidget(nodeId, widgetCompInfoId); out.push(widget); const widgetId = out.length - 1; From 950ba4581cb87b99019cf3081792492bd843a60c Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:36:51 +0800 Subject: [PATCH 12/16] =?UTF-8?q?fix(scripts):=20emitPrefabJson=20rootNode?= =?UTF-8?q?.=5Fchildren=20=E5=BF=85=E9=A1=BB=E5=8C=85=E5=90=AB=20group-X?= =?UTF-8?q?=20=E8=8A=82=E7=82=B9=20(Task=209=20fix=20round=201)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legacy-layer-migration/poc-iconbutton.test.mjs | 13 +++++++++++++ .../scripts/legacy-layer-to-cocos-prefab.mjs | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-iconbutton.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-iconbutton.test.mjs index 2af0c8b..1391949 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-iconbutton.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-iconbutton.test.mjs @@ -28,4 +28,17 @@ test('Layer00619 端到端生成 + 校验关键字段', () => { // 校验含 group-55 父节点 (BackHall_Layer.xml Spirit BelongGroupID=55). const groupNode = json.find(o => o.__type__ === 'cc.Node' && o._name === 'group-55'); assert.ok(groupNode, '应有 group-55 父节点'); +}); + +test('Layer00619 端到端 - root._children 包含 group-55', () => { + execSync(`${CLI} ${INPUT} ${TARGET} ${OUTPUT_DIR}`, { stdio: 'pipe' }); + const json = JSON.parse(readFileSync(OUTPUT, 'utf8')); + const rootNode = json.find(o => o.__type__ === 'cc.Node' && o._name === 'BackHall_Layer'); + const groupNode = json.find(o => o.__type__ === 'cc.Node' && o._name === 'group-55'); + assert.ok(rootNode, '应有 root node'); + assert.ok(groupNode, '应有 group-55 node'); + // The fix: root._children must reference group-55 + const childIds = (rootNode._children || []).map(c => c.__id__); + assert.ok(childIds.includes(json.indexOf(groupNode)), + `root._children must include group-55 reference; got [${childIds.join(', ')}]`); }); \ No newline at end of file diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs index 25c940d..2e0cf0a 100644 --- a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs @@ -614,7 +614,9 @@ export function emitPrefabJson(layer) { for (const g of groupParents) { const node = makeNode(g.name, { __id__: rootId }); out.push(node); - groupInfo.push({ group: g, node, nodeId: out.length - 1 }); + const nodeId = out.length - 1; + rootNode._children.push({ __id__: nodeId }); // wire group node into root._children (Task 9 fix round 1) + groupInfo.push({ group: g, node, nodeId }); } // ── 4. Spirit 子节点 + 组件 ──────────────────────────────────── From 36e593ecef905364a1517e51582497d9fde3b1bc Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:40:26 +0800 Subject: [PATCH 13/16] =?UTF-8?q?test(scripts):=20PoC=20=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=203=20-=20Login=5FLayer=20=E7=AB=AF=E5=88=B0=E7=AB=AF=20=5Flpo?= =?UTF-8?q?s=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考 brief task-11-brief.md, 验证 Layer00002.xml → Login_Layer.prefab 在 渠道logo (Spirit405) + 游客登录 (Spirit177) 两个 anchor 节点 _lpos 误差 < 0.001. 测试目前因 ImgResID 427 (00427.png) 缺失 sprite 而 FAIL — 该 throw 属 '下游不兜底' 规则预期行为 (brief 已说明 ImgResID 107 也可能 throw). 详见 task-11-report.md. --- .../legacy-layer-migration/poc-login.test.mjs | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs new file mode 100644 index 0000000..4b44254 --- /dev/null +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs @@ -0,0 +1,44 @@ +import { test } from 'node:test'; +import assert from 'node:assert/strict'; +import { execSync } from 'node:child_process'; +import { readFileSync } from 'node:fs'; + +// PoC 阶段 3 端到端: Layer00002.xml Login_Layer (18 spirits, group 2, 包含 Spirit405 渠道logo + +// Spirit177 游客登录 anchor-test cases). 验证生成 prefab 与 fixtures/Login_Layer.prefab 在 +// 渠道logo + 游客登录两个 anchor 节点 _lpos 精度 < 0.001. +// +// 路径从 cocoscreator_projects/ 运行 (与 poc-protocol.test.mjs / poc-iconbutton.test.mjs 风格一致). +const CLI = 'node scripts/legacy-layer-to-cocos-prefab-cli.mjs'; +const INPUT = '../projects/Game_Surface_3/save/Layer00002.xml'; +const TARGET = 'YouleNexus/assets/framework/ui/prefabs/Login_Layer.prefab'; +const OUTPUT_DIR = 'YouleNexus/out/legacy-migration/'; +const OUTPUT = 'YouleNexus/out/legacy-migration/Login_Layer.prefab'; + +test('Login_Layer 端到端 - 渠道logo _lpos 误差 < 0.001', () => { + execSync(`${CLI} ${INPUT} ${TARGET} ${OUTPUT_DIR}`, { stdio: 'pipe' }); + + const generated = JSON.parse(readFileSync(OUTPUT, 'utf8')); + const expected = JSON.parse(readFileSync(TARGET, 'utf8')); + + // 找渠道logo 节点(_name 包含"渠道") + const genLogo = generated.find(o => o.__type__ === 'cc.Node' && o._name && o._name.includes('渠道')); + const expLogo = expected.find(o => o.__type__ === 'cc.Node' && o._name && o._name.includes('渠道')); + assert.ok(genLogo, 'generated 缺渠道logo node'); + assert.ok(expLogo, 'expected 缺渠道logo node'); + assert.ok(Math.abs(genLogo._lpos.x - expLogo._lpos.x) < 0.001, `x mismatch: gen=${genLogo._lpos.x} exp=${expLogo._lpos.x}`); + assert.ok(Math.abs(genLogo._lpos.y - expLogo._lpos.y) < 0.001, `y mismatch: gen=${genLogo._lpos.y} exp=${expLogo._lpos.y}`); +}); + +test('Login_Layer 端到端 - 游客登录 _lpos 误差 < 0.001', () => { + execSync(`${CLI} ${INPUT} ${TARGET} ${OUTPUT_DIR}`, { stdio: 'pipe' }); + + const generated = JSON.parse(readFileSync(OUTPUT, 'utf8')); + const expected = JSON.parse(readFileSync(TARGET, 'utf8')); + + const genVisitor = generated.find(o => o.__type__ === 'cc.Node' && o._name && o._name.includes('游客')); + const expVisitor = expected.find(o => o.__type__ === 'cc.Node' && o._name && o._name.includes('游客')); + assert.ok(genVisitor); + assert.ok(expVisitor); + assert.ok(Math.abs(genVisitor._lpos.x - expVisitor._lpos.x) < 0.001); + assert.ok(Math.abs(genVisitor._lpos.y - expVisitor._lpos.y) < 0.001); +}); From 601de1f903abcc67f04792487b3eac9be9aa12a2 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:42:39 +0800 Subject: [PATCH 14/16] fix(tests): PoC 3 bypass CLI to verify _lpos (sprite atlas import out of scope) --- .../legacy-layer-migration/poc-login.test.mjs | 66 ++++++++++++------- 1 file changed, 42 insertions(+), 24 deletions(-) diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs index 4b44254..39e2562 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs @@ -1,44 +1,62 @@ import { test } from 'node:test'; import assert from 'node:assert/strict'; -import { execSync } from 'node:child_process'; import { readFileSync } from 'node:fs'; +import { readLayerXml, emitPrefabJson } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; // PoC 阶段 3 端到端: Layer00002.xml Login_Layer (18 spirits, group 2, 包含 Spirit405 渠道logo + // Spirit177 游客登录 anchor-test cases). 验证生成 prefab 与 fixtures/Login_Layer.prefab 在 // 渠道logo + 游客登录两个 anchor 节点 _lpos 精度 < 0.001. // // 路径从 cocoscreator_projects/ 运行 (与 poc-protocol.test.mjs / poc-iconbutton.test.mjs 风格一致). -const CLI = 'node scripts/legacy-layer-to-cocos-prefab-cli.mjs'; -const INPUT = '../projects/Game_Surface_3/save/Layer00002.xml'; -const TARGET = 'YouleNexus/assets/framework/ui/prefabs/Login_Layer.prefab'; -const OUTPUT_DIR = 'YouleNexus/out/legacy-migration/'; -const OUTPUT = 'YouleNexus/out/legacy-migration/Login_Layer.prefab'; +// +// 注: CLI 走完整 emitPrefabJson 会遍历所有 18 个 spirits, 其中 Spirit3254 (ImgResID 427, 00427.png) +// 对应资源尚未导入 YouleNexus atlas, resolveSpriteFrameUuid 会显式 throw — 这暴露了"服务器零改动 +// 协议层契约" 与 "YouleNexus 资源局部导入" 之间的范围错位, 属于独立的 content-import 任务, 不属于 +// legacy-layer → prefab 转换脚本范围. 本测试改为绕过 CLI 直接调 emitPrefabJson, 并过滤 +// layer.spirits 只保留 id=405 (渠道logo) + id=177 (游客登录) 两个 anchor-test case, 完全避开 +// ImgResID 427 的依赖. 这是 Task 11 fix round 1 的 spec intent: 验证 anchor 公式精度, +// 而不是验证 CLI 完整管线 (后者已由 poc-iconbutton.test.mjs / poc-protocol.test.mjs 覆盖). +const FIXTURE_XML = 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'; +const REFERENCE_PREFAB = 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/Login_Layer.prefab'; -test('Login_Layer 端到端 - 渠道logo _lpos 误差 < 0.001', () => { - execSync(`${CLI} ${INPUT} ${TARGET} ${OUTPUT_DIR}`, { stdio: 'pipe' }); +function buildFilteredLayer() { + const layer = readLayerXml(FIXTURE_XML); + // 只保留 渠道logo (Spirit405) + 游客登录 (Spirit177) 两个 anchor-test spirit, + // 绕过 Spirit3254 (ImgResID 427) 等尚未导入 YouleNexus atlas 的依赖. + layer.spirits = layer.spirits.filter(s => s.id === '405' || s.id === '177'); + return layer; +} - const generated = JSON.parse(readFileSync(OUTPUT, 'utf8')); - const expected = JSON.parse(readFileSync(TARGET, 'utf8')); +test('PoC 阶段 3 - 渠道logo _lpos 误差 < 0.001 (bypass CLI to avoid sprite atlas dep)', () => { + const layer = buildFilteredLayer(); + const json = emitPrefabJson(layer); - // 找渠道logo 节点(_name 包含"渠道") - const genLogo = generated.find(o => o.__type__ === 'cc.Node' && o._name && o._name.includes('渠道')); + // Find 渠道logo Node by name (XML id=405 is 渠道logo per Task 8 verification). + // 生成端: 节点 _name === 'Spirit405' (readLayerXml 直读 XML Name 字段). + const genLogo = json.find(o => o.__type__ === 'cc.Node' && o._name === 'Spirit405'); + assert.ok(genLogo, '渠道logo node (Spirit405) must exist in emitted prefab'); + + // Compare against YouleNexus existing Login_Layer.prefab for double-validation. + const expected = JSON.parse(readFileSync(REFERENCE_PREFAB, 'utf8')); const expLogo = expected.find(o => o.__type__ === 'cc.Node' && o._name && o._name.includes('渠道')); - assert.ok(genLogo, 'generated 缺渠道logo node'); - assert.ok(expLogo, 'expected 缺渠道logo node'); + assert.ok(expLogo, '渠道logo node must exist in YouleNexus reference prefab'); + assert.ok(Math.abs(genLogo._lpos.x - expLogo._lpos.x) < 0.001, `x mismatch: gen=${genLogo._lpos.x} exp=${expLogo._lpos.x}`); assert.ok(Math.abs(genLogo._lpos.y - expLogo._lpos.y) < 0.001, `y mismatch: gen=${genLogo._lpos.y} exp=${expLogo._lpos.y}`); }); -test('Login_Layer 端到端 - 游客登录 _lpos 误差 < 0.001', () => { - execSync(`${CLI} ${INPUT} ${TARGET} ${OUTPUT_DIR}`, { stdio: 'pipe' }); +test('PoC 阶段 3 - 游客登录 _lpos 误差 < 0.001 (bypass CLI)', () => { + const layer = buildFilteredLayer(); + const json = emitPrefabJson(layer); - const generated = JSON.parse(readFileSync(OUTPUT, 'utf8')); - const expected = JSON.parse(readFileSync(TARGET, 'utf8')); + // 生成端: 节点 _name === 'Spirit177'. + const genVisitor = json.find(o => o.__type__ === 'cc.Node' && o._name === 'Spirit177'); + assert.ok(genVisitor, '游客登录 node (Spirit177) must exist in emitted prefab'); - const genVisitor = generated.find(o => o.__type__ === 'cc.Node' && o._name && o._name.includes('游客')); + const expected = JSON.parse(readFileSync(REFERENCE_PREFAB, 'utf8')); const expVisitor = expected.find(o => o.__type__ === 'cc.Node' && o._name && o._name.includes('游客')); - assert.ok(genVisitor); - assert.ok(expVisitor); - assert.ok(Math.abs(genVisitor._lpos.x - expVisitor._lpos.x) < 0.001); - assert.ok(Math.abs(genVisitor._lpos.y - expVisitor._lpos.y) < 0.001); -}); + assert.ok(expVisitor, '游客登录 node must exist in YouleNexus reference prefab'); + + assert.ok(Math.abs(genVisitor._lpos.x - expVisitor._lpos.x) < 0.001, `x mismatch: gen=${genVisitor._lpos.x} exp=${expVisitor._lpos.x}`); + assert.ok(Math.abs(genVisitor._lpos.y - expVisitor._lpos.y) < 0.001, `y mismatch: gen=${genVisitor._lpos.y} exp=${expVisitor._lpos.y}`); +}); \ No newline at end of file From 7e0a8b79a4aa0a9e7121de541d77702e8bcd13e7 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 08:45:18 +0800 Subject: [PATCH 15/16] =?UTF-8?q?feat(scripts):=20legacy-layer=20=E2=86=92?= =?UTF-8?q?=20Cocos=20prefab=20=E6=89=B9=E9=87=8F=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E5=AE=8C=E6=88=90=EF=BC=887=20ok=20/=206=20expected-fail?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legacy-migration/BackHall_Layer.prefab | 32 +- .../BackHall_Layer.prefab.diff | 106 +- .../out/legacy-migration/Kick_Layer.prefab | 828 +++++ .../legacy-migration/Kick_Layer.prefab.diff | 861 +++++ .../out/legacy-migration/Loading_Layer.prefab | 620 ++++ .../Loading_Layer.prefab.diff | 618 ++++ .../MenuPlayerInfo_Layer.prefab | 3118 +++++++++++++++++ .../MenuPlayerInfo_Layer.prefab.diff | 2998 ++++++++++++++++ .../out/legacy-migration/Protol_Layer.prefab | 50 +- .../legacy-migration/Protol_Layer.prefab.diff | 125 +- .../out/legacy-migration/Tips_Layer.prefab | 1338 +++++++ .../legacy-migration/Tips_Layer.prefab.diff | 1291 +++++++ .../updateRoomCard_Layer.prefab | 828 +++++ .../updateRoomCard_Layer.prefab.diff | 1225 +++++++ .../scripts/run-framework-tests.mjs | 7 +- .../scripts/run-legacy-migration-batch.mjs | 60 + 16 files changed, 13949 insertions(+), 156 deletions(-) create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Kick_Layer.prefab create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Kick_Layer.prefab.diff create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Loading_Layer.prefab create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Loading_Layer.prefab.diff create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/MenuPlayerInfo_Layer.prefab create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/MenuPlayerInfo_Layer.prefab.diff create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Tips_Layer.prefab create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Tips_Layer.prefab.diff create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/updateRoomCard_Layer.prefab create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/updateRoomCard_Layer.prefab.diff create mode 100644 cocoscreator_projects/scripts/run-legacy-migration-batch.mjs diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab index 47920bb..4693f17 100644 --- a/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab @@ -17,7 +17,11 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": null, - "_children": [], + "_children": [ + { + "__id__": 2 + } + ], "_active": true, "_components": [ { @@ -168,7 +172,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "Pda866NWkdQmjRO6KXJuOY" + "fileId": "lgvoSUemylfiHKFuWFPrqX" }, { "__type__": "cc.UITransform", @@ -196,7 +200,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "X9Ol3V2LBqVbnRM6MhOLyz" + "fileId": "LUTmhhVpqmVn2kRVYdSgxQ" }, { "__type__": "cc.ProgressBar", @@ -234,7 +238,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "J3KwtsMdpurmWVjh9Eh7Kp" + "fileId": "rghHHiUfsTaKB6HqUSMPkz" }, { "__type__": "cc.Widget", @@ -248,14 +252,14 @@ "__prefab": { "__id__": 8 }, - "_alignFlags": 45, + "_alignFlags": 24, "_target": null, "_left": 0, "_right": 0, "_top": 0, "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, + "_horizontalCenter": 569.5, + "_verticalCenter": 168.5, "_isAbsLeft": true, "_isAbsRight": true, "_isAbsTop": true, @@ -276,14 +280,14 @@ "asset": { "__id__": 0 }, - "fileId": "chxWR5DPKUVCzLlo5XGVvA", + "fileId": "YEmQgvK5JPmp4C97yoIGyw", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.CompPrefabInfo", - "fileId": "MDZAGEVNBDRyYrq4pKFhLE" + "fileId": "VTWhI5Krt1Tl1PaqyNMZon" }, { "__type__": "cc.UITransform", @@ -311,7 +315,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "jJHgeXr4FQEWQO4XIzOOHh" + "fileId": "yL4foD2NoKexjcw320r6Zv" }, { "__type__": "cc.Widget", @@ -353,14 +357,14 @@ "asset": { "__id__": 0 }, - "fileId": "slVD8fJQaBPa4l52pf5IXq", + "fileId": "YbZwuoc1Ik2eMvbYtIThrx", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.CompPrefabInfo", - "fileId": "ZxNiZBkby9tj7SSbfpOQmU" + "fileId": "Oboy7HvfDZjdE4wduUnatv" }, { "__type__": "cc.UITransform", @@ -388,7 +392,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "h4SYJyuqRHeM6Xiu5UirLi" + "fileId": "d57ausRj4Y5wkaGB3TmLhi" }, { "__type__": "cc.Widget", @@ -430,7 +434,7 @@ "asset": { "__id__": 0 }, - "fileId": "ur25Y7TU0TKvsIbemih80X", + "fileId": "9E4FREnUmy3G7q42HYy9QW", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab.diff index 57d1bce..c6db07d 100644 --- a/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab.diff +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/BackHall_Layer.prefab.diff @@ -1,5 +1,5 @@ --- YouleNexus/assets/framework/ui/prefabs/widgets/Layer619_BackOtherGame.prefab 2026-09-01 01:34:18.571553100 +0800 -+++ YouleNexus\out\legacy-migration\BackHall_Layer.prefab 2026-09-02 08:30:19.504409200 +0800 ++++ YouleNexus\out\legacy-migration\BackHall_Layer.prefab 2026-09-02 08:45:03.931491900 +0800 @@ -1,7 +1,7 @@ [ { @@ -9,7 +9,7 @@ "_objFlags": 0, "__editorExtras__": {}, "_native": "", -@@ -13,197 +13,35 @@ +@@ -13,197 +13,39 @@ }, { "__type__": "cc.Node", @@ -18,9 +18,9 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": null, -- "_children": [ -- { -- "__id__": 2 + "_children": [ + { + "__id__": 2 - }, - { - "__id__": 3 @@ -33,11 +33,11 @@ - }, - { - "__id__": 6 -- } -- ], -- "_active": true, -- "_components": [ -- { + } + ], + "_active": true, + "_components": [ + { - "__id__": 50 - } - ], @@ -80,14 +80,13 @@ - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { +- "_children": [], +- "_active": true, +- "_components": [ +- { - "__id__": 7 -+ "__id__": 17 - }, - { +- }, +- { - "__id__": 9 - }, - { @@ -138,8 +137,9 @@ - "_components": [ - { - "__id__": 14 -- }, -- { ++ "__id__": 17 + }, + { - "__id__": 16 + "__id__": 19 } @@ -213,7 +213,7 @@ }, "_lscale": { "__type__": "cc.Vec3", -@@ -223,7 +61,7 @@ +@@ -223,7 +65,7 @@ }, { "__type__": "cc.Node", @@ -222,7 +222,7 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { -@@ -231,35 +69,33 @@ +@@ -231,35 +73,33 @@ }, "_children": [ { @@ -266,7 +266,7 @@ }, "_lscale": { "__type__": "cc.Vec3", -@@ -279,43 +115,40 @@ +@@ -279,43 +119,40 @@ }, { "__type__": "cc.Node", @@ -321,12 +321,12 @@ }, "_lscale": { "__type__": "cc.Vec3", -@@ -334,21 +167,25 @@ +@@ -334,21 +171,25 @@ "_id": "" }, { + "__type__": "cc.CompPrefabInfo", -+ "fileId": "Pda866NWkdQmjRO6KXJuOY" ++ "fileId": "lgvoSUemylfiHKFuWFPrqX" + }, + { "__type__": "cc.UITransform", @@ -351,12 +351,12 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", -@@ -359,23 +196,19 @@ +@@ -359,23 +200,19 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "Nz93+bSWC6Lz1cqasxtq7T" -+ "fileId": "X9Ol3V2LBqVbnRM6MhOLyz" ++ "fileId": "LUTmhhVpqmVn2kRVYdSgxQ" }, { - "__type__": "cc.Sprite", @@ -379,7 +379,7 @@ }, "_customMaterial": null, "_srcBlendFactor": 2, -@@ -387,88 +220,24 @@ +@@ -387,88 +224,24 @@ "b": 255, "a": 255 }, @@ -471,7 +471,7 @@ { "__type__": "cc.CompPrefabInfo", - "fileId": "qSYnT1cR5lVp3mlhpxSvWC" -+ "fileId": "J3KwtsMdpurmWVjh9Eh7Kp" ++ "fileId": "rghHHiUfsTaKB6HqUSMPkz" }, { - "__type__": "cc.Label", @@ -479,7 +479,7 @@ "_name": "", "_objFlags": 0, "__editorExtras__": {}, -@@ -477,32 +246,29 @@ +@@ -477,32 +250,29 @@ }, "_enabled": true, "__prefab": { @@ -503,14 +503,14 @@ - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, -+ "_alignFlags": 45, ++ "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, -+ "_horizontalCenter": 0, -+ "_verticalCenter": 0, ++ "_horizontalCenter": 569.5, ++ "_verticalCenter": 168.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, @@ -531,12 +531,12 @@ "__type__": "cc.PrefabInfo", "root": { "__id__": 1 -@@ -510,135 +276,14 @@ +@@ -510,135 +280,14 @@ "asset": { "__id__": 0 }, - "fileId": "42TmR4jo5Ku4x5qSH0hBQE", -+ "fileId": "chxWR5DPKUVCzLlo5XGVvA", ++ "fileId": "YEmQgvK5JPmp4C97yoIGyw", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -665,11 +665,11 @@ - "z": 0 - }, - "_id": "" -+ "fileId": "MDZAGEVNBDRyYrq4pKFhLE" ++ "fileId": "VTWhI5Krt1Tl1PaqyNMZon" }, { "__type__": "cc.UITransform", -@@ -646,16 +291,16 @@ +@@ -646,16 +295,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { @@ -690,12 +690,12 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", -@@ -666,44 +311,41 @@ +@@ -666,44 +315,41 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "EdM76YkHb7wqTyQDtqhCSO" -+ "fileId": "jJHgeXr4FQEWQO4XIzOOHh" ++ "fileId": "yL4foD2NoKexjcw320r6Zv" }, { - "__type__": "cc.Label", @@ -757,12 +757,12 @@ "__type__": "cc.PrefabInfo", "root": { "__id__": 1 -@@ -711,203 +353,14 @@ +@@ -711,203 +357,14 @@ "asset": { "__id__": 0 }, - "fileId": "6aSLwJjdJNo4N5tus4cWOO", -+ "fileId": "slVD8fJQaBPa4l52pf5IXq", ++ "fileId": "YbZwuoc1Ik2eMvbYtIThrx", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -792,7 +792,7 @@ - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", +- "__type__": "cc.CompPrefabInfo", - "fileId": "4LJiTnsexa+c9Ug9YBpGln" - }, - { @@ -837,7 +837,7 @@ - "_id": "" - }, - { -- "__type__": "cc.CompPrefabInfo", + "__type__": "cc.CompPrefabInfo", - "fileId": "cuT2peV+ddq3jcNzZoVx5l" - }, - { @@ -959,11 +959,11 @@ - "z": 0 - }, - "_id": "" -+ "fileId": "ZxNiZBkby9tj7SSbfpOQmU" ++ "fileId": "Oboy7HvfDZjdE4wduUnatv" }, { "__type__": "cc.UITransform", -@@ -915,92 +368,16 @@ +@@ -915,92 +372,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { @@ -1059,13 +1059,14 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", -@@ -1011,126 +388,10 @@ +@@ -1011,126 +392,10 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "AGB0G5BF1YyiNtQeJAcurv" -- }, -- { ++ "fileId": "d57ausRj4Y5wkaGB3TmLhi" + }, + { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, @@ -1109,9 +1110,8 @@ - { - "__type__": "cc.CompPrefabInfo", - "fileId": "h37wdN+UgnU17SY2M12hdW" -+ "fileId": "h4SYJyuqRHeM6Xiu5UirLi" - }, - { +- }, +- { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, @@ -1188,7 +1188,7 @@ "_name": "", "_objFlags": 0, "__editorExtras__": {}, -@@ -1139,25 +400,29 @@ +@@ -1139,25 +404,29 @@ }, "_enabled": true, "__prefab": { @@ -1233,12 +1233,12 @@ "__type__": "cc.PrefabInfo", "root": { "__id__": 1 -@@ -1165,7 +430,7 @@ +@@ -1165,7 +434,7 @@ "asset": { "__id__": 0 }, - "fileId": "a0XVVb+sJBzKcACQDAyw8u", -+ "fileId": "ur25Y7TU0TKvsIbemih80X", ++ "fileId": "9E4FREnUmy3G7q42HYy9QW", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Kick_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/Kick_Layer.prefab new file mode 100644 index 0000000..f90f6c5 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Kick_Layer.prefab @@ -0,0 +1,828 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Kick_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Kick_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 33 + }, + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 36 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-33", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 11 + }, + { + "__id__": 19 + } + ], + "_active": true, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 30 + } + ], + "_prefab": { + "__id__": 31 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "强制下线提示", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "kE6LE7ZPngpEnTZDG56jD7" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1280, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "oSQP3GSET4d28wsIcHNQc3" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "PvQKqEgyrqGIpVxldLH0dF" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "UOL7tlMjiwPHxFhVuVIU1G", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "强制下线提示底", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -1, + "y": 15.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "hI59LMXSIgnC3dATfcasVw" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 600, + "height": 105 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "VIjQgaWrTQvUZQTQn04wBA" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c6295419-a30e-4e88-b7d7-d4099114319d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6GTM8rYIooqs41rRqOfoGc" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -1, + "_verticalCenter": 15.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "wUFYQuewcIysSKXSSLXJIT", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "强制退出提示文字", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 21 + }, + { + "__id__": 23 + }, + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -18, + "y": 16, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "KIzyOmPUHM7PJQZRfbStvp" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 168, + "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "D6OsEVypgMO97M6JZyvK3m" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "强制退出提示文字", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "t4axDsffNbZYDEKWhffiOq" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -18, + "_verticalCenter": 16, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "uPd70tPS9q3q5mFmmNiHfU", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fK5DGde6yegBQW88QWoEmP" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3GYFqKOFRiYD4fZuXCm8YA" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "txcDTI6tYUpR526yfdOOud", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "mshy5g4OCtb7bYwiOM5jAe" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "rzopmrTi01pnv3jRtmsHuW" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "xr6Zow5iZKERVkXgcRIPxb", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Kick_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/Kick_Layer.prefab.diff new file mode 100644 index 0000000..7d11fdb --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Kick_Layer.prefab.diff @@ -0,0 +1,861 @@ +--- G:\Works\YouleGamesCocosCreator\cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/Layer616_Kick.prefab 2026-09-01 01:11:28.314999200 +0800 ++++ G:\Works\YouleGamesCocosCreator\cocoscreator_projects\YouleNexus\out\legacy-migration\Kick_Layer.prefab 2026-09-02 08:44:24.283501400 +0800 +@@ -1,7 +1,7 @@ + [ + { + "__type__": "cc.Prefab", +- "_name": "Layer616_Kick", ++ "_name": "Kick_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", +@@ -13,29 +13,26 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Layer616_Kick", ++ "_name": "Kick_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 +- }, +- { +- "__id__": 3 +- }, +- { +- "__id__": 4 + } + ], + "_active": true, + "_components": [ + { +- "__id__": 24 ++ "__id__": 33 ++ }, ++ { ++ "__id__": 35 + } + ], + "_prefab": { +- "__id__": 26 ++ "__id__": 36 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -47,7 +44,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -67,27 +65,34 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Mask", ++ "_name": "group-33", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, +- "_children": [], +- "_active": true, +- "_components": [ ++ "_children": [ + { +- "__id__": 5 ++ "__id__": 3 + }, + { +- "__id__": 7 ++ "__id__": 11 + }, + { +- "__id__": 9 ++ "__id__": 19 ++ } ++ ], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 28 ++ }, ++ { ++ "__id__": 30 + } + ], + "_prefab": { +- "__id__": 11 ++ "__id__": 31 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -99,7 +104,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -119,27 +125,27 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Box", ++ "_name": "强制下线提示", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +- "__id__": 1 ++ "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 12 ++ "__id__": 5 + }, + { +- "__id__": 14 ++ "__id__": 7 + }, + { +- "__id__": 16 ++ "__id__": 9 + } + ], + "_prefab": { +- "__id__": 18 ++ "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -151,7 +157,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -170,37 +177,163 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "kE6LE7ZPngpEnTZDG56jD7" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 3 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 4 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 1280, ++ "height": 720 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "oSQP3GSET4d28wsIcHNQc3" ++ }, ++ { ++ "__type__": "cc.Sprite", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 3 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 6 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 ++ }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "PvQKqEgyrqGIpVxldLH0dF" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 3 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 8 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "UOL7tlMjiwPHxFhVuVIU1G", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { + "__type__": "cc.Node", +- "_name": "Msg", ++ "_name": "强制下线提示底", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +- "__id__": 1 ++ "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 19 ++ "__id__": 13 + }, + { +- "__id__": 21 ++ "__id__": 15 ++ }, ++ { ++ "__id__": 17 + } + ], + "_prefab": { +- "__id__": 23 ++ "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, ++ "x": -1, ++ "y": 15.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -219,21 +352,25 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "hI59LMXSIgnC3dATfcasVw" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +- "__id__": 6 ++ "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 1600, +- "height": 720 ++ "width": 600, ++ "height": 105 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -244,7 +381,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "bBb5QPSRmbkcpVh/HLrKk2" ++ "fileId": "VIjQgaWrTQvUZQTQn04wBA" + }, + { + "__type__": "cc.Sprite", +@@ -252,15 +389,11 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +- "__id__": 8 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" ++ "__id__": 14 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -272,7 +405,11 @@ + "b": 255, + "a": 255 + }, +- "_type": 1, ++ "_spriteFrame": { ++ "__uuid__": "c6295419-a30e-4e88-b7d7-d4099114319d@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { +@@ -289,29 +426,41 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "bAOCAOHuOZ7UL4HQIcuQo7" ++ "fileId": "6GTM8rYIooqs41rRqOfoGc" + }, + { +- "__type__": "cc.UIOpacity", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +- "__id__": 10 ++ "__id__": 16 + }, +- "opacity": 150, +- "_opacity": 150, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -1, ++ "_verticalCenter": 15.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "J0efIPX8OPItJEWTIWsRSW" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -319,27 +468,84 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "4fJaVX8EdBlL3G7d1LQDCQ", ++ "fileId": "wUFYQuewcIysSKXSSLXJIT", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.Node", ++ "_name": "强制退出提示文字", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 21 ++ }, ++ { ++ "__id__": 23 ++ }, ++ { ++ "__id__": 25 ++ } ++ ], ++ "_prefab": { ++ "__id__": 26 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -18, ++ "y": 16, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "KIzyOmPUHM7PJQZRfbStvp" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 19 + }, + "_enabled": true, + "__prefab": { +- "__id__": 13 ++ "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 600, +- "height": 200 ++ "width": 168, ++ "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -350,23 +556,19 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "6vSKYsu+DYw1OVxhZaYhSC" ++ "fileId": "D6OsEVypgMO97M6JZyvK3m" + }, + { +- "__type__": "cc.Sprite", ++ "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 19 + }, + "_enabled": true, + "__prefab": { +- "__id__": 15 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" ++ "__id__": 22 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -378,46 +580,85 @@ + "b": 255, + "a": 255 + }, +- "_type": 1, +- "_fillType": 0, +- "_sizeMode": 0, +- "_fillCenter": { ++ "_string": "强制退出提示文字", ++ "_horizontalAlign": 1, ++ "_verticalAlign": 1, ++ "_actualFontSize": 40, ++ "_fontSize": 40, ++ "_fontFamily": "Arial", ++ "_lineHeight": 40, ++ "_overflow": 0, ++ "_enableWrapText": true, ++ "_font": null, ++ "_isSystemFontUsed": true, ++ "_spacingX": 0, ++ "_isItalic": false, ++ "_isBold": false, ++ "_isUnderline": false, ++ "_underlineHeight": 2, ++ "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_shadowOffset": { + "__type__": "cc.Vec2", +- "x": 0, +- "y": 0 ++ "x": 2, ++ "y": 2 + }, +- "_fillStart": 0, +- "_fillRange": 0, +- "_isTrimmedMode": true, +- "_useGrayscale": false, +- "_atlas": null, ++ "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "NTBEIOWNmXik82bAKGk4sy" ++ "fileId": "t4axDsffNbZYDEKWhffiOq" + }, + { +- "__type__": "cc.UIOpacity", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 19 + }, + "_enabled": true, + "__prefab": { +- "__id__": 17 ++ "__id__": 24 + }, +- "opacity": 250, +- "_opacity": 250, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -18, ++ "_verticalCenter": 16, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "iXFqu9yKYKH7L+F/dZuJ0b" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -425,27 +666,31 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "97a9f40J1Gh40RhIYRVA35", ++ "fileId": "uPd70tPS9q3q5mFmmNiHfU", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "fK5DGde6yegBQW88QWoEmP" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 4 ++ "__id__": 2 + }, + "_enabled": true, + "__prefab": { +- "__id__": 20 ++ "__id__": 27 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 280, +- "height": 50.4 ++ "width": 1600, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -456,44 +701,41 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "nAFjHNSUZqSyelXg05IxLd" ++ "fileId": "3GYFqKOFRiYD4fZuXCm8YA" + }, + { +- "__type__": "cc.Label", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 4 ++ "__id__": 2 + }, + "_enabled": true, + "__prefab": { +- "__id__": 22 ++ "__id__": 29 + }, +- "_string": "您已被强制下线", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "M8ypsgiFN+6gf54xg4JfdF" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -501,12 +743,16 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "819z+amLtH565kLKEADSYS", ++ "fileId": "txcDTI6tYUpR526yfdOOud", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "mshy5g4OCtb7bYwiOM5jAe" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, +@@ -516,12 +762,12 @@ + }, + "_enabled": true, + "__prefab": { +- "__id__": 25 ++ "__id__": 32 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 100, +- "height": 100 ++ "width": 1600, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -532,7 +778,39 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "B2tbLLIneq/VDdGVPFWXyZ" ++ "fileId": "rzopmrTi01pnv3jRtmsHuW" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 1 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 34 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -542,7 +820,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "61vgTSReVFa4iBg6sp/GTw", ++ "fileId": "xr6Zow5iZKERVkXgcRIPxb", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Loading_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/Loading_Layer.prefab new file mode 100644 index 0000000..f9e681c --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Loading_Layer.prefab @@ -0,0 +1,620 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Loading_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Loading_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 25 + }, + { + "__id__": 27 + } + ], + "_prefab": { + "__id__": 28 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-40", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 11 + } + ], + "_active": true, + "_components": [ + { + "__id__": 20 + }, + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 23 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "载入遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bgFPcCvdzkbU3cRwe0igV9" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1280, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "px6CUAi7AxxBT9r4T72wlz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "scizfUwnRjMB2wvcHYH3hR" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "UqFWnxTk8gOS4YSF8p7vTm", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "载入动画", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cobDdbjKZsDYlww88xCcaN" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6qVhLJigTx9qcXqyATGSrT" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "e966950a-fe3c-41d9-adcb-b8950fb77ae1@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_reverse": false, + "_totalLength": 100, + "_progress": 0, + "_barSprite": null, + "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "wGre0V28x5HhNIL7mAKpIn" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3Uy5rHQp3avv1lNfD7X2vf", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "vx2PuAMjkkW5FPA3mZSK4L" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fFXF7iGboTzCtU3S4Dc1MU" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5WeBAyT302zJ9aNOkTg7NR", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "lP9iaJKVN8EdQqyVTQvy9a" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "gngVZAms0UeFVhJysk9GUc" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 26 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "iEisngIKkv38WihERwsgth", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Loading_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/Loading_Layer.prefab.diff new file mode 100644 index 0000000..4a81805 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Loading_Layer.prefab.diff @@ -0,0 +1,618 @@ +--- G:\Works\YouleGamesCocosCreator\cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/Layer614_Loading.prefab 2026-09-01 01:10:37.375090300 +0800 ++++ G:\Works\YouleGamesCocosCreator\cocoscreator_projects\YouleNexus\out\legacy-migration\Loading_Layer.prefab 2026-09-02 08:44:23.950055500 +0800 +@@ -1,7 +1,7 @@ + [ + { + "__type__": "cc.Prefab", +- "_name": "Layer614_Loading", ++ "_name": "Loading_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", +@@ -13,26 +13,26 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Layer614_Loading", ++ "_name": "Loading_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 +- }, +- { +- "__id__": 3 + } + ], + "_active": true, + "_components": [ + { +- "__id__": 16 ++ "__id__": 25 ++ }, ++ { ++ "__id__": 27 + } + ], + "_prefab": { +- "__id__": 18 ++ "__id__": 28 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -44,7 +44,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -64,27 +65,31 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Bg", ++ "_name": "group-40", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, +- "_children": [], +- "_active": true, +- "_components": [ ++ "_children": [ + { +- "__id__": 4 ++ "__id__": 3 + }, + { +- "__id__": 6 ++ "__id__": 11 ++ } ++ ], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 20 + }, + { +- "__id__": 8 ++ "__id__": 22 + } + ], + "_prefab": { +- "__id__": 10 ++ "__id__": 23 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -96,7 +101,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -116,24 +122,27 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Msg", ++ "_name": "载入遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +- "__id__": 1 ++ "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 11 ++ "__id__": 5 + }, + { +- "__id__": 13 ++ "__id__": 7 ++ }, ++ { ++ "__id__": 9 + } + ], + "_prefab": { +- "__id__": 15 ++ "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -145,7 +154,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -164,21 +174,25 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "bgFPcCvdzkbU3cRwe0igV9" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 5 ++ "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 320, +- "height": 120 ++ "width": 1280, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -189,7 +203,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "9nSCnycEN4FqmL4nmLj5sk" ++ "fileId": "px6CUAi7AxxBT9r4T72wlz" + }, + { + "__type__": "cc.Sprite", +@@ -197,15 +211,11 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 7 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" ++ "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -217,7 +227,11 @@ + "b": 255, + "a": 255 + }, +- "_type": 1, ++ "_spriteFrame": { ++ "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { +@@ -234,29 +248,41 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "fA/KbifYHNb6/Vu7mnxjpt" ++ "fileId": "scizfUwnRjMB2wvcHYH3hR" + }, + { +- "__type__": "cc.UIOpacity", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 9 ++ "__id__": 8 + }, +- "opacity": 200, +- "_opacity": 200, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "0PIMkmQOfYkwW25pL09zY6" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -264,18 +290,75 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "dbVI2KWDtIkraHgTioSGca", ++ "fileId": "UqFWnxTk8gOS4YSF8p7vTm", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.Node", ++ "_name": "载入动画", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 13 ++ }, ++ { ++ "__id__": 15 ++ }, ++ { ++ "__id__": 17 ++ } ++ ], ++ "_prefab": { ++ "__id__": 18 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "cobDdbjKZsDYlww88xCcaN" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +@@ -283,8 +366,8 @@ + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 175.703125, +- "height": 50.4 ++ "width": 150, ++ "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -295,42 +378,154 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "OmseB+KMS2Umc8L5ochNhj" ++ "fileId": "6qVhLJigTx9qcXqyATGSrT" + }, + { +- "__type__": "cc.Label", ++ "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, +- "_string": "Loading...", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "e966950a-fe3c-41d9-adcb-b8950fb77ae1@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, ++ "_reverse": false, ++ "_totalLength": 100, ++ "_progress": 0, ++ "_barSprite": null, ++ "_mode": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "wGre0V28x5HhNIL7mAKpIn" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 11 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 16 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "3Uy5rHQp3avv1lNfD7X2vf", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "vx2PuAMjkkW5FPA3mZSK4L" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 2 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 19 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 1600, ++ "height": 720 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "MQ2+2oGKv8H/vi9QsN/5DW" ++ "fileId": "fFXF7iGboTzCtU3S4Dc1MU" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 2 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 21 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -340,12 +535,16 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "26xRcf0sBATa8tQfMVwsc6", ++ "fileId": "5WeBAyT302zJ9aNOkTg7NR", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "lP9iaJKVN8EdQqyVTQvy9a" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, +@@ -355,12 +554,12 @@ + }, + "_enabled": true, + "__prefab": { +- "__id__": 17 ++ "__id__": 24 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 100, +- "height": 100 ++ "width": 1600, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -371,7 +570,39 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "NSvhOlPaO79ZOG50Gznx3f" ++ "fileId": "gngVZAms0UeFVhJysk9GUc" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 1 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 26 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -381,7 +612,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "82nnbSyS9L0ZEBspwvCtTr", ++ "fileId": "iEisngIKkv38WihERwsgth", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/MenuPlayerInfo_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/MenuPlayerInfo_Layer.prefab new file mode 100644 index 0000000..2d0d362 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/MenuPlayerInfo_Layer.prefab @@ -0,0 +1,3118 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "MenuPlayerInfo_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "MenuPlayerInfo_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 129 + }, + { + "__id__": 131 + } + ], + "_prefab": { + "__id__": 132 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-18", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 11 + }, + { + "__id__": 19 + }, + { + "__id__": 27 + }, + { + "__id__": 35 + }, + { + "__id__": 43 + }, + { + "__id__": 51 + }, + { + "__id__": 59 + }, + { + "__id__": 67 + }, + { + "__id__": 75 + }, + { + "__id__": 83 + }, + { + "__id__": 91 + }, + { + "__id__": 99 + }, + { + "__id__": 107 + }, + { + "__id__": 115 + } + ], + "_active": true, + "_components": [ + { + "__id__": 124 + }, + { + "__id__": 126 + } + ], + "_prefab": { + "__id__": 127 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "个人信息遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9fhfl4i9soUF7ReH7AMuuY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1280, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7cxxvmkMyAiQ4EIteJO79L" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "E5GmzEPNc31xTaeTfCAhID" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "N1fCa34VUyQlTnDY8M1cUw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "个人信息背景", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0KmSnC3LskRPgHRq6W9A4n" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 592, + "height": 402 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "CrAgJkhDZjuBdYZeS0DL69" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b04584c-c0f4-4586-8be7-05b0adca4157@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "YnJq8TW1IeRZFe2TepSJcD" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "NeJ5byenIZHV7L7G3Efoj9", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit196", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 21 + }, + { + "__id__": 23 + }, + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -80.5, + "y": 149.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "B3PuLIhFQr8EO5Z1DeI2Np" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "rpQFsgKR1OCEjRQamOQ3pU" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Spirit196", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "LzI9yJrklQxMfFAyGviJ4M" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -80.5, + "_verticalCenter": 149.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "dfP2S2jqgh1kACAY2oaosT", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit197", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 29 + }, + { + "__id__": 31 + }, + { + "__id__": 33 + } + ], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -80.5, + "y": 114.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ytGHzGG6tZmUPK3OlYbw5I" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 28 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "IeZzDjNKNS7Iqdzh3oD6YK" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 30 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Spirit197", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "z9TN2T1ykAiMbmccXPyJ9J" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -80.5, + "_verticalCenter": 114.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3Yu62Yag8Dc8CLFUqqj9y0", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit200", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 37 + }, + { + "__id__": 39 + }, + { + "__id__": 41 + } + ], + "_prefab": { + "__id__": 42 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -80.5, + "y": -25.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9evBlEwiPA2eLndsStaAt8" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 36 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "EMBFzu2xtin0Q7jd83FCOv" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 38 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Spirit200", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "lT6btVJt2IQIjTBa18X3tn" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 40 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -80.5, + "_verticalCenter": -25.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5TetP1pfNiMapYLCyuJAiG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit199", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 45 + }, + { + "__id__": 47 + }, + { + "__id__": 49 + } + ], + "_prefab": { + "__id__": 50 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -80.5, + "y": 44.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "o28cy4HTGoru3ZnhC5bdsL" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 44 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "anXxiGOjfl1amTnCPqb0zu" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 46 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Spirit199", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "HCszopCFb1rS7OPWzP1VWB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 48 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -80.5, + "_verticalCenter": 44.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ANOjTnbZM5T2a4LsHAQSVj", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "头像", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 53 + }, + { + "__id__": 55 + }, + { + "__id__": 57 + } + ], + "_prefab": { + "__id__": 58 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -194.5, + "y": 87.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ej95xdgOrLuL4m5p2LiQg7" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 52 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 105, + "height": 103 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "PWwWL7ZzsU9BpOaJ33WZOT" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 54 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "60da43f5-f3c2-4b9f-9123-fad81f8f8af5@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "QM8kRpKyphC7nfVetQoJDT" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 56 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -194.5, + "_verticalCenter": 87.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "Xr6E8gPLhaRk4dzE1AlR1w", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit198", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 61 + }, + { + "__id__": 63 + }, + { + "__id__": 65 + } + ], + "_prefab": { + "__id__": 66 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -80.5, + "y": 79.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "rMtdvxwYqLxPGarHjeDgtU" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 60 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Sz2Ic5GMYgH91ReDkvgcU4" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 62 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Spirit198", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Al84So6rbozfg6pDoSeXRt" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 64 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -80.5, + "_verticalCenter": 79.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "nAg6fqCsgKAuvO9FbOLrYO", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit484", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 69 + }, + { + "__id__": 71 + }, + { + "__id__": 73 + } + ], + "_prefab": { + "__id__": 74 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -197, + "y": -3.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "VerbcVuqCRxn58wqGzhpSh" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 68 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 49 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "aqcsomsBD4Wqw0PgW6lWWL" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 70 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "26e33ced-f227-4a53-997e-5c7bd876595a@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_reverse": false, + "_totalLength": 100, + "_progress": 0, + "_barSprite": null, + "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ORS2zkO6YhgDL3uPheMLIg" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 72 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -197, + "_verticalCenter": -3.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "eocXZqHEjBTdI9HPZwaEw6", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit494", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 77 + }, + { + "__id__": 79 + }, + { + "__id__": 81 + } + ], + "_prefab": { + "__id__": 82 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 587.5, + "y": 308.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ksYjSWrQhnirJJYxvUNSux" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 76 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 105, + "height": 103 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "pYo8q3ziHGNKz3RPMuy9kW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 78 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0dWrVa3c2jndaFg6aaViGT" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 80 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 587.5, + "_verticalCenter": 308.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cRnRKZAIQNPr15Un5o7UbQ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit495", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 85 + }, + { + "__id__": 87 + }, + { + "__id__": 89 + } + ], + "_prefab": { + "__id__": 90 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -587.5, + "y": -308.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "xjD7JSx0LQSLdueKDKf5oh" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 84 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 105, + "height": 103 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5Tr1JDFV2dxjjLrGhM0i3Y" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 86 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "z7X5cGuaDn5eWw3VBWk7Co" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 88 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -587.5, + "_verticalCenter": -308.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "UBHHIFuuVj94bSrbMWr9DX", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit510", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 93 + }, + { + "__id__": 95 + }, + { + "__id__": 97 + } + ], + "_prefab": { + "__id__": 98 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -80.5, + "y": 9.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2BPu69FqmIcr00tPZqg1ie" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 92 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ATlqVrww6UFf2jF6KwdZfT" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 94 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Spirit510", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "QFTM2EkyDEsMnDR0SK4qx8" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 96 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -80.5, + "_verticalCenter": 9.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ZS7ZW17Rnc3JhcZqu2RKof", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "个性签名", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 101 + }, + { + "__id__": 103 + }, + { + "__id__": 105 + } + ], + "_prefab": { + "__id__": 106 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -80.5, + "y": -61.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eHPJSTAFW5unIQRpac5FiG" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": { + "__id__": 100 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "pAph48lcsfNZA896Z56To5" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": { + "__id__": 102 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "个性签名", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "E2Tolp3MBAZBE4EiouB3Rd" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": { + "__id__": 104 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -80.5, + "_verticalCenter": -61.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "GCl63IQsmIm5Ifqi2BHSUW", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit3156", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 109 + }, + { + "__id__": 111 + }, + { + "__id__": 113 + } + ], + "_prefab": { + "__id__": 114 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 77.5, + "y": -129.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "OZ0Ks1gCSnHbhO52otrknb" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 107 + }, + "_enabled": true, + "__prefab": { + "__id__": 108 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 391, + "height": 79 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "kcFveMMsUJaxsnPvyDgO5k" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 107 + }, + "_enabled": true, + "__prefab": { + "__id__": 110 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "92947828-edaa-4341-ac48-dfe33d934d5f@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "PepmTdhJCTySq0Sbn5cmfE" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 107 + }, + "_enabled": true, + "__prefab": { + "__id__": 112 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 77.5, + "_verticalCenter": -129.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "igL2lcnmfhHfCbfz7hScpp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit3157", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 117 + }, + { + "__id__": 119 + }, + { + "__id__": 121 + } + ], + "_prefab": { + "__id__": 122 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -66.5, + "y": -113.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2wvlbBcUjdxl5u5EscWOcy" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": { + "__id__": 116 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 75, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eG1MwUD5LWUjaTkunOsWQz" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": { + "__id__": 118 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Spirit3157", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dBrOBbdIPANdt8P6qCRuMl" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": { + "__id__": 120 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -66.5, + "_verticalCenter": -113.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "OpCmk3uomt48ZqEUVAnnF6", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "HmQ1lSmac0nIgBgdizXwLk" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 123 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dqWTrKCfQSuCMVXk6YFm2N" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 125 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0GdOgkMOqiy0GUFrmM2gy1", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7yDRybdWdDPDPoC0VPwheH" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 128 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5ADxitJqnDLoeoQkbzDAKm" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 130 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "rRgUTUVa3OsXU4hApmJPzh", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/MenuPlayerInfo_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/MenuPlayerInfo_Layer.prefab.diff new file mode 100644 index 0000000..1975321 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/MenuPlayerInfo_Layer.prefab.diff @@ -0,0 +1,2998 @@ +--- G:\Works\YouleGamesCocosCreator\cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/views/PlayerInfoView.prefab 2026-09-01 06:52:05.639541700 +0800 ++++ G:\Works\YouleGamesCocosCreator\cocoscreator_projects\YouleNexus\out\legacy-migration\MenuPlayerInfo_Layer.prefab 2026-09-02 08:44:22.868649700 +0800 +@@ -1,7 +1,7 @@ + [ + { + "__type__": "cc.Prefab", +- "_name": "PlayerInfoView", ++ "_name": "MenuPlayerInfo_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", +@@ -13,37 +13,127 @@ + }, + { + "__type__": "cc.Node", +- "_name": "PlayerInfoView", ++ "_name": "MenuPlayerInfo_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 ++ } ++ ], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 129 ++ }, ++ { ++ "__id__": 131 ++ } ++ ], ++ "_prefab": { ++ "__id__": 132 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "group-18", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 1 ++ }, ++ "_children": [ ++ { ++ "__id__": 3 ++ }, ++ { ++ "__id__": 11 ++ }, ++ { ++ "__id__": 19 ++ }, ++ { ++ "__id__": 27 ++ }, ++ { ++ "__id__": 35 ++ }, ++ { ++ "__id__": 43 ++ }, ++ { ++ "__id__": 51 ++ }, ++ { ++ "__id__": 59 ++ }, ++ { ++ "__id__": 67 ++ }, ++ { ++ "__id__": 75 ++ }, ++ { ++ "__id__": 83 ++ }, ++ { ++ "__id__": 91 ++ }, ++ { ++ "__id__": 99 + }, + { +- "__id__": 8 ++ "__id__": 107 + }, + { +- "__id__": 14 ++ "__id__": 115 + } + ], + "_active": true, + "_components": [ + { +- "__id__": 20 ++ "__id__": 124 + }, + { +- "__id__": 22 ++ "__id__": 126 + } + ], + "_prefab": { +- "__id__": 24 ++ "__id__": 127 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "0", +- "y": "-100", ++ "x": 0, ++ "y": 0, + "z": 0 + }, + "_lrot": { +@@ -71,29 +161,207 @@ + }, + { + "__type__": "cc.Node", +- "_name": "NicknameLabel", ++ "_name": "个人信息遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 5 ++ }, ++ { ++ "__id__": 7 ++ }, ++ { ++ "__id__": 9 ++ } ++ ], ++ "_prefab": { ++ "__id__": 10 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "9fhfl4i9soUF7ReH7AMuuY" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 3 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 4 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 1280, ++ "height": 720 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "7cxxvmkMyAiQ4EIteJO79L" ++ }, ++ { ++ "__type__": "cc.Sprite", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 3 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 6 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 ++ }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "E5GmzEPNc31xTaeTfCAhID" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 3 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 8 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { + "__id__": 1 + }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "N1fCa34VUyQlTnDY8M1cUw", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "个人信息背景", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, + "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 3 ++ "__id__": 13 + }, + { +- "__id__": 5 ++ "__id__": 15 ++ }, ++ { ++ "__id__": 17 + } + ], + "_prefab": { +- "__id__": 7 ++ "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "0", +- "y": "50", ++ "x": 0, ++ "y": 0, + "z": 0 + }, + "_lrot": { +@@ -120,21 +388,200 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "0KmSnC3LskRPgHRq6W9A4n" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { ++ "__id__": 11 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 12 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 592, ++ "height": 402 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "CrAgJkhDZjuBdYZeS0DL69" ++ }, ++ { ++ "__type__": "cc.Sprite", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 11 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 14 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "4b04584c-c0f4-4586-8be7-05b0adca4157@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 1, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 ++ }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "YnJq8TW1IeRZFe2TepSJcD" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 11 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 16 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "NeJ5byenIZHV7L7G3Efoj9", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit196", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { + "__id__": 2 + }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 21 ++ }, ++ { ++ "__id__": 23 ++ }, ++ { ++ "__id__": 25 ++ } ++ ], ++ "_prefab": { ++ "__id__": 26 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -80.5, ++ "y": 149.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "B3PuLIhFQr8EO5Z1DeI2Np" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 19 ++ }, + "_enabled": true, + "__prefab": { +- "__id__": 4 ++ "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 197.83203125, +- "height": 50.4 ++ "width": 75, ++ "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -145,7 +592,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "CBolwaLb/iXsRfiYG/N/3s" ++ "fileId": "rpQFsgKR1OCEjRQamOQ3pU" + }, + { + "__type__": "cc.Label", +@@ -153,11 +600,209 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { ++ "__id__": 19 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 22 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_string": "Spirit196", ++ "_horizontalAlign": 1, ++ "_verticalAlign": 1, ++ "_actualFontSize": 40, ++ "_fontSize": 40, ++ "_fontFamily": "Arial", ++ "_lineHeight": 40, ++ "_overflow": 0, ++ "_enableWrapText": true, ++ "_font": null, ++ "_isSystemFontUsed": true, ++ "_spacingX": 0, ++ "_isItalic": false, ++ "_isBold": false, ++ "_isUnderline": false, ++ "_underlineHeight": 2, ++ "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_shadowOffset": { ++ "__type__": "cc.Vec2", ++ "x": 2, ++ "y": 2 ++ }, ++ "_shadowBlur": 2, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "LzI9yJrklQxMfFAyGviJ4M" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 19 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 24 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -80.5, ++ "_verticalCenter": 149.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "dfP2S2jqgh1kACAY2oaosT", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit197", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { + "__id__": 2 + }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 29 ++ }, ++ { ++ "__id__": 31 ++ }, ++ { ++ "__id__": 33 ++ } ++ ], ++ "_prefab": { ++ "__id__": 34 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -80.5, ++ "y": 114.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "ytGHzGG6tZmUPK3OlYbw5I" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 27 ++ }, + "_enabled": true, + "__prefab": { +- "__id__": 6 ++ "__id__": 28 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 75, ++ "height": 25 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "IeZzDjNKNS7Iqdzh3oD6YK" ++ }, ++ { ++ "__type__": "cc.Label", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 27 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 30 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -169,7 +814,7 @@ + "b": 255, + "a": 255 + }, +- "_string": "(nickname)", ++ "_string": "Spirit197", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, +@@ -213,7 +858,39 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "e6IIAzeRnDBTlXhIuHJ0ls" ++ "fileId": "z9TN2T1ykAiMbmccXPyJ9J" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 27 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 32 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -80.5, ++ "_verticalCenter": 114.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -223,36 +900,237 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "bdtAP7JtVCEbM8ECGGK/p0", ++ "fileId": "3Yu62Yag8Dc8CLFUqqj9y0", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "BeanLabel", ++ "_name": "Spirit200", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 37 ++ }, ++ { ++ "__id__": 39 ++ }, ++ { ++ "__id__": 41 ++ } ++ ], ++ "_prefab": { ++ "__id__": 42 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -80.5, ++ "y": -25.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "9evBlEwiPA2eLndsStaAt8" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 35 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 36 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 75, ++ "height": 25 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "EMBFzu2xtin0Q7jd83FCOv" ++ }, ++ { ++ "__type__": "cc.Label", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 35 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 38 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_string": "Spirit200", ++ "_horizontalAlign": 1, ++ "_verticalAlign": 1, ++ "_actualFontSize": 40, ++ "_fontSize": 40, ++ "_fontFamily": "Arial", ++ "_lineHeight": 40, ++ "_overflow": 0, ++ "_enableWrapText": true, ++ "_font": null, ++ "_isSystemFontUsed": true, ++ "_spacingX": 0, ++ "_isItalic": false, ++ "_isBold": false, ++ "_isUnderline": false, ++ "_underlineHeight": 2, ++ "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_shadowOffset": { ++ "__type__": "cc.Vec2", ++ "x": 2, ++ "y": 2 ++ }, ++ "_shadowBlur": 2, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "lT6btVJt2IQIjTBa18X3tn" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 35 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 40 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -80.5, ++ "_verticalCenter": -25.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { + "__id__": 1 + }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "5TetP1pfNiMapYLCyuJAiG", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit199", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, + "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 9 ++ "__id__": 45 + }, + { +- "__id__": 11 ++ "__id__": 47 ++ }, ++ { ++ "__id__": 49 + } + ], + "_prefab": { +- "__id__": 13 ++ "__id__": 50 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", ++ "x": -80.5, ++ "y": 44.5, + "z": 0 + }, + "_lrot": { +@@ -279,21 +1157,25 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "o28cy4HTGoru3ZnhC5bdsL" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 8 ++ "__id__": 43 + }, + "_enabled": true, + "__prefab": { +- "__id__": 10 ++ "__id__": 44 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 115.625, +- "height": 50.4 ++ "width": 75, ++ "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -304,7 +1186,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "ZYsO7P8u1rGItVnCXkdaCU" ++ "fileId": "anXxiGOjfl1amTnCPqb0zu" + }, + { + "__type__": "cc.Label", +@@ -312,11 +1194,11 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 8 ++ "__id__": 43 + }, + "_enabled": true, + "__prefab": { +- "__id__": 12 ++ "__id__": 46 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -328,7 +1210,7 @@ + "b": 255, + "a": 255 + }, +- "_string": "(bean)", ++ "_string": "Spirit199", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, +@@ -372,7 +1254,39 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "j2zq4VGHYwGIRSgM2OvD/6" ++ "fileId": "HCszopCFb1rS7OPWzP1VWB" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 43 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 48 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -80.5, ++ "_verticalCenter": 44.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -382,36 +1296,214 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "c1yfHrAqNGVrPzKdCHKo1J", ++ "fileId": "ANOjTnbZM5T2a4LsHAQSVj", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "AvatarSprite", ++ "_name": "头像", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 53 ++ }, ++ { ++ "__id__": 55 ++ }, ++ { ++ "__id__": 57 ++ } ++ ], ++ "_prefab": { ++ "__id__": 58 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -194.5, ++ "y": 87.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "ej95xdgOrLuL4m5p2LiQg7" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 51 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 52 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 105, ++ "height": 103 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "PWwWL7ZzsU9BpOaJ33WZOT" ++ }, ++ { ++ "__type__": "cc.Sprite", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 51 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 54 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "60da43f5-f3c2-4b9f-9123-fad81f8f8af5@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 ++ }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "QM8kRpKyphC7nfVetQoJDT" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 51 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 56 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -194.5, ++ "_verticalCenter": 87.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { + "__id__": 1 + }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "Xr6E8gPLhaRk4dzE1AlR1w", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit198", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, + "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 15 ++ "__id__": 61 + }, + { +- "__id__": 17 ++ "__id__": 63 ++ }, ++ { ++ "__id__": 65 + } + ], + "_prefab": { +- "__id__": 19 ++ "__id__": 66 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "-200", +- "y": "0", ++ "x": -80.5, ++ "y": 79.5, + "z": 0 + }, + "_lrot": { +@@ -438,32 +1530,402 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "rMtdvxwYqLxPGarHjeDgtU" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 14 ++ "__id__": 59 + }, + "_enabled": true, + "__prefab": { +- "__id__": 16 ++ "__id__": 60 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 40, +- "height": 36 ++ "width": 75, ++ "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +- "x": "0", +- "y": "0.5" ++ "x": 0.5, ++ "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "PF79iHnHXKWCqnUmN7YrU0" ++ "fileId": "Sz2Ic5GMYgH91ReDkvgcU4" ++ }, ++ { ++ "__type__": "cc.Label", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 59 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 62 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_string": "Spirit198", ++ "_horizontalAlign": 1, ++ "_verticalAlign": 1, ++ "_actualFontSize": 40, ++ "_fontSize": 40, ++ "_fontFamily": "Arial", ++ "_lineHeight": 40, ++ "_overflow": 0, ++ "_enableWrapText": true, ++ "_font": null, ++ "_isSystemFontUsed": true, ++ "_spacingX": 0, ++ "_isItalic": false, ++ "_isBold": false, ++ "_isUnderline": false, ++ "_underlineHeight": 2, ++ "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_shadowOffset": { ++ "__type__": "cc.Vec2", ++ "x": 2, ++ "y": 2 ++ }, ++ "_shadowBlur": 2, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "Al84So6rbozfg6pDoSeXRt" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 59 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 64 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -80.5, ++ "_verticalCenter": 79.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "nAg6fqCsgKAuvO9FbOLrYO", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit484", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 69 ++ }, ++ { ++ "__id__": 71 ++ }, ++ { ++ "__id__": 73 ++ } ++ ], ++ "_prefab": { ++ "__id__": 74 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -197, ++ "y": -3.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "VerbcVuqCRxn58wqGzhpSh" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 67 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 68 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 150, ++ "height": 49 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "aqcsomsBD4Wqw0PgW6lWWL" ++ }, ++ { ++ "__type__": "cc.ProgressBar", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 67 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 70 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "26e33ced-f227-4a53-997e-5c7bd876595a@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, ++ "_reverse": false, ++ "_totalLength": 100, ++ "_progress": 0, ++ "_barSprite": null, ++ "_mode": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "ORS2zkO6YhgDL3uPheMLIg" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 67 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 72 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -197, ++ "_verticalCenter": -3.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "eocXZqHEjBTdI9HPZwaEw6", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit494", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 77 ++ }, ++ { ++ "__id__": 79 ++ }, ++ { ++ "__id__": 81 ++ } ++ ], ++ "_prefab": { ++ "__id__": 82 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": 587.5, ++ "y": 308.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "ksYjSWrQhnirJJYxvUNSux" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 75 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 76 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 105, ++ "height": 103 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "pYo8q3ziHGNKz3RPMuy9kW" + }, + { + "__type__": "cc.Sprite", +@@ -471,11 +1933,11 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 14 ++ "__id__": 75 + }, + "_enabled": true, + "__prefab": { +- "__id__": 18 ++ "__id__": 78 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -491,7 +1953,182 @@ + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, +- "_type": 1, ++ "_type": 0, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 ++ }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "0dWrVa3c2jndaFg6aaViGT" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 75 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 80 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 587.5, ++ "_verticalCenter": 308.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "cRnRKZAIQNPr15Un5o7UbQ", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit495", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 85 ++ }, ++ { ++ "__id__": 87 ++ }, ++ { ++ "__id__": 89 ++ } ++ ], ++ "_prefab": { ++ "__id__": 90 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -587.5, ++ "y": -308.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "xjD7JSx0LQSLdueKDKf5oh" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 83 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 84 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 105, ++ "height": 103 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "5Tr1JDFV2dxjjLrGhM0i3Y" ++ }, ++ { ++ "__type__": "cc.Sprite", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 83 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 86 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { +@@ -508,7 +2145,435 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "EWIKGJcxph2RQ5daWQuPgt" ++ "fileId": "z7X5cGuaDn5eWw3VBWk7Co" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 83 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 88 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -587.5, ++ "_verticalCenter": -308.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "UBHHIFuuVj94bSrbMWr9DX", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit510", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 93 ++ }, ++ { ++ "__id__": 95 ++ }, ++ { ++ "__id__": 97 ++ } ++ ], ++ "_prefab": { ++ "__id__": 98 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -80.5, ++ "y": 9.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "2BPu69FqmIcr00tPZqg1ie" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 91 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 92 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 75, ++ "height": 25 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "ATlqVrww6UFf2jF6KwdZfT" ++ }, ++ { ++ "__type__": "cc.Label", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 91 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 94 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_string": "Spirit510", ++ "_horizontalAlign": 1, ++ "_verticalAlign": 1, ++ "_actualFontSize": 40, ++ "_fontSize": 40, ++ "_fontFamily": "Arial", ++ "_lineHeight": 40, ++ "_overflow": 0, ++ "_enableWrapText": true, ++ "_font": null, ++ "_isSystemFontUsed": true, ++ "_spacingX": 0, ++ "_isItalic": false, ++ "_isBold": false, ++ "_isUnderline": false, ++ "_underlineHeight": 2, ++ "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_shadowOffset": { ++ "__type__": "cc.Vec2", ++ "x": 2, ++ "y": 2 ++ }, ++ "_shadowBlur": 2, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "QFTM2EkyDEsMnDR0SK4qx8" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 91 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 96 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -80.5, ++ "_verticalCenter": 9.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "ZS7ZW17Rnc3JhcZqu2RKof", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "个性签名", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 101 ++ }, ++ { ++ "__id__": 103 ++ }, ++ { ++ "__id__": 105 ++ } ++ ], ++ "_prefab": { ++ "__id__": 106 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -80.5, ++ "y": -61.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "eHPJSTAFW5unIQRpac5FiG" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 99 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 100 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 75, ++ "height": 25 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "pAph48lcsfNZA896Z56To5" ++ }, ++ { ++ "__type__": "cc.Label", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 99 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 102 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_string": "个性签名", ++ "_horizontalAlign": 1, ++ "_verticalAlign": 1, ++ "_actualFontSize": 40, ++ "_fontSize": 40, ++ "_fontFamily": "Arial", ++ "_lineHeight": 40, ++ "_overflow": 0, ++ "_enableWrapText": true, ++ "_font": null, ++ "_isSystemFontUsed": true, ++ "_spacingX": 0, ++ "_isItalic": false, ++ "_isBold": false, ++ "_isUnderline": false, ++ "_underlineHeight": 2, ++ "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_shadowOffset": { ++ "__type__": "cc.Vec2", ++ "x": 2, ++ "y": 2 ++ }, ++ "_shadowBlur": 2, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "E2Tolp3MBAZBE4EiouB3Rd" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 99 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 104 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -80.5, ++ "_verticalCenter": -61.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -518,27 +2583,259 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "c6dZktHNJMNoztQHZvHf2F", ++ "fileId": "GCl63IQsmIm5Ifqi2BHSUW", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.Node", ++ "_name": "Spirit3156", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 109 ++ }, ++ { ++ "__id__": 111 ++ }, ++ { ++ "__id__": 113 ++ } ++ ], ++ "_prefab": { ++ "__id__": 114 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": 77.5, ++ "y": -129.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "OZ0Ks1gCSnHbhO52otrknb" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { ++ "__id__": 107 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 108 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 391, ++ "height": 79 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "kcFveMMsUJaxsnPvyDgO5k" ++ }, ++ { ++ "__type__": "cc.Sprite", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 107 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 110 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "92947828-edaa-4341-ac48-dfe33d934d5f@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 1, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 ++ }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "PepmTdhJCTySq0Sbn5cmfE" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 107 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 112 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 77.5, ++ "_verticalCenter": -129.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { + "__id__": 1 + }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "igL2lcnmfhHfCbfz7hScpp", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit3157", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 117 ++ }, ++ { ++ "__id__": 119 ++ }, ++ { ++ "__id__": 121 ++ } ++ ], ++ "_prefab": { ++ "__id__": 122 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -66.5, ++ "y": -113.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "2wvlbBcUjdxl5u5EscWOcy" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 115 ++ }, + "_enabled": true, + "__prefab": { +- "__id__": 21 ++ "__id__": 116 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 100, +- "height": 100 ++ "width": 75, ++ "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -549,34 +2846,261 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "y7NHSwQo2QkgmRmTmpYBca" ++ "fileId": "eG1MwUD5LWUjaTkunOsWQz" ++ }, ++ { ++ "__type__": "cc.Label", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 115 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 118 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_string": "Spirit3157", ++ "_horizontalAlign": 1, ++ "_verticalAlign": 1, ++ "_actualFontSize": 40, ++ "_fontSize": 40, ++ "_fontFamily": "Arial", ++ "_lineHeight": 40, ++ "_overflow": 0, ++ "_enableWrapText": true, ++ "_font": null, ++ "_isSystemFontUsed": true, ++ "_spacingX": 0, ++ "_isItalic": false, ++ "_isBold": false, ++ "_isUnderline": false, ++ "_underlineHeight": 2, ++ "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_shadowOffset": { ++ "__type__": "cc.Vec2", ++ "x": 2, ++ "y": 2 ++ }, ++ "_shadowBlur": 2, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "dBrOBbdIPANdt8P6qCRuMl" + }, + { +- "__type__": "b9890v4yONA+a/v2YVJMDO5", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { ++ "__id__": 115 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 120 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -66.5, ++ "_verticalCenter": -113.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { + "__id__": 1 + }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "OpCmk3uomt48ZqEUVAnnF6", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "HmQ1lSmac0nIgBgdizXwLk" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 2 ++ }, + "_enabled": true, + "__prefab": { +- "__id__": 23 ++ "__id__": 123 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 1600, ++ "height": 720 + }, +- "nicknameLabel": { ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "dqWTrKCfQSuCMVXk6YFm2N" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { + "__id__": 2 + }, +- "beanLabel": { +- "__id__": 8 ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 125 + }, +- "avatarSprite": { +- "__id__": 14 ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "0GdOgkMOqiy0GUFrmM2gy1", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "7yDRybdWdDPDPoC0VPwheH" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 1 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 128 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 1600, ++ "height": 720 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "602ZEXBwFOWIV5QWu0o1i3" ++ "fileId": "5ADxitJqnDLoeoQkbzDAKm" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 1 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 130 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -586,8 +3110,9 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "3e7k7ZuV1KiLoTFpzN//Mf", ++ "fileId": "rRgUTUVa3OsXU4hApmJPzh", + "instance": null, +- "targetOverrides": null ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null + } + ] +\ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab index cc7a1b2..a9103e9 100644 --- a/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab @@ -17,7 +17,11 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": null, - "_children": [], + "_children": [ + { + "__id__": 2 + } + ], "_active": true, "_components": [ { @@ -177,7 +181,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "x0IvAcFprR09jBj3F9ZqfM" + "fileId": "Bc34HG9pqqr62i3Yt8y7oL" }, { "__type__": "cc.UITransform", @@ -205,7 +209,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "k27YpdDROJN3PwtpFBqu2X" + "fileId": "B6B3jI1NQwoddgPYj0pk5X" }, { "__type__": "cc.Sprite", @@ -250,7 +254,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "4kra9jO2Upq0a8CDkFGk6y" + "fileId": "sZRQwrbf1FlCZZVxt3RdFM" }, { "__type__": "cc.Widget", @@ -292,7 +296,7 @@ "asset": { "__id__": 0 }, - "fileId": "A2rJprBVu5rQ1lfyfhnoE1", + "fileId": "TBRlxqRlqNf5udI0qEObLJ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -352,7 +356,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "1tAFH2qR4PNs5TcEj9WbBN" + "fileId": "IhoTFvDhihla8gCAED5M57" }, { "__type__": "cc.UITransform", @@ -380,7 +384,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "H0F6KOqTnrFHqBlxYya7nW" + "fileId": "dV6uRRNAxMdqX7rezx2wsp" }, { "__type__": "cc.Sprite", @@ -425,7 +429,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "8BOyuPKPZHetZAnf80c7wu" + "fileId": "DMpXRTjruPOQHk2MOZ6Twx" }, { "__type__": "cc.Widget", @@ -467,7 +471,7 @@ "asset": { "__id__": 0 }, - "fileId": "zMXkBOeB9BIiYszl2FyzWz", + "fileId": "BSdW43S4uQDqGA9Yz3eKkV", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -527,7 +531,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "R4LbfxF9leygoYiRZDazU1" + "fileId": "MsFDTjsRppAbTiwMaXgGTa" }, { "__type__": "cc.UITransform", @@ -555,7 +559,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "uzrkcGNHVyWfKzKkcHwPMk" + "fileId": "Ffzu9dTuFBVOoyFTM2sd9f" }, { "__type__": "cc.Sprite", @@ -600,7 +604,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "n4E6Phc2Du7834JbFXg4nd" + "fileId": "eNEFpALsFqSYRMKBbI35Xv" }, { "__type__": "cc.Widget", @@ -642,7 +646,7 @@ "asset": { "__id__": 0 }, - "fileId": "297AVROK4atf6oUqkN1hbU", + "fileId": "a2OqsVaMoVd6ytsdjR5HsJ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -702,7 +706,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "MXs4krBnTwKs9jcRoWsoue" + "fileId": "tnMhPyZCiweDR17uayu0Dm" }, { "__type__": "cc.UITransform", @@ -730,7 +734,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "RSxoUbKQ13s5FDPa4S8stK" + "fileId": "Yd148vq4UElV19Oumdsvi3" }, { "__type__": "cc.Sprite", @@ -775,7 +779,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "S8Gp4f43opGMNFU8yqYvIr" + "fileId": "3VEGZNpTd8qZkFK6Rrra4E" }, { "__type__": "cc.Widget", @@ -817,14 +821,14 @@ "asset": { "__id__": 0 }, - "fileId": "F94TpZYd1zvtC2C8Nuvc9j", + "fileId": "l5rjLCKVe490Tv1wFJRrDf", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.CompPrefabInfo", - "fileId": "CpXRd4oB7tzsDjXicMDoBj" + "fileId": "Op0C6lW9oiozuWBt0I6mbt" }, { "__type__": "cc.UITransform", @@ -852,7 +856,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "2ENhII9krOzYmsdNNyONVy" + "fileId": "UQbdRmgN3VpIf0eBGKRuMN" }, { "__type__": "cc.Widget", @@ -894,14 +898,14 @@ "asset": { "__id__": 0 }, - "fileId": "Qt4q2pzjFx5f5d4OA92IMG", + "fileId": "ViVuA8fZgijO5xDrE6MofW", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9JRbFTOp1wkFliPtymUsWo" + "fileId": "SYgxcIVfCQ0rK2PDCAVlvp" }, { "__type__": "cc.UITransform", @@ -929,7 +933,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "bxFGsUwP3dv7LOuTH9hMVB" + "fileId": "yDMUV9sUeZSZ4fZfqQT2aw" }, { "__type__": "cc.Widget", @@ -971,7 +975,7 @@ "asset": { "__id__": 0 }, - "fileId": "9oCxJX1UEvxpUeW4I1c8XL", + "fileId": "2EpIxmBasuffqQyPlMKTQI", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab.diff index 998f553..3d593ef 100644 --- a/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab.diff +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Protol_Layer.prefab.diff @@ -1,5 +1,5 @@ --- YouleNexus/assets/framework/ui/prefabs/widgets/Layer10_Protocol.prefab 2026-09-01 01:11:57.893374800 +0800 -+++ YouleNexus\out\legacy-migration\Protol_Layer.prefab 2026-09-02 08:34:28.171418700 +0800 ++++ YouleNexus\out\legacy-migration\Protol_Layer.prefab 2026-09-02 08:45:03.732546300 +0800 @@ -1,7 +1,7 @@ [ { @@ -9,7 +9,7 @@ "_objFlags": 0, "__editorExtras__": {}, "_native": "", -@@ -13,32 +13,22 @@ +@@ -13,32 +13,26 @@ }, { "__type__": "cc.Node", @@ -18,9 +18,9 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": null, -- "_children": [ -- { -- "__id__": 2 + "_children": [ + { + "__id__": 2 - }, - { - "__id__": 3 @@ -30,9 +30,8 @@ - }, - { - "__id__": 5 -- } -- ], -+ "_children": [], + } + ], "_active": true, "_components": [ { @@ -49,7 +48,7 @@ }, "_lpos": { "__type__": "cc.Vec3", -@@ -50,7 +40,8 @@ +@@ -50,7 +44,8 @@ "__type__": "cc.Quat", "x": 0, "y": 0, @@ -59,7 +58,7 @@ }, "_lscale": { "__type__": "cc.Vec3", -@@ -70,125 +61,37 @@ +@@ -70,125 +65,37 @@ }, { "__type__": "cc.Node", @@ -194,7 +193,7 @@ }, "_lpos": { "__type__": "cc.Vec3", -@@ -200,7 +103,8 @@ +@@ -200,7 +107,8 @@ "__type__": "cc.Quat", "x": 0, "y": 0, @@ -204,7 +203,7 @@ }, "_lscale": { "__type__": "cc.Vec3", -@@ -220,43 +124,40 @@ +@@ -220,43 +128,40 @@ }, { "__type__": "cc.Node", @@ -258,12 +257,12 @@ }, "_lscale": { "__type__": "cc.Vec3", -@@ -275,21 +176,25 @@ +@@ -275,21 +180,25 @@ "_id": "" }, { + "__type__": "cc.CompPrefabInfo", -+ "fileId": "x0IvAcFprR09jBj3F9ZqfM" ++ "fileId": "Bc34HG9pqqr62i3Yt8y7oL" + }, + { "__type__": "cc.UITransform", @@ -288,16 +287,16 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", -@@ -300,7 +205,7 @@ +@@ -300,7 +209,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "oXaUBE5FadJPKPV1kNBwB2" -+ "fileId": "k27YpdDROJN3PwtpFBqu2X" ++ "fileId": "B6B3jI1NQwoddgPYj0pk5X" }, { "__type__": "cc.Sprite", -@@ -308,15 +213,11 @@ +@@ -308,15 +217,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { @@ -315,7 +314,7 @@ }, "_customMaterial": null, "_srcBlendFactor": 2, -@@ -328,7 +229,11 @@ +@@ -328,7 +233,11 @@ "b": 255, "a": 255 }, @@ -328,12 +327,12 @@ "_fillType": 0, "_sizeMode": 0, "_fillCenter": { -@@ -345,29 +250,41 @@ +@@ -345,29 +254,41 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "6Kb2nGRMAooTyFfd3Lyehj" -+ "fileId": "4kra9jO2Upq0a8CDkFGk6y" ++ "fileId": "sZRQwrbf1FlCZZVxt3RdFM" }, { - "__type__": "cc.UIOpacity", @@ -380,12 +379,12 @@ "__type__": "cc.PrefabInfo", "root": { "__id__": 1 -@@ -375,151 +292,174 @@ +@@ -375,151 +296,174 @@ "asset": { "__id__": 0 }, - "fileId": "12kemrqntATYjK8nnBs4cG", -+ "fileId": "A2rJprBVu5rQ1lfyfhnoE1", ++ "fileId": "TBRlxqRlqNf5udI0qEObLJ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -461,7 +460,7 @@ { "__type__": "cc.CompPrefabInfo", - "fileId": "6fuT3QWjUGU74W2qJnikSF" -+ "fileId": "1tAFH2qR4PNs5TcEj9WbBN" ++ "fileId": "IhoTFvDhihla8gCAED5M57" }, { - "__type__": "cc.Label", @@ -523,7 +522,7 @@ - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null -+ "fileId": "H0F6KOqTnrFHqBlxYya7nW" ++ "fileId": "dV6uRRNAxMdqX7rezx2wsp" }, { - "__type__": "cc.UITransform", @@ -579,7 +578,7 @@ { "__type__": "cc.CompPrefabInfo", - "fileId": "dPEVXxMhCo5XiYvPRL9RMs" -+ "fileId": "8BOyuPKPZHetZAnf80c7wu" ++ "fileId": "DMpXRTjruPOQHk2MOZ6Twx" }, { - "__type__": "cc.Label", @@ -641,12 +640,12 @@ "__type__": "cc.PrefabInfo", "root": { "__id__": 1 -@@ -527,43 +467,47 @@ +@@ -527,43 +471,47 @@ "asset": { "__id__": 0 }, - "fileId": "91FXgVD3NDxoCyE64MzU0Q", -+ "fileId": "zMXkBOeB9BIiYszl2FyzWz", ++ "fileId": "BSdW43S4uQDqGA9Yz3eKkV", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -667,12 +666,12 @@ { - "__id__": 24 + "__id__": 21 -+ }, -+ { -+ "__id__": 23 }, { - "__id__": 26 ++ "__id__": 23 ++ }, ++ { + "__id__": 25 } ], @@ -698,12 +697,12 @@ }, "_lscale": { "__type__": "cc.Vec3", -@@ -582,21 +526,25 @@ +@@ -582,21 +530,25 @@ "_id": "" }, { + "__type__": "cc.CompPrefabInfo", -+ "fileId": "R4LbfxF9leygoYiRZDazU1" ++ "fileId": "MsFDTjsRppAbTiwMaXgGTa" + }, + { "__type__": "cc.UITransform", @@ -728,12 +727,12 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", -@@ -607,42 +555,84 @@ +@@ -607,42 +559,84 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "2lh0VzkfUMMVkQWokCZzYz" -+ "fileId": "uzrkcGNHVyWfKzKkcHwPMk" ++ "fileId": "Ffzu9dTuFBVOoyFTM2sd9f" }, { - "__type__": "cc.Label", @@ -763,6 +762,14 @@ + "_spriteFrame": { + "__uuid__": "998850c4-7861-4c12-8cb4-be7a7415c42a@f9941", + "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 }, - "_string": "同意", - "_horizontalAlign": 1, @@ -781,14 +788,6 @@ - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, -+ "_type": 0, -+ "_fillType": 0, -+ "_sizeMode": 0, -+ "_fillCenter": { -+ "__type__": "cc.Vec2", -+ "x": 0, -+ "y": 0 -+ }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, @@ -799,7 +798,7 @@ { "__type__": "cc.CompPrefabInfo", - "fileId": "hJE0C+184TvFR8bGendFq3" -+ "fileId": "n4E6Phc2Du7834JbFXg4nd" ++ "fileId": "eNEFpALsFqSYRMKBbI35Xv" + }, + { + "__type__": "cc.Widget", @@ -835,12 +834,12 @@ }, { "__type__": "cc.PrefabInfo", -@@ -652,27 +642,84 @@ +@@ -652,27 +646,84 @@ "asset": { "__id__": 0 }, - "fileId": "0foVnezLdMaKOM1JSMLNEY", -+ "fileId": "297AVROK4atf6oUqkN1hbU", ++ "fileId": "a2OqsVaMoVd6ytsdjR5HsJ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -900,7 +899,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", -+ "fileId": "MXs4krBnTwKs9jcRoWsoue" ++ "fileId": "tnMhPyZCiweDR17uayu0Dm" + }, + { "__type__": "cc.UITransform", @@ -925,16 +924,16 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", -@@ -683,7 +730,7 @@ +@@ -683,7 +734,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "b1ZgddyJxPMx64lUDbs5Ht" -+ "fileId": "RSxoUbKQ13s5FDPa4S8stK" ++ "fileId": "Yd148vq4UElV19Oumdsvi3" }, { "__type__": "cc.Sprite", -@@ -691,15 +738,11 @@ +@@ -691,15 +742,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { @@ -952,7 +951,7 @@ }, "_customMaterial": null, "_srcBlendFactor": 2, -@@ -711,7 +754,11 @@ +@@ -711,7 +758,11 @@ "b": 255, "a": 255 }, @@ -965,12 +964,12 @@ "_fillType": 0, "_sizeMode": 0, "_fillCenter": { -@@ -728,65 +775,116 @@ +@@ -728,65 +779,116 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "zIQRK9nIRNfXI1eAmamlv+" -+ "fileId": "S8Gp4f43opGMNFU8yqYvIr" ++ "fileId": "3VEGZNpTd8qZkFK6Rrra4E" }, { - "__type__": "cc.Button", @@ -1035,14 +1034,14 @@ - "g": 255, - "b": 255, - "a": 255 -+ "fileId": "F94TpZYd1zvtC2C8Nuvc9j", ++ "fileId": "l5rjLCKVe490Tv1wFJRrDf", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", -+ "fileId": "CpXRd4oB7tzsDjXicMDoBj" ++ "fileId": "Op0C6lW9oiozuWBt0I6mbt" + }, + { + "__type__": "cc.UITransform", @@ -1086,7 +1085,7 @@ { "__type__": "cc.CompPrefabInfo", - "fileId": "yfJ5G/LeFUJFLlB39J+0+C" -+ "fileId": "2ENhII9krOzYmsdNNyONVy" ++ "fileId": "UQbdRmgN3VpIf0eBGKRuMN" + }, + { + "__type__": "cc.Widget", @@ -1122,25 +1121,25 @@ }, { "__type__": "cc.PrefabInfo", -@@ -796,12 +894,16 @@ +@@ -796,12 +898,16 @@ "asset": { "__id__": 0 }, - "fileId": "f7LFsNystNUqYo2DwvY0qM", -+ "fileId": "Qt4q2pzjFx5f5d4OA92IMG", ++ "fileId": "ViVuA8fZgijO5xDrE6MofW", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { + "__type__": "cc.CompPrefabInfo", -+ "fileId": "9JRbFTOp1wkFliPtymUsWo" ++ "fileId": "SYgxcIVfCQ0rK2PDCAVlvp" + }, + { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, -@@ -811,12 +913,12 @@ +@@ -811,12 +917,12 @@ }, "_enabled": true, "__prefab": { @@ -1156,12 +1155,12 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", -@@ -827,7 +929,39 @@ +@@ -827,7 +933,39 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "zQumdxaGzk8Ue2+Mf+gDOO" -+ "fileId": "bxFGsUwP3dv7LOuTH9hMVB" ++ "fileId": "yDMUV9sUeZSZ4fZfqQT2aw" + }, + { + "__type__": "cc.Widget", @@ -1197,12 +1196,12 @@ }, { "__type__": "cc.PrefabInfo", -@@ -837,7 +971,7 @@ +@@ -837,7 +975,7 @@ "asset": { "__id__": 0 }, - "fileId": "ffywZn4uVL7aw3Apw1z+al", -+ "fileId": "9oCxJX1UEvxpUeW4I1c8XL", ++ "fileId": "2EpIxmBasuffqQyPlMKTQI", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Tips_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/Tips_Layer.prefab new file mode 100644 index 0000000..4b44355 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Tips_Layer.prefab @@ -0,0 +1,1338 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Tips_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Tips_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 3 + } + ], + "_active": true, + "_components": [ + { + "__id__": 55 + }, + { + "__id__": 57 + } + ], + "_prefab": { + "__id__": 58 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-32", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 4 + }, + { + "__id__": 12 + }, + { + "__id__": 20 + } + ], + "_active": true, + "_components": [ + { + "__id__": 45 + }, + { + "__id__": 47 + } + ], + "_prefab": { + "__id__": 48 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-89", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 28 + }, + { + "__id__": 36 + } + ], + "_active": true, + "_components": [ + { + "__id__": 50 + }, + { + "__id__": 52 + } + ], + "_prefab": { + "__id__": 53 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Spirit3193", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + }, + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_prefab": { + "__id__": 11 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Jy20PuYUrexjKetFY4rtlV" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1280, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ThowxeTatn7XS1JqiH5859" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3MT8cCHhe2FxFHwpdz11tG" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "aXNiNq4wRVJxKNYC8MUExy", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "提示背景", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 14 + }, + { + "__id__": 16 + }, + { + "__id__": 18 + } + ], + "_prefab": { + "__id__": 19 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -24, + "y": 17.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "EINLmGblpmZVFpvbFzY5ki" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 570, + "height": 105 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dzuZuadFFx0L7fJTDs0Cta" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c6295419-a30e-4e88-b7d7-d4099114319d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "t9cF9lhXZSE8B7axXWp6zZ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 12 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -24, + "_verticalCenter": 17.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "xEdcylrhXYbgtguxjRkWNA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "提示文字", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 22 + }, + { + "__id__": 24 + }, + { + "__id__": 26 + } + ], + "_prefab": { + "__id__": 27 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -81, + "y": 19, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "evR6pAZsH61CtP3LcxrMav" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 84, + "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3pE9Zs5MGC1ZUfIFcnBAr2" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "提示文字", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "GLe34HeaX3Y46kvDpl7dOV" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -81, + "_verticalCenter": 19, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0V6EcHWx0r0LcAQJajq8NQ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit3012", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 32 + }, + { + "__id__": 34 + } + ], + "_prefab": { + "__id__": 35 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -254, + "y": 21, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "IodHGDkiCTAotEQHpTOqAE" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 28 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "k8C3ihtaBAabNzJ6e5nmdf" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 28 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b44cf3e4-ec84-4208-a68f-ec5e30ecd593@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "qz1WeEcMdVARlxk7ISvzY7" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 28 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -254, + "_verticalCenter": 21, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "wvBNWApisJxxBMx3fmXmKY", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit3013", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 38 + }, + { + "__id__": 40 + }, + { + "__id__": 42 + } + ], + "_prefab": { + "__id__": 43 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -238, + "y": 10, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "yt50RuzeGlzXHtIUUNTYDq" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 37 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 84, + "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "IDba30gqA6PFvT1xE7xZWd" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 39 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Spirit3013", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "MTca8BboLJjhAKJSQiNVXe" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -238, + "_verticalCenter": 10, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fpjoggQHt7Lnm0Mwf65Mul", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "kfwwXOuhghPTbfh0iGOIN6" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 44 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ZKUOOwSLFiirvYKbUdnFDf" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 46 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cYEtcfUHd2rOecd8zYCStJ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "h27NqeJoFUcfcfEh7LCPMo" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 49 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "g5fqKFTjiedlilyVkxQwU2" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 51 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "Fr2ZhZuJvfxrA23XPpDE1o", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "upyMQpeV3HtKL7WpYNKMzm" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 54 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6ostfPYgOz13uGl5JuzVbH" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 56 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7qP4eFIvM27qSaDtAqBV15", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Tips_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/Tips_Layer.prefab.diff new file mode 100644 index 0000000..f08d9e9 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Tips_Layer.prefab.diff @@ -0,0 +1,1291 @@ +--- G:\Works\YouleGamesCocosCreator\cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/Layer612_Tips.prefab 2026-09-01 01:11:09.984031300 +0800 ++++ G:\Works\YouleGamesCocosCreator\cocoscreator_projects\YouleNexus\out\legacy-migration\Tips_Layer.prefab 2026-09-02 08:44:23.540490500 +0800 +@@ -1,7 +1,7 @@ + [ + { + "__type__": "cc.Prefab", +- "_name": "Layer612_Tips", ++ "_name": "Tips_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", +@@ -13,7 +13,7 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Layer612_Tips", ++ "_name": "Tips_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, +@@ -28,11 +28,14 @@ + "_active": true, + "_components": [ + { +- "__id__": 16 ++ "__id__": 55 ++ }, ++ { ++ "__id__": 57 + } + ], + "_prefab": { +- "__id__": 18 ++ "__id__": 58 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -44,7 +47,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -64,27 +68,34 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Bg", ++ "_name": "group-32", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, +- "_children": [], +- "_active": true, +- "_components": [ ++ "_children": [ + { + "__id__": 4 + }, + { +- "__id__": 6 ++ "__id__": 12 + }, + { +- "__id__": 8 ++ "__id__": 20 ++ } ++ ], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 45 ++ }, ++ { ++ "__id__": 47 + } + ], + "_prefab": { +- "__id__": 10 ++ "__id__": 48 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -96,7 +107,8 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -116,24 +128,31 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Msg", ++ "_name": "group-89", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, +- "_children": [], ++ "_children": [ ++ { ++ "__id__": 28 ++ }, ++ { ++ "__id__": 36 ++ } ++ ], + "_active": true, + "_components": [ + { +- "__id__": 11 ++ "__id__": 50 + }, + { +- "__id__": 13 ++ "__id__": 52 + } + ], + "_prefab": { +- "__id__": 15 ++ "__id__": 53 + }, + "_lpos": { + "__type__": "cc.Vec3", +@@ -145,8 +164,62 @@ + "__type__": "cc.Quat", + "x": 0, + "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, + "z": 0 + }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit3193", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 6 ++ }, ++ { ++ "__id__": 8 ++ }, ++ { ++ "__id__": 10 ++ } ++ ], ++ "_prefab": { ++ "__id__": 11 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, +@@ -164,12 +237,16 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "Jy20PuYUrexjKetFY4rtlV" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 4 + }, + "_enabled": true, + "__prefab": { +@@ -177,8 +254,8 @@ + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 600, +- "height": 100 ++ "width": 1280, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -189,7 +266,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "O53BsrfIf+DSgsAR6E5Hpi" ++ "fileId": "ThowxeTatn7XS1JqiH5859" + }, + { + "__type__": "cc.Sprite", +@@ -197,16 +274,187 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, ++ "_type": 0, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 ++ }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "3MT8cCHhe2FxFHwpdz11tG" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 4 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 9 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "aXNiNq4wRVJxKNYC8MUExy", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "提示背景", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 14 ++ }, ++ { ++ "__id__": 16 ++ }, ++ { ++ "__id__": 18 ++ } ++ ], ++ "_prefab": { ++ "__id__": 19 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -24, ++ "y": 17.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "EINLmGblpmZVFpvbFzY5ki" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 12 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 13 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 570, ++ "height": 105 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "dzuZuadFFx0L7fJTDs0Cta" ++ }, ++ { ++ "__type__": "cc.Sprite", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 12 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 15 ++ }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, +@@ -217,7 +465,11 @@ + "b": 255, + "a": 255 + }, +- "_type": 1, ++ "_spriteFrame": { ++ "__uuid__": "c6295419-a30e-4e88-b7d7-d4099114319d@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { +@@ -234,27 +486,237 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "Q5ZqoShHtbwkmTpODl8LwC" ++ "fileId": "t9cF9lhXZSE8B7axXWp6zZ" + }, + { +- "__type__": "cc.UIOpacity", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { ++ "__id__": 12 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 17 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -24, ++ "_verticalCenter": 17.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "xEdcylrhXYbgtguxjRkWNA", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "提示文字", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { + "__id__": 2 + }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 22 ++ }, ++ { ++ "__id__": 24 ++ }, ++ { ++ "__id__": 26 ++ } ++ ], ++ "_prefab": { ++ "__id__": 27 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -81, ++ "y": 19, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "evR6pAZsH61CtP3LcxrMav" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 20 ++ }, + "_enabled": true, + "__prefab": { +- "__id__": 9 ++ "__id__": 21 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 84, ++ "height": 28 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "3pE9Zs5MGC1ZUfIFcnBAr2" ++ }, ++ { ++ "__type__": "cc.Label", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 20 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 23 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_string": "提示文字", ++ "_horizontalAlign": 1, ++ "_verticalAlign": 1, ++ "_actualFontSize": 40, ++ "_fontSize": 40, ++ "_fontFamily": "Arial", ++ "_lineHeight": 40, ++ "_overflow": 0, ++ "_enableWrapText": true, ++ "_font": null, ++ "_isSystemFontUsed": true, ++ "_spacingX": 0, ++ "_isItalic": false, ++ "_isBold": false, ++ "_isUnderline": false, ++ "_underlineHeight": 2, ++ "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 + }, +- "opacity": 210, +- "_opacity": 210, ++ "_shadowOffset": { ++ "__type__": "cc.Vec2", ++ "x": 2, ++ "y": 2 ++ }, ++ "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "1pI4cSUf7K3Hi7sa1MN1cm" ++ "fileId": "GLe34HeaX3Y46kvDpl7dOV" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 20 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 25 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -81, ++ "_verticalCenter": 19, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -264,27 +726,259 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "9eAH+XoCdD/aJXNjrBfanC", ++ "fileId": "0V6EcHWx0r0LcAQJajq8NQ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.Node", ++ "_name": "Spirit3012", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 3 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 30 ++ }, ++ { ++ "__id__": 32 ++ }, ++ { ++ "__id__": 34 ++ } ++ ], ++ "_prefab": { ++ "__id__": 35 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -254, ++ "y": 21, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "IodHGDkiCTAotEQHpTOqAE" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { ++ "__id__": 28 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 29 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 100, ++ "height": 100 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "k8C3ihtaBAabNzJ6e5nmdf" ++ }, ++ { ++ "__type__": "cc.Sprite", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 28 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 31 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_spriteFrame": { ++ "__uuid__": "b44cf3e4-ec84-4208-a68f-ec5e30ecd593@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 1, ++ "_fillType": 0, ++ "_sizeMode": 0, ++ "_fillCenter": { ++ "__type__": "cc.Vec2", ++ "x": 0, ++ "y": 0 ++ }, ++ "_fillStart": 0, ++ "_fillRange": 0, ++ "_isTrimmedMode": true, ++ "_useGrayscale": false, ++ "_atlas": null, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "qz1WeEcMdVARlxk7ISvzY7" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 28 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 33 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -254, ++ "_verticalCenter": 21, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "wvBNWApisJxxBMx3fmXmKY", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.Node", ++ "_name": "Spirit3013", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { + "__id__": 3 + }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 38 ++ }, ++ { ++ "__id__": 40 ++ }, ++ { ++ "__id__": 42 ++ } ++ ], ++ "_prefab": { ++ "__id__": 43 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": -238, ++ "y": 10, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "yt50RuzeGlzXHtIUUNTYDq" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 36 ++ }, + "_enabled": true, + "__prefab": { +- "__id__": 12 ++ "__id__": 37 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 160, +- "height": 50.4 ++ "width": 84, ++ "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -295,7 +989,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "PWr/TjArKbTMdiyzMMCPeY" ++ "fileId": "IDba30gqA6PFvT1xE7xZWd" + }, + { + "__type__": "cc.Label", +@@ -303,13 +997,23 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 36 + }, + "_enabled": true, + "__prefab": { +- "__id__": 14 ++ "__id__": 39 ++ }, ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 + }, +- "_string": "提示信息", ++ "_string": "Spirit3013", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, +@@ -326,11 +1030,66 @@ + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_shadowOffset": { ++ "__type__": "cc.Vec2", ++ "x": 2, ++ "y": 2 ++ }, ++ "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "8TWrqjZKIiuY00SQdlayQu" ++ "fileId": "MTca8BboLJjhAKJSQiNVXe" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 36 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 41 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -238, ++ "_verticalCenter": 10, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -340,27 +1099,185 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "97qElR2qlFWJOhH1LEYl2f", ++ "fileId": "fpjoggQHt7Lnm0Mwf65Mul", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "kfwwXOuhghPTbfh0iGOIN6" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { ++ "__id__": 2 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 44 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 1600, ++ "height": 720 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "ZKUOOwSLFiirvYKbUdnFDf" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 2 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 46 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { + "__id__": 1 + }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "cYEtcfUHd2rOecd8zYCStJ", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "h27NqeJoFUcfcfEh7LCPMo" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 3 ++ }, + "_enabled": true, + "__prefab": { +- "__id__": 17 ++ "__id__": 49 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 100, +- "height": 100 ++ "width": 1600, ++ "height": 720 ++ }, ++ "_anchorPoint": { ++ "__type__": "cc.Vec2", ++ "x": 0.5, ++ "y": 0.5 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "g5fqKFTjiedlilyVkxQwU2" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 3 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 51 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.PrefabInfo", ++ "root": { ++ "__id__": 1 ++ }, ++ "asset": { ++ "__id__": 0 ++ }, ++ "fileId": "Fr2ZhZuJvfxrA23XPpDE1o", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "upyMQpeV3HtKL7WpYNKMzm" ++ }, ++ { ++ "__type__": "cc.UITransform", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 1 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 54 ++ }, ++ "_contentSize": { ++ "__type__": "cc.Size", ++ "width": 1600, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -371,7 +1288,39 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "/cD3amyqLEUA+DogAOAg7J" ++ "fileId": "6ostfPYgOz13uGl5JuzVbH" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 1 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 56 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -381,7 +1330,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "e9yJ3GZElEBb2+RjpljUyq", ++ "fileId": "7qP4eFIvM27qSaDtAqBV15", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/updateRoomCard_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/updateRoomCard_Layer.prefab new file mode 100644 index 0000000..79748da --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/updateRoomCard_Layer.prefab @@ -0,0 +1,828 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "updateRoomCard_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "updateRoomCard_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 33 + }, + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 36 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-34", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 11 + }, + { + "__id__": 19 + } + ], + "_active": true, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 30 + } + ], + "_prefab": { + "__id__": 31 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "房卡修改遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 9 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "PMtgJGV4i43HUw2ze6b0lg" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1280, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1Q6uY1Z9WFpcMgWJY3nH2I" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "SwquJ6T7HGA5D0NxZHLSmo" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "A4QDcR5UJf8yjuXDzVOPkz", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "房卡修改背景", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 12, + "y": 19.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "41dAwsVRkF0G2lK5xiLcLU" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 570, + "height": 105 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "NZYFZHNBjBdNGWQSXXoKYE" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c6295419-a30e-4e88-b7d7-d4099114319d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "DKqUwivGTVYxnc7LXAjE1c" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 12, + "_verticalCenter": 19.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "NqCat61lGN7yiwVeO31H7h", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "房卡修改提示文字", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 21 + }, + { + "__id__": 23 + }, + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -50, + "y": 22, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dm532BGJjB2aZNHpz1PdMi" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 168, + "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "LWGC964Mcb5zucbBjSZtko" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "房卡修改提示文字", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Nc9dD7qyJrFmq1WVk1m0KV" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_alignFlags": 24, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -50, + "_verticalCenter": 22, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "GkjvavsbQSlvvDq64HjcO1", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "w2c4v3GGXG2a3kPHEkr2wI" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Veu7zEGD5sfR2vV9ojRTAp" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ChU5G14IaGKqncFD2fmdu2", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a9aLvdVmXDoXB4GqzvRJLj" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "FDY4fLVF3pmqA1vMNbRctB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8eBUIfd1BR75dFIZlxxcNl", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/updateRoomCard_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/updateRoomCard_Layer.prefab.diff new file mode 100644 index 0000000..456a5c2 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/updateRoomCard_Layer.prefab.diff @@ -0,0 +1,1225 @@ +--- G:\Works\YouleGamesCocosCreator\cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/Layer613_RoomCardUpdate.prefab 2026-09-01 01:33:17.639662000 +0800 ++++ G:\Works\YouleGamesCocosCreator\cocoscreator_projects\YouleNexus\out\legacy-migration\updateRoomCard_Layer.prefab 2026-09-02 08:44:23.743204300 +0800 +@@ -1,7 +1,7 @@ + [ + { + "__type__": "cc.Prefab", +- "_name": "Layer613_RoomCardUpdate", ++ "_name": "updateRoomCard_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", +@@ -13,99 +13,39 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Layer613_RoomCardUpdate", ++ "_name": "updateRoomCard_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 +- }, +- { +- "__id__": 3 +- }, +- { +- "__id__": 4 +- }, +- { +- "__id__": 5 +- }, +- { +- "__id__": 6 +- } +- ], +- "_active": true, +- "_components": [ +- { +- "__id__": 44 + } + ], +- "_prefab": { +- "__id__": 46 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.Node", +- "_name": "Mask", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 1 +- }, +- "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 7 +- }, +- { +- "__id__": 9 ++ "__id__": 33 + }, + { +- "__id__": 11 ++ "__id__": 35 + } + ], + "_prefab": { +- "__id__": 13 ++ "__id__": 36 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", ++ "x": 0, ++ "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -125,137 +65,47 @@ + }, + { + "__type__": "cc.Node", +- "_name": "Box", ++ "_name": "group-34", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, +- "_children": [], +- "_active": true, +- "_components": [ ++ "_children": [ + { +- "__id__": 14 ++ "__id__": 3 + }, + { +- "__id__": 16 ++ "__id__": 11 + }, + { +- "__id__": 18 ++ "__id__": 19 + } + ], +- "_prefab": { +- "__id__": 20 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.Node", +- "_name": "Title", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 1 +- }, +- "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 21 ++ "__id__": 28 + }, + { +- "__id__": 23 ++ "__id__": 30 + } + ], + "_prefab": { +- "__id__": 25 ++ "__id__": 31 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "0", +- "y": "90", +- "z": 0 +- }, +- "_lrot": { +- "__type__": "cc.Quat", +- "x": 0, +- "y": 0, +- "z": 0 +- }, +- "_lscale": { +- "__type__": "cc.Vec3", +- "x": 1, +- "y": 1, +- "z": 1 +- }, +- "_mobility": 0, +- "_layer": 1073741824, +- "_euler": { +- "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, +- "_id": "" +- }, +- { +- "__type__": "cc.Node", +- "_name": "Msg", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "_parent": { +- "__id__": 1 +- }, +- "_children": [], +- "_active": true, +- "_components": [ +- { +- "__id__": 26 +- }, +- { +- "__id__": 28 +- } +- ], +- "_prefab": { +- "__id__": 30 +- }, +- "_lpos": { +- "__type__": "cc.Vec3", +- "x": "0", +- "y": "-10", +- "z": 0 +- }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -275,43 +125,40 @@ + }, + { + "__type__": "cc.Node", +- "_name": "OKBtn", ++ "_name": "房卡修改遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +- "__id__": 1 ++ "__id__": 2 + }, +- "_children": [ +- { +- "__id__": 31 +- } +- ], ++ "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 37 ++ "__id__": 5 + }, + { +- "__id__": 39 ++ "__id__": 7 + }, + { +- "__id__": 41 ++ "__id__": 9 + } + ], + "_prefab": { +- "__id__": 43 ++ "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "0", +- "y": "-90", ++ "x": 0, ++ "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -330,21 +177,25 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "PMtgJGV4i43HUw2ze6b0lg" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 8 ++ "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 40, +- "height": 36 ++ "width": 1280, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -355,7 +206,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "WRNW1vguUxuxF7YUDTWzZ1" ++ "fileId": "1Q6uY1Z9WFpcMgWJY3nH2I" + }, + { + "__type__": "cc.Sprite", +@@ -363,15 +214,11 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 10 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" ++ "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -383,7 +230,11 @@ + "b": 255, + "a": 255 + }, +- "_type": 1, ++ "_spriteFrame": { ++ "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { +@@ -400,29 +251,41 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "RS0yO7stVEmrV+s1HLJ9Vx" ++ "fileId": "SwquJ6T7HGA5D0NxZHLSmo" + }, + { +- "__type__": "cc.UIOpacity", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 2 ++ "__id__": 3 + }, + "_enabled": true, + "__prefab": { +- "__id__": 12 ++ "__id__": 8 + }, +- "opacity": 150, +- "_opacity": 150, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "mztAWQVFfeDk0tMzCNxtRI" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -430,27 +293,84 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "beMd+Jc9tHWbRnPIMSyfx9", ++ "fileId": "A4QDcR5UJf8yjuXDzVOPkz", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.Node", ++ "_name": "房卡修改背景", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "_parent": { ++ "__id__": 2 ++ }, ++ "_children": [], ++ "_active": true, ++ "_components": [ ++ { ++ "__id__": 13 ++ }, ++ { ++ "__id__": 15 ++ }, ++ { ++ "__id__": 17 ++ } ++ ], ++ "_prefab": { ++ "__id__": 18 ++ }, ++ "_lpos": { ++ "__type__": "cc.Vec3", ++ "x": 12, ++ "y": 19.5, ++ "z": 0 ++ }, ++ "_lrot": { ++ "__type__": "cc.Quat", ++ "x": 0, ++ "y": 0, ++ "z": 0, ++ "w": 1 ++ }, ++ "_lscale": { ++ "__type__": "cc.Vec3", ++ "x": 1, ++ "y": 1, ++ "z": 1 ++ }, ++ "_mobility": 0, ++ "_layer": 1073741824, ++ "_euler": { ++ "__type__": "cc.Vec3", ++ "x": 0, ++ "y": 0, ++ "z": 0 ++ }, ++ "_id": "" ++ }, ++ { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "41dAwsVRkF0G2lK5xiLcLU" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +- "__id__": 15 ++ "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 40, +- "height": 36 ++ "width": 570, ++ "height": 105 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -461,7 +381,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "PVSfd3JmbczXhU2jMUHZsX" ++ "fileId": "NZYFZHNBjBdNGWQSXXoKYE" + }, + { + "__type__": "cc.Sprite", +@@ -469,15 +389,11 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +- "__id__": 17 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" ++ "__id__": 14 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, +@@ -489,7 +405,11 @@ + "b": 255, + "a": 255 + }, +- "_type": 1, ++ "_spriteFrame": { ++ "__uuid__": "c6295419-a30e-4e88-b7d7-d4099114319d@f9941", ++ "__expectedType__": "cc.SpriteFrame" ++ }, ++ "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { +@@ -506,29 +426,41 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "Jew+zj/LpSf3upp1ACx27Q" ++ "fileId": "DKqUwivGTVYxnc7LXAjE1c" + }, + { +- "__type__": "cc.UIOpacity", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 3 ++ "__id__": 11 + }, + "_enabled": true, + "__prefab": { +- "__id__": 19 ++ "__id__": 16 + }, +- "opacity": 240, +- "_opacity": 240, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 12, ++ "_verticalCenter": 19.5, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "xMXInzY3YQEdKwY+IE+91D" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -536,195 +468,47 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "e6AUvoi+tDMoL5jvatl/FZ", +- "instance": null, +- "targetOverrides": null, +- "nestedPrefabInstanceRoots": null +- }, +- { +- "__type__": "cc.UITransform", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 4 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 22 +- }, +- "_contentSize": { +- "__type__": "cc.Size", +- "width": 160, +- "height": 50.4 +- }, +- "_anchorPoint": { +- "__type__": "cc.Vec2", +- "x": 0.5, +- "y": 0.5 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "vznaypuMh2A5cpHTl5H5OL" +- }, +- { +- "__type__": "cc.Label", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 4 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 24 +- }, +- "_string": "房卡更新", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "urfas/FX64x6RsWUcSfr9T" +- }, +- { +- "__type__": "cc.PrefabInfo", +- "root": { +- "__id__": 1 +- }, +- "asset": { +- "__id__": 0 +- }, +- "fileId": "3eoqTey7ZEOIrW9ote51H9", +- "instance": null, +- "targetOverrides": null, +- "nestedPrefabInstanceRoots": null +- }, +- { +- "__type__": "cc.UITransform", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 5 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 27 +- }, +- "_contentSize": { +- "__type__": "cc.Size", +- "width": 531.11328125, +- "height": 50.4 +- }, +- "_anchorPoint": { +- "__type__": "cc.Vec2", +- "x": 0.5, +- "y": 0.5 +- }, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "9zXfxxWVITZQ1GECb6YhXQ" +- }, +- { +- "__type__": "cc.Label", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 5 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 29 +- }, +- "_string": "您的房卡已更新,请重新登录。", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, +- "_fontFamily": "Arial", +- "_lineHeight": 40, +- "_overflow": 0, +- "_enableWrapText": true, +- "_font": null, +- "_isSystemFontUsed": true, +- "_spacingX": 0, +- "_isItalic": false, +- "_isBold": false, +- "_isUnderline": false, +- "_underlineHeight": 2, +- "_cacheMode": 0, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "uqmbUEokWLSRJcE2WyAX3P" +- }, +- { +- "__type__": "cc.PrefabInfo", +- "root": { +- "__id__": 1 +- }, +- "asset": { +- "__id__": 0 +- }, +- "fileId": "3f9L4cV5lBFqhSrPc5+4Lz", ++ "fileId": "NqCat61lGN7yiwVeO31H7h", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "Label", ++ "_name": "房卡修改提示文字", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +- "__id__": 6 ++ "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { +- "__id__": 32 ++ "__id__": 21 ++ }, ++ { ++ "__id__": 23 + }, + { +- "__id__": 34 ++ "__id__": 25 + } + ], + "_prefab": { +- "__id__": 36 ++ "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": "0", +- "y": "0", ++ "x": -50, ++ "y": 22, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, +- "z": 0 ++ "z": 0, ++ "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", +@@ -743,21 +527,25 @@ + "_id": "" + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "dm532BGJjB2aZNHpz1PdMi" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 31 ++ "__id__": 19 + }, + "_enabled": true, + "__prefab": { +- "__id__": 33 ++ "__id__": 20 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 80, +- "height": 50.4 ++ "width": 168, ++ "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -768,7 +556,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "jc4DVDW8KYoG6w1CWAgaqx" ++ "fileId": "LWGC964Mcb5zucbBjSZtko" + }, + { + "__type__": "cc.Label", +@@ -776,13 +564,23 @@ + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 31 ++ "__id__": 19 + }, + "_enabled": true, + "__prefab": { +- "__id__": 35 ++ "__id__": 22 + }, +- "_string": "确认", ++ "_customMaterial": null, ++ "_srcBlendFactor": 2, ++ "_dstBlendFactor": 4, ++ "_color": { ++ "__type__": "cc.Color", ++ "r": 255, ++ "g": 255, ++ "b": 255, ++ "a": 255 ++ }, ++ "_string": "房卡修改提示文字", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, +@@ -799,11 +597,66 @@ + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, ++ "_enableOutline": false, ++ "_outlineColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_outlineWidth": 2, ++ "_enableShadow": false, ++ "_shadowColor": { ++ "__type__": "cc.Color", ++ "r": 0, ++ "g": 0, ++ "b": 0, ++ "a": 255 ++ }, ++ "_shadowOffset": { ++ "__type__": "cc.Vec2", ++ "x": 2, ++ "y": 2 ++ }, ++ "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "F8cpxtFmTsn2TwovVoH7u0" ++ "fileId": "Nc9dD7qyJrFmq1WVk1m0KV" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 19 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 24 ++ }, ++ "_alignFlags": 24, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": -50, ++ "_verticalCenter": 22, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -813,27 +666,31 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "9fZA19vjBJQo/kdIDqi20q", ++ "fileId": "GkjvavsbQSlvvDq64HjcO1", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "w2c4v3GGXG2a3kPHEkr2wI" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 6 ++ "__id__": 2 + }, + "_enabled": true, + "__prefab": { +- "__id__": 38 ++ "__id__": 27 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 40, +- "height": 36 ++ "width": 1600, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -844,112 +701,41 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "p/6+76eUUE4Aje1e0XPPVP" +- }, +- { +- "__type__": "cc.Sprite", +- "_name": "", +- "_objFlags": 0, +- "__editorExtras__": {}, +- "node": { +- "__id__": 6 +- }, +- "_enabled": true, +- "__prefab": { +- "__id__": 40 +- }, +- "_spriteFrame": { +- "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", +- "__expectedType__": "cc.SpriteFrame" +- }, +- "_customMaterial": null, +- "_srcBlendFactor": 2, +- "_dstBlendFactor": 4, +- "_color": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 +- }, +- "_type": 1, +- "_fillType": 0, +- "_sizeMode": 0, +- "_fillCenter": { +- "__type__": "cc.Vec2", +- "x": 0, +- "y": 0 +- }, +- "_fillStart": 0, +- "_fillRange": 0, +- "_isTrimmedMode": true, +- "_useGrayscale": false, +- "_atlas": null, +- "_id": "" +- }, +- { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "TSuk5BAzMzCHD0FnUyHhqJ" ++ "fileId": "Veu7zEGD5sfR2vV9ojRTAp" + }, + { +- "__type__": "cc.Button", ++ "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { +- "__id__": 6 ++ "__id__": 2 + }, + "_enabled": true, + "__prefab": { +- "__id__": 42 +- }, +- "_interactable": true, +- "_transition": 3, +- "_normalColor": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 +- }, +- "_hoverColor": { +- "__type__": "cc.Color", +- "r": 211, +- "g": 211, +- "b": 211, +- "a": 255 +- }, +- "_pressedColor": { +- "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, +- "a": 255 +- }, +- "_disabledColor": { +- "__type__": "cc.Color", +- "r": 124, +- "g": 124, +- "b": 124, +- "a": 255 +- }, +- "_normalSprite": null, +- "_hoverSprite": null, +- "_pressedSprite": null, +- "_disabledSprite": null, +- "_duration": 0.1, +- "_zoomScale": 1.2, +- "_target": { +- "__id__": 6 ++ "__id__": 29 + }, +- "_clickEvents": [], ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, + "_id": "" + }, + { +- "__type__": "cc.CompPrefabInfo", +- "fileId": "4dre4KRJdqo7v0vfELsdEd" +- }, +- { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 +@@ -957,12 +743,16 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "e4tZjyPxtAp6MndhYUMwvK", ++ "fileId": "ChU5G14IaGKqncFD2fmdu2", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { ++ "__type__": "cc.CompPrefabInfo", ++ "fileId": "a9aLvdVmXDoXB4GqzvRJLj" ++ }, ++ { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, +@@ -972,12 +762,12 @@ + }, + "_enabled": true, + "__prefab": { +- "__id__": 45 ++ "__id__": 32 + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 100, +- "height": 100 ++ "width": 1600, ++ "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -988,7 +778,39 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "l5eR8GCOWNKNxEDH1c08Ru" ++ "fileId": "FDY4fLVF3pmqA1vMNbRctB" ++ }, ++ { ++ "__type__": "cc.Widget", ++ "_name": "", ++ "_objFlags": 0, ++ "__editorExtras__": {}, ++ "node": { ++ "__id__": 1 ++ }, ++ "_enabled": true, ++ "__prefab": { ++ "__id__": 34 ++ }, ++ "_alignFlags": 45, ++ "_target": null, ++ "_left": 0, ++ "_right": 0, ++ "_top": 0, ++ "_bottom": 0, ++ "_horizontalCenter": 0, ++ "_verticalCenter": 0, ++ "_isAbsLeft": true, ++ "_isAbsRight": true, ++ "_isAbsTop": true, ++ "_isAbsBottom": true, ++ "_isAbsHorizontalCenter": true, ++ "_isAbsVerticalCenter": true, ++ "_originalWidth": 0, ++ "_originalHeight": 0, ++ "_alignMode": 2, ++ "_lockFlags": 0, ++ "_id": "" + }, + { + "__type__": "cc.PrefabInfo", +@@ -998,7 +820,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "a6KnHpa/hF16wWu5s9JMba", ++ "fileId": "8eBUIfd1BR75dFIZlxxcNl", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null diff --git a/cocoscreator_projects/scripts/run-framework-tests.mjs b/cocoscreator_projects/scripts/run-framework-tests.mjs index 3e4d35e..72bf17f 100644 --- a/cocoscreator_projects/scripts/run-framework-tests.mjs +++ b/cocoscreator_projects/scripts/run-framework-tests.mjs @@ -1,6 +1,7 @@ -// 递归收集 framework-tests 下所有 *.test.ts 交给 node 测试运行器。 +// 递归收集 framework-tests 下所有 *.test.{ts,mjs} 交给 node 测试运行器。 // node --test 的 glob 模式需 v20.14+,本仓库当前 node 20.13.x 不支持, // 故用此零依赖、跨平台 runner 显式枚举文件,保持 test:framework 行为一致。 +// *.test.mjs: legacy-layer-migration 等纯 ESM 脚本测试 (Tasks 9-12 legacy 迁移管线). import { readdirSync, statSync } from 'node:fs'; import { join } from 'node:path'; import { spawnSync } from 'node:child_process'; @@ -11,12 +12,12 @@ const files = []; for (const entry of readdirSync(dir)) { const p = join(dir, entry); if (statSync(p).isDirectory()) walk(p); - else if (p.endsWith('.test.ts')) files.push(p); + else if (p.endsWith('.test.ts') || p.endsWith('.test.mjs')) files.push(p); } })(root); if (files.length === 0) { - console.error(`[run-framework-tests] 未发现任何 *.test.ts(root=${root})`); + console.error(`[run-framework-tests] 未发现任何 *.test.{ts,mjs}(root=${root})`); process.exit(1); } diff --git a/cocoscreator_projects/scripts/run-legacy-migration-batch.mjs b/cocoscreator_projects/scripts/run-legacy-migration-batch.mjs new file mode 100644 index 0000000..ebc9616 --- /dev/null +++ b/cocoscreator_projects/scripts/run-legacy-migration-batch.mjs @@ -0,0 +1,60 @@ +#!/usr/bin/env node +// 批量跑 legacy-layer → Cocos prefab CLI。 +// 每条 target: → → .prefab + .diff. +// +// 设计要点: +// - 全部输出到隔离 OUT_DIR (out/legacy-migration/), 不直接覆盖 YouleNexus 现有 prefab. +// - 单个 target 失败 (例如 ImgResID 未导入 sprite) 不阻塞后续 target, 日志记录后继续. +// - per "下游不兜底" 原则: CLI 本身必须 throw 让错误暴露; batch 仅负责捕获 + 汇总, 不做修补. +import { execSync } from 'node:child_process'; + +const ROOT = process.cwd(); // assume run from cocoscreator_projects/ +const OUT_DIR = `${ROOT}/YouleNexus/out/legacy-migration`; +const SOURCE = `${ROOT}/../projects/Game_Surface_3/save`; + +// 按 spec 已核实映射表 (11 个 prefab). Layer10_Protocol + Login_Layer + Layer619_BackOtherGame 三个 PoC 已存在, +// 但 batch 仍会重新生成它们 (idempotent — 覆盖 out/legacy-migration/*.prefab + .diff). +const targets = [ + { xml: 'Layer00002.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/views/Login_Layer.prefab', name: 'Login_Layer', note: 'PoC 3 (Layer00002)' }, + { xml: 'Layer00017.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/views/PlayerInfoView.prefab', name: 'MenuPlayerInfo_Layer', note: '拍板 A (Layer00017)' }, + { xml: 'Layer00029.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Group106_PhoneVerify.prefab', name: 'phoneInfo' }, + { xml: 'Layer00010.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer10_Protocol.prefab', name: 'Protol_Layer', note: 'PoC 2 (Layer00010)' }, + { xml: 'Layer00609.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer609_Setting.prefab', name: 'Setting_Layer' }, + { xml: 'Layer00612.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer612_Tips.prefab', name: 'Tips_Layer' }, + { xml: 'Layer00613.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer613_RoomCardUpdate.prefab', name: 'updateRoomCard_Layer' }, + { xml: 'Layer00614.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer614_Loading.prefab', name: 'Loading_Layer' }, + { xml: 'Layer00615.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer615_Reconnect.prefab', name: 'Reconnect_Layer' }, + { xml: 'Layer00616.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer616_Kick.prefab', name: 'Kick_Layer' }, + { xml: 'Layer00008.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer617_Notice.prefab', name: 'Notice_Layer', note: '拍板 B (Layer00008)' }, + { xml: 'Layer00619.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer619_BackOtherGame.prefab', name: 'BackHall_Layer', note: 'PoC 1 (Layer00619)' }, + { xml: 'Layer00620.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer620_Record.prefab', name: 'recordLayer' }, +]; + +const results = { ok: [], failed: [] }; +console.log(`Generating ${targets.length} prefabs to ${OUT_DIR}\n`); + +for (const t of targets) { + console.log(`\n=== Processing ${t.name} (${t.xml}) ===`); + try { + execSync( + `node scripts/legacy-layer-to-cocos-prefab-cli.mjs "${SOURCE}/${t.xml}" "${ROOT}/${t.prefab}" "${OUT_DIR}"`, + { stdio: 'inherit' } + ); + results.ok.push(t.name); + } catch (e) { + console.error(` ⚠️ FAILED: ${t.name}: ${(e.message || String(e)).slice(0, 200)}`); + results.failed.push({ name: t.name, xml: t.xml, error: (e.message || String(e)).slice(0, 200) }); + // Continue with next target — partial success acceptable per "不静默兜底" + batch resilience + } +} + +console.log('\n=== Batch complete ==='); +console.log(`Output dir: ${OUT_DIR}`); +console.log(`OK: ${results.ok.length} | FAILED: ${results.failed.length}`); +if (results.failed.length > 0) { + console.log('\nFailed targets:'); + for (const f of results.failed) { + console.log(` - ${f.name} (${f.xml}): ${f.error}`); + } +} +console.log('\nNext step: human reviews each .diff and decides whether to overwrite YouleNexus original prefabs.'); \ No newline at end of file From cb3bd54175b92bab7bc1e155788778983b4dff93 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 2 Sep 2026 09:11:51 +0800 Subject: [PATCH 16/16] fix(scripts): final review Critical+Important fixes (Widget alignment, full readLayerXml, Label _string, atlas selection, hard-coded paths, exit code, dead code removal) --- .../out/legacy-migration/Login_Layer.prefab | 3425 +++++++++++++++++ .../legacy-migration/Login_Layer.prefab.diff | 1217 ++++++ .../YouleNexus/package-lock.json | 37 +- cocoscreator_projects/YouleNexus/package.json | 4 - .../legacy-layer-migration/_smoke-iconv.mjs | 11 - .../coord-calculator.test.mjs | 47 +- .../fixtures/spirit-semantics.json | 2 +- .../legacy-layer-migration/poc-login.test.mjs | 43 +- .../poc-protocol.test.mjs | 12 +- .../prefab-emitter.test.mjs | 24 + .../spirit-to-node.test.mjs | 6 +- .../spirit-type-reverse.test.mjs | 4 +- .../sprite-uuid-resolver.test.mjs | 8 +- .../xml-parser.test.mjs | 37 +- cocoscreator_projects/package-lock.json | 25 +- cocoscreator_projects/package.json | 3 +- .../legacy-layer-to-cocos-prefab-cli.mjs | 41 +- .../scripts/legacy-layer-to-cocos-prefab.mjs | 304 +- .../scripts/run-legacy-migration-batch.mjs | 12 +- 19 files changed, 5076 insertions(+), 186 deletions(-) create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Login_Layer.prefab create mode 100644 cocoscreator_projects/YouleNexus/out/legacy-migration/Login_Layer.prefab.diff delete mode 100644 cocoscreator_projects/framework-tests/legacy-layer-migration/_smoke-iconv.mjs diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Login_Layer.prefab b/cocoscreator_projects/YouleNexus/out/legacy-migration/Login_Layer.prefab new file mode 100644 index 0000000..14839cb --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Login_Layer.prefab @@ -0,0 +1,3425 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "Login_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "Login_Layer", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 152 + }, + { + "__id__": 154 + } + ], + "_prefab": { + "__id__": 156 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "group-2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 11 + }, + { + "__id__": 19 + }, + { + "__id__": 27 + }, + { + "__id__": 35 + }, + { + "__id__": 43 + }, + { + "__id__": 51 + }, + { + "__id__": 59 + }, + { + "__id__": 67 + }, + { + "__id__": 75 + }, + { + "__id__": 83 + }, + { + "__id__": 91 + }, + { + "__id__": 99 + }, + { + "__id__": 107 + }, + { + "__id__": 115 + }, + { + "__id__": 123 + }, + { + "__id__": 131 + }, + { + "__id__": 139 + } + ], + "_active": true, + "_components": [ + { + "__id__": 147 + }, + { + "__id__": 149 + } + ], + "_prefab": { + "__id__": 151 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "微信登录背景", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "emEOf90cI4gNtR0RG7EGAV" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "e36acab8-e623-4bfb-af05-3c6fd2fddfb4@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dd5tJ5czYGBZyTvpFuzYal" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0yfLBrBSt6rtFYodCRc1cD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "NU7nrPQGogYAXyfrzCeDsM", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit405", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 123.5, + "y": 143, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 59, + "height": 148 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "QEUpwMndeZmF9YDmYjCDtR" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8a077fab-398e-4af7-af1b-18acd498a10c@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Kt7ZKOPMNWErpHmNUDt10R" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": 123.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "nDC1oMt6gCCjJje1rT5bBf" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "UHwd2I0T8JPdmE4n8Fyrvn", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "版本显示", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 20 + }, + { + "__id__": 22 + }, + { + "__id__": 24 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -576, + "y": 335.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 96, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c4rYVXTYG1FZtS9Td5QgRl" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "版本显示", + "_horizontalAlign": 0, + "_verticalAlign": 0, + "_actualFontSize": 18, + "_fontSize": 18, + "_fontFamily": "Arial", + "_lineHeight": 0, + "_overflow": 0, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "pFqJaPz8fug6eDB60GSGZf" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_alignFlags": 9, + "_target": null, + "_left": -576, + "_top": 335.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "hacWqWhax8lH6dWOrppicG" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ln5ypbMqYDKBmgQRmsEHDG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "协议确认", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 30 + }, + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -135, + "y": -207.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 52, + "height": 51 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "k64h4IAYX2VNZwGi9u7vPy" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "3756df6d-17cf-4903-81cb-66779cdd7d5e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "jZNzyFnGjz2gf6BbdGGSMJ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": -135, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "TwmFxsqftGUROvCj6Xq41O" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "EIvLPh8JplBWwC0RtVALIz", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "协议内容", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 36 + }, + { + "__id__": 38 + }, + { + "__id__": 40 + } + ], + "_prefab": { + "__id__": 42 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 35, + "y": -210.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 37 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 220, + "height": 29 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "UrQisXMNBt6tQje2aeek4Z" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 39 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "d88f0180-d745-4132-abc0-54907ea78a4a@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "z3jJhYxW7QtQSxFAli8Qmu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": 35, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Hz55C8PiULYT1wXYVS2TYQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "Z2qzxf6mFNLmyuyfZv11k8", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit481", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 44 + }, + { + "__id__": 46 + }, + { + "__id__": 48 + } + ], + "_prefab": { + "__id__": 50 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 580, + "y": 300, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 45 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "WA18mJ3TChc0X80qMwmoq7" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 47 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Op8g0q885CmeTHu798JBjq" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 49 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": 580, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "aRPoaVKJQ0W4R4pBDY3Qmg" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "tT7nGlSchN5DL2akDuRwuH", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit482", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 52 + }, + { + "__id__": 54 + }, + { + "__id__": 56 + } + ], + "_prefab": { + "__id__": 58 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -580, + "y": -300, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 53 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "tDPE3ExtHzhurb52tevsnq" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 55 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7eZtSiJIFTzs6uZ6ZP2FPB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 57 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": -580, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cPg0eOhnYrYXZkVnXnMMgC" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "EXcbPGke9S15gfyfEIUgUp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit177", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 60 + }, + { + "__id__": 62 + }, + { + "__id__": 64 + } + ], + "_prefab": { + "__id__": 66 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 60, + "y": -75.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 61 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 320, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "yGKU0TTNqGylSwWLFDCDNL" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 63 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "bad32119-1ff1-402d-b984-b99e247fac84@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "JMZwrwpZOfpF42bFkehujK" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 65 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": 60, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "k3Bc8XktPcacEpHBDCnq1S" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "x0Vyz4Cfiyz6i4B4WwD3FU", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "微信登录", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 68 + }, + { + "__id__": 70 + }, + { + "__id__": 72 + } + ], + "_prefab": { + "__id__": 74 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -182, + "y": -82, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 69 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 400, + "height": 116 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6yVlNIAoDxlDpuDHOhHTZ0" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 71 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "30f328be-c4ef-4356-870e-add2c94e9acc@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "zOsgFnCABkzWThchFkZwpl" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 73 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": -182, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6uFQHQORmydwR2bfrrXVKk" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "rkCbtm5n6oh826mxJs5Wqk", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit3254", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 76 + }, + { + "__id__": 78 + }, + { + "__id__": 80 + } + ], + "_prefab": { + "__id__": 82 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -147.5, + "y": -81.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 77 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 301, + "height": 194 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2eDFTrwJnZzfYA8aDnRpFj" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 79 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "069d4a2a-6672-40b8-b05f-1cb520fab3de@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_reverse": false, + "_totalLength": 100, + "_progress": 0, + "_barSprite": null, + "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "M5MpW6KEgh6jKnnpsZTWuZ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 81 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": -147.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9ituRHqifz7EGuz6QkWH8B" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4cZeYo1UMMkTeWc5AUA8ZV", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit3255", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 84 + }, + { + "__id__": 86 + }, + { + "__id__": 88 + } + ], + "_prefab": { + "__id__": 90 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0.5, + "y": -81.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 85 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 301, + "height": 194 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ustyOSQXZegZhQ3daOwC4D" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 87 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "069d4a2a-6672-40b8-b05f-1cb520fab3de@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_reverse": false, + "_totalLength": 100, + "_progress": 0, + "_barSprite": null, + "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "hXJnRtOXf5c4CUoR7v525p" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 89 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": 0.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "REBOTJJ8mwPOoK9pEBgq5B" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ToZiObaKMaa4LJFidMbofi", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit106", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 92 + }, + { + "__id__": 94 + }, + { + "__id__": 96 + } + ], + "_prefab": { + "__id__": 98 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 256, + "y": -219.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 93 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 101 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4lwUnIyDRUbQsrpiwXkft4" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 95 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "00b9b51e-723d-4378-b751-4c170a1b7c2c@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_reverse": false, + "_totalLength": 100, + "_progress": 0, + "_barSprite": null, + "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "S8nRiRo0wlcyN1ZYw46y8O" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 91 + }, + "_enabled": true, + "__prefab": { + "__id__": 97 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": 256, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "IXcvCwuviDXPd7PxkK1MQQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "eHeTl6C8iGJzhi8AOMaH5a", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中遮罩", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 100 + }, + { + "__id__": 102 + }, + { + "__id__": 104 + } + ], + "_prefab": { + "__id__": 106 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": { + "__id__": 101 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "yufDlALt9JexFdbC7hl3iD" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": { + "__id__": 103 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "dcc4530b-344b-40b6-8fbb-9fa35db6a289@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "k4U2wV5EefHuQnXExh7uar" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 99 + }, + "_enabled": true, + "__prefab": { + "__id__": 105 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9eo1Js3HlZaNCpb6PsEFxD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1nfD5nsVw3pjdiRmMobzQd", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit159", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 108 + }, + { + "__id__": 110 + }, + { + "__id__": 112 + } + ], + "_prefab": { + "__id__": 114 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -76, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 107 + }, + "_enabled": true, + "__prefab": { + "__id__": 109 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 170 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "to5AfxvdQZG4vgLBnRGytJ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 107 + }, + "_enabled": true, + "__prefab": { + "__id__": 111 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b04584c-c0f4-4586-8be7-05b0adca4157@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6ahfulryu5gHLQcPmUHycf" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 107 + }, + "_enabled": true, + "__prefab": { + "__id__": 113 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "pUnl0PAtUa2y3V1PN1LZeH" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "zdV8ALT1n1oWJQVZpNLZw5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中头像", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 116 + }, + { + "__id__": 118 + }, + { + "__id__": 120 + } + ], + "_prefab": { + "__id__": 122 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -101, + "y": -75, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": { + "__id__": 117 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 96, + "height": 96 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bMLLOqbBF82WDmRMC3HqVC" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": { + "__id__": 119 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "60da43f5-f3c2-4b9f-9123-fad81f8f8af5@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "GXCGrxupCNNW74PltIEt1Y" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": { + "__id__": 121 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": -101, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "oKEDHJEiJJkSTnfnvdyEDM" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "thhJONnSizhpHiS7PfgqXv", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中昵称", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 124 + }, + { + "__id__": 126 + }, + { + "__id__": 128 + } + ], + "_prefab": { + "__id__": 130 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 67.5, + "y": -46, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 123 + }, + "_enabled": true, + "__prefab": { + "__id__": 125 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "chbsrnVhXPH9r3luXtzTL8" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 123 + }, + "_enabled": true, + "__prefab": { + "__id__": 127 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "等", + "_horizontalAlign": 0, + "_verticalAlign": 0, + "_actualFontSize": 16, + "_fontSize": 16, + "_fontFamily": "Arial", + "_lineHeight": 0, + "_overflow": 0, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ppRuB8Fy6K6LxJVkLop7jm" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 123 + }, + "_enabled": true, + "__prefab": { + "__id__": 129 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": 67.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "EavhE8B5ASZgxrg7oqAlOo" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "XEihJJHK5TuE5LzbCsxJWL", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中动画", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 132 + }, + { + "__id__": 134 + }, + { + "__id__": 136 + } + ], + "_prefab": { + "__id__": 138 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 73, + "y": -106, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 131 + }, + "_enabled": true, + "__prefab": { + "__id__": 133 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 178, + "height": 90 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "TSkFxhlMKpKInBoiriNCyH" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 131 + }, + "_enabled": true, + "__prefab": { + "__id__": 135 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "41c0f42d-631a-4a3f-abf1-a36ed787e563@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_reverse": false, + "_totalLength": 100, + "_progress": 0, + "_barSprite": null, + "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "OFmcrtnEgfLAwekSIE4hLo" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 131 + }, + "_enabled": true, + "__prefab": { + "__id__": 137 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": 73, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "SvCaxIiMNg8KNozj6LFIXa" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "NbT62jkx9uxCs3D0Wp6i98", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "登录中头像框", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 140 + }, + { + "__id__": 142 + }, + { + "__id__": 144 + } + ], + "_prefab": { + "__id__": 146 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -101, + "y": -75, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 139 + }, + "_enabled": true, + "__prefab": { + "__id__": 141 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "HwEGv9rmbwHBByAjGlQdct" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 139 + }, + "_enabled": true, + "__prefab": { + "__id__": 143 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b6310388-a682-483c-9d39-17c8876f0b49@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "B0jAIERNY5j4y9PAggpM6f" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 139 + }, + "_enabled": true, + "__prefab": { + "__id__": 145 + }, + "_alignFlags": 16, + "_target": null, + "_horizontalCenter": -101, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "wW26lPOKrLL99fXW9nOyit" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "SWSxN6R1IcoAUbRiwsRrwe", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 148 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "YOF9LA7yNaunEEdmoGMvsJ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 150 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "vJDvwGkrqQDtsLDhbT02Mv" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "hYB3ynWkhHrTm6JcT8xcnR", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 153 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "uHTRuSn3PUbL5J4fDf7BEB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 155 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "nSA22NzUEwZDS1V0z5EAXQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "Z7QNcggJd5TraSFFb8Efl9", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/out/legacy-migration/Login_Layer.prefab.diff b/cocoscreator_projects/YouleNexus/out/legacy-migration/Login_Layer.prefab.diff new file mode 100644 index 0000000..921e067 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/out/legacy-migration/Login_Layer.prefab.diff @@ -0,0 +1,1217 @@ +--- YouleNexus/assets/framework/ui/prefabs/Login_Layer.prefab 2026-08-30 09:41:37.662742200 +0800 ++++ YouleNexus\out\legacy-migration\Login_Layer.prefab 2026-09-02 09:11:02.668387500 +0800 +@@ -247,7 +247,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "iULXAIO7sg7gTpoezFmeLC" ++ "fileId": "emEOf90cI4gNtR0RG7EGAV" + }, + { + "__type__": "cc.Sprite", +@@ -292,7 +292,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "8YK3bC50OJHZMValxeLYJn" ++ "fileId": "dd5tJ5czYGBZyTvpFuzYal" + }, + { + "__type__": "cc.Widget", +@@ -312,8 +312,6 @@ + "_right": 0, + "_top": 0, + "_bottom": 0, +- "_horizontalCenter": 0, +- "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, +@@ -328,7 +326,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "0mmfwijLB4NV+VLLPXcXHq" ++ "fileId": "0yfLBrBSt6rtFYodCRc1cD" + }, + { + "__type__": "cc.PrefabInfo", +@@ -338,14 +336,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "a7wGOuZWxOmrGUN1vwlqx3", ++ "fileId": "NU7nrPQGogYAXyfrzCeDsM", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "渠道logo", ++ "_name": "Spirit405", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +@@ -422,7 +420,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "sCeiBO5R+7MyH0mwidCPqF" ++ "fileId": "QEUpwMndeZmF9YDmYjCDtR" + }, + { + "__type__": "cc.Sprite", +@@ -467,7 +465,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "fHeeUzs6GPpxuQzKxwzzMt" ++ "fileId": "Kt7ZKOPMNWErpHmNUDt10R" + }, + { + "__type__": "cc.Widget", +@@ -483,10 +481,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": 123.5, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -503,7 +497,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "LlOWm7mGP2e/if1wSa4MAJ" ++ "fileId": "nDC1oMt6gCCjJje1rT5bBf" + }, + { + "__type__": "cc.PrefabInfo", +@@ -513,7 +507,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "feD0xjeZBGkpHkbwSGiDty", ++ "fileId": "UHwd2I0T8JPdmE4n8Fyrvn", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -544,8 +538,8 @@ + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": -741.744140625, +- "y": 329.8, ++ "x": -576, ++ "y": 335.5, + "z": 0 + }, + "_lrot": { +@@ -585,8 +579,8 @@ + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 84.51171875, +- "height": 50.4 ++ "width": 96, ++ "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -597,7 +591,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "FWwMSCO/5rluUD2Oio4UAq" ++ "fileId": "c4rYVXTYG1FZtS9Td5QgRl" + }, + { + "__type__": "cc.Label", +@@ -621,15 +615,15 @@ + "b": 255, + "a": 255 + }, +- "_string": "label", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, ++ "_string": "版本显示", ++ "_horizontalAlign": 0, ++ "_verticalAlign": 0, ++ "_actualFontSize": 18, ++ "_fontSize": 18, + "_fontFamily": "Arial", +- "_lineHeight": 40, ++ "_lineHeight": 0, + "_overflow": 0, +- "_enableWrapText": true, ++ "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, +@@ -665,7 +659,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "ZK21TfPV4lByDfEzlJpj67" ++ "fileId": "pFqJaPz8fug6eDB60GSGZf" + }, + { + "__type__": "cc.Widget", +@@ -681,12 +675,8 @@ + }, + "_alignFlags": 9, + "_target": null, +- "_left": 16, +- "_right": 0, +- "_top": 5, +- "_bottom": 0, +- "_horizontalCenter": 0, +- "_verticalCenter": 0, ++ "_left": -576, ++ "_top": 335.5, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, +@@ -701,7 +691,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "oJq1MLcBbfKti7tx6ctSNe" ++ "fileId": "hacWqWhax8lH6dWOrppicG" + }, + { + "__type__": "cc.PrefabInfo", +@@ -711,7 +701,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "20Xso3z6JJQKZ42IJ33zq/", ++ "fileId": "ln5ypbMqYDKBmgQRmsEHDG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -795,7 +785,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "neleUst2KTU2LlXpAMCFhN" ++ "fileId": "k64h4IAYX2VNZwGi9u7vPy" + }, + { + "__type__": "cc.Sprite", +@@ -840,7 +830,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "EvVaxzxQFhtLzVQNItxNdW" ++ "fileId": "jZNzyFnGjz2gf6BbdGGSMJ" + }, + { + "__type__": "cc.Widget", +@@ -856,10 +846,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": -135, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -876,7 +862,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "KYkVZcintke6KYFE9t5k42" ++ "fileId": "TwmFxsqftGUROvCj6Xq41O" + }, + { + "__type__": "cc.PrefabInfo", +@@ -886,7 +872,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "7bOUfugfZGRJARCABMOobI", ++ "fileId": "EIvLPh8JplBWwC0RtVALIz", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -970,7 +956,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "Zlk+jHwHDgDjjO/2GmRdU2" ++ "fileId": "UrQisXMNBt6tQje2aeek4Z" + }, + { + "__type__": "cc.Sprite", +@@ -1015,7 +1001,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "QF/vke2RtRbsIC+gGB8SN9" ++ "fileId": "z3jJhYxW7QtQSxFAli8Qmu" + }, + { + "__type__": "cc.Widget", +@@ -1031,10 +1017,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": 35, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -1051,7 +1033,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "7hHQ87+BEcZDIlc5xQ72rG" ++ "fileId": "Hz55C8PiULYT1wXYVS2TYQ" + }, + { + "__type__": "cc.PrefabInfo", +@@ -1061,14 +1043,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "aa6JBxpmNMqbBB+2K20Gpm", ++ "fileId": "Z2qzxf6mFNLmyuyfZv11k8", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "隐藏快速登录-1", ++ "_name": "Spirit481", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +@@ -1092,7 +1074,7 @@ + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": 740, ++ "x": 580, + "y": 300, + "z": 0 + }, +@@ -1145,7 +1127,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "AtGmPQv1YhutagXTtH0tM9" ++ "fileId": "WA18mJ3TChc0X80qMwmoq7" + }, + { + "__type__": "cc.Sprite", +@@ -1190,7 +1172,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "ugQ9LFEwXjwhQOFIfb8JbR" ++ "fileId": "Op8g0q885CmeTHu798JBjq" + }, + { + "__type__": "cc.Widget", +@@ -1204,13 +1186,9 @@ + "__prefab": { + "__id__": 49 + }, +- "_alignFlags": 32, ++ "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, +- "_horizontalCenter": 0, ++ "_horizontalCenter": 580, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, +@@ -1226,7 +1204,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "fc7jjowMRN1HQrX5RGyhoE" ++ "fileId": "aRPoaVKJQ0W4R4pBDY3Qmg" + }, + { + "__type__": "cc.PrefabInfo", +@@ -1236,14 +1214,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "91rTYopDBL9KM2yVZVBBao", ++ "fileId": "tT7nGlSchN5DL2akDuRwuH", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "隐藏快速登录-2", ++ "_name": "Spirit482", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +@@ -1267,7 +1245,7 @@ + }, + "_lpos": { + "__type__": "cc.Vec3", +- "x": -740, ++ "x": -580, + "y": -300, + "z": 0 + }, +@@ -1320,7 +1298,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "Rv1sFY/PEUUBHfrWj0K2vy" ++ "fileId": "tDPE3ExtHzhurb52tevsnq" + }, + { + "__type__": "cc.Sprite", +@@ -1365,7 +1343,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "mNoKJCA/LbWsxk/d8bCgNg" ++ "fileId": "7eZtSiJIFTzs6uZ6ZP2FPB" + }, + { + "__type__": "cc.Widget", +@@ -1379,13 +1357,9 @@ + "__prefab": { + "__id__": 57 + }, +- "_alignFlags": 8, ++ "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, +- "_horizontalCenter": 0, ++ "_horizontalCenter": -580, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, +@@ -1401,7 +1375,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "sBcHhYKG7EWCZUi4b+z4/p" ++ "fileId": "cPg0eOhnYrYXZkVnXnMMgC" + }, + { + "__type__": "cc.PrefabInfo", +@@ -1411,14 +1385,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "367fmN1pJFfLrt7F61ASdT", ++ "fileId": "EXcbPGke9S15gfyfEIUgUp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "游客登录", ++ "_name": "Spirit177", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +@@ -1495,7 +1469,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "nM3jrVoPoAtSCrd1lc+sFU" ++ "fileId": "yGKU0TTNqGylSwWLFDCDNL" + }, + { + "__type__": "cc.Sprite", +@@ -1540,7 +1514,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "E3OWwsnVJg6La0hCp1TAmH" ++ "fileId": "JMZwrwpZOfpF42bFkehujK" + }, + { + "__type__": "cc.Widget", +@@ -1556,10 +1530,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": 60, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -1576,7 +1546,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "KwnjkdjbUtEfEx/lSowe0v" ++ "fileId": "k3Bc8XktPcacEpHBDCnq1S" + }, + { + "__type__": "cc.PrefabInfo", +@@ -1586,7 +1556,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "2eR+mJmtZA5pwXfrJgbwLc", ++ "fileId": "x0Vyz4Cfiyz6i4B4WwD3FU", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -1670,7 +1640,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "AStmAkDFz80+tKOtDTgg40" ++ "fileId": "6yVlNIAoDxlDpuDHOhHTZ0" + }, + { + "__type__": "cc.Sprite", +@@ -1715,7 +1685,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "3kEffJptuwLJWqXRl4PXvh" ++ "fileId": "zOsgFnCABkzWThchFkZwpl" + }, + { + "__type__": "cc.Widget", +@@ -1731,10 +1701,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": -182, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -1751,7 +1717,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "92pjO6/vAhDu4UiZYTpONU" ++ "fileId": "6uFQHQORmydwR2bfrrXVKk" + }, + { + "__type__": "cc.PrefabInfo", +@@ -1761,14 +1727,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "c5aH4JjRRDLohnSRekDoFh", ++ "fileId": "rkCbtm5n6oh826mxJs5Wqk", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "手机登录", ++ "_name": "Spirit3254", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +@@ -1834,7 +1800,7 @@ + "_contentSize": { + "__type__": "cc.Size", + "width": 301, +- "height": 97 ++ "height": 194 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -1845,10 +1811,10 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "3aluLDeUbGcQc3mqhFIukj" ++ "fileId": "2eDFTrwJnZzfYA8aDnRpFj" + }, + { +- "__type__": "cc.Sprite", ++ "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, +@@ -1874,23 +1840,16 @@ + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, +- "_fillType": 0, +- "_sizeMode": 0, +- "_fillCenter": { +- "__type__": "cc.Vec2", +- "x": 0, +- "y": 0 +- }, +- "_fillStart": 0, +- "_fillRange": 0, +- "_isTrimmedMode": true, +- "_useGrayscale": false, +- "_atlas": null, ++ "_reverse": false, ++ "_totalLength": 100, ++ "_progress": 0, ++ "_barSprite": null, ++ "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "HPxRiH5kIatkOccjh9+Qv3" ++ "fileId": "M5MpW6KEgh6jKnnpsZTWuZ" + }, + { + "__type__": "cc.Widget", +@@ -1906,10 +1865,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": -147.5, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -1926,7 +1881,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "oQPl/yyfVwBUouPLseP2B0" ++ "fileId": "9ituRHqifz7EGuz6QkWH8B" + }, + { + "__type__": "cc.PrefabInfo", +@@ -1936,14 +1891,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "09JyVrpCdPJYLfppQgkF0u", ++ "fileId": "4cZeYo1UMMkTeWc5AUA8ZV", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "快速登录", ++ "_name": "Spirit3255", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +@@ -2009,7 +1964,7 @@ + "_contentSize": { + "__type__": "cc.Size", + "width": 301, +- "height": 97 ++ "height": 194 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -2020,10 +1975,10 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "QH3qB/hile+1hGB7WwhJja" ++ "fileId": "ustyOSQXZegZhQ3daOwC4D" + }, + { +- "__type__": "cc.Sprite", ++ "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, +@@ -2045,27 +2000,20 @@ + "a": 255 + }, + "_spriteFrame": { +- "__uuid__": "b3da0c4f-98f1-4f42-81f5-368bb4c588fb@f9941", ++ "__uuid__": "069d4a2a-6672-40b8-b05f-1cb520fab3de@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, +- "_fillType": 0, +- "_sizeMode": 0, +- "_fillCenter": { +- "__type__": "cc.Vec2", +- "x": 0, +- "y": 0 +- }, +- "_fillStart": 0, +- "_fillRange": 0, +- "_isTrimmedMode": true, +- "_useGrayscale": false, +- "_atlas": null, ++ "_reverse": false, ++ "_totalLength": 100, ++ "_progress": 0, ++ "_barSprite": null, ++ "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "kFgpMABI+n7wzVVRqu4U8L" ++ "fileId": "hXJnRtOXf5c4CUoR7v525p" + }, + { + "__type__": "cc.Widget", +@@ -2081,10 +2029,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": 0.5, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -2101,7 +2045,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "uNLaRypRXliRTWKMgv4LQe" ++ "fileId": "REBOTJJ8mwPOoK9pEBgq5B" + }, + { + "__type__": "cc.PrefabInfo", +@@ -2111,14 +2055,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "0f9yY9AsREsb0jJYIMvu0L", ++ "fileId": "ToZiObaKMaa4LJFidMbofi", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "qq登录", ++ "_name": "Spirit106", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +@@ -2195,10 +2139,10 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "kJ7586oyO1NwpFJxOEzYKF" ++ "fileId": "4lwUnIyDRUbQsrpiwXkft4" + }, + { +- "__type__": "cc.Sprite", ++ "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, +@@ -2224,23 +2168,16 @@ + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, +- "_fillType": 0, +- "_sizeMode": 0, +- "_fillCenter": { +- "__type__": "cc.Vec2", +- "x": 0, +- "y": 0 +- }, +- "_fillStart": 0, +- "_fillRange": 0, +- "_isTrimmedMode": true, +- "_useGrayscale": false, +- "_atlas": null, ++ "_reverse": false, ++ "_totalLength": 100, ++ "_progress": 0, ++ "_barSprite": null, ++ "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "yZ9Knc9qgbubPNZTcNciJ9" ++ "fileId": "S8nRiRo0wlcyN1ZYw46y8O" + }, + { + "__type__": "cc.Widget", +@@ -2256,10 +2193,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": 256, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -2276,7 +2209,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "NYxH2sinS/0fM866ltYjbv" ++ "fileId": "IXcvCwuviDXPd7PxkK1MQQ" + }, + { + "__type__": "cc.PrefabInfo", +@@ -2286,7 +2219,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "dc78jPNNhPb7qqKNOVG6cy", ++ "fileId": "eHeTl6C8iGJzhi8AOMaH5a", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -2370,7 +2303,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "KuiZSy7MWeykJhKuQGKOg3" ++ "fileId": "yufDlALt9JexFdbC7hl3iD" + }, + { + "__type__": "cc.Sprite", +@@ -2415,7 +2348,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "jSjWN9ENtAlFdd1IXom2kM" ++ "fileId": "k4U2wV5EefHuQnXExh7uar" + }, + { + "__type__": "cc.Widget", +@@ -2435,8 +2368,6 @@ + "_right": 0, + "_top": 0, + "_bottom": 0, +- "_horizontalCenter": 0, +- "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, +@@ -2451,7 +2382,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "C2gZcnm4ZWiI7r1905s6EN" ++ "fileId": "9eo1Js3HlZaNCpb6PsEFxD" + }, + { + "__type__": "cc.PrefabInfo", +@@ -2461,14 +2392,14 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "70T5Pb7IxNiqX4/wWIgKEb", ++ "fileId": "1nfD5nsVw3pjdiRmMobzQd", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", +- "_name": "登录头像背景框", ++ "_name": "Spirit159", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { +@@ -2545,7 +2476,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "yPBrHwiAcChvoLE6trg+A1" ++ "fileId": "to5AfxvdQZG4vgLBnRGytJ" + }, + { + "__type__": "cc.Sprite", +@@ -2590,7 +2521,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "8fDgzTmgim8tG70wyqmyAt" ++ "fileId": "6ahfulryu5gHLQcPmUHycf" + }, + { + "__type__": "cc.Widget", +@@ -2606,10 +2537,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -2626,7 +2553,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "5Z2PW/qd24rV6/ZRxXxrET" ++ "fileId": "pUnl0PAtUa2y3V1PN1LZeH" + }, + { + "__type__": "cc.PrefabInfo", +@@ -2636,7 +2563,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "abJBMTFv1CdIUDChYjYYCz", ++ "fileId": "zdV8ALT1n1oWJQVZpNLZw5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -2720,7 +2647,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "26toWIct+myjRQsBoPTsgP" ++ "fileId": "bMLLOqbBF82WDmRMC3HqVC" + }, + { + "__type__": "cc.Sprite", +@@ -2765,7 +2692,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "dEyjMQwWdyu/YY66FALm1w" ++ "fileId": "GXCGrxupCNNW74PltIEt1Y" + }, + { + "__type__": "cc.Widget", +@@ -2781,10 +2708,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": -101, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -2801,7 +2724,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "LL5+BoUCi0ZILji/aCtwmu" ++ "fileId": "oKEDHJEiJJkSTnfnvdyEDM" + }, + { + "__type__": "cc.PrefabInfo", +@@ -2811,7 +2734,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "17etbKvH1IF5qLUACbTCVR", ++ "fileId": "thhJONnSizhpHiS7PfgqXv", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -2883,8 +2806,8 @@ + }, + "_contentSize": { + "__type__": "cc.Size", +- "width": 84.51171875, +- "height": 50.4 ++ "width": 21, ++ "height": 28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -2895,7 +2818,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "/TOmaDHIjDKTsdasEvk/eo" ++ "fileId": "chbsrnVhXPH9r3luXtzTL8" + }, + { + "__type__": "cc.Label", +@@ -2914,20 +2837,20 @@ + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", +- "r": 255, +- "g": 255, +- "b": 255, ++ "r": 0, ++ "g": 0, ++ "b": 0, + "a": 255 + }, +- "_string": "label", +- "_horizontalAlign": 1, +- "_verticalAlign": 1, +- "_actualFontSize": 40, +- "_fontSize": 40, ++ "_string": "等", ++ "_horizontalAlign": 0, ++ "_verticalAlign": 0, ++ "_actualFontSize": 16, ++ "_fontSize": 16, + "_fontFamily": "Arial", +- "_lineHeight": 40, ++ "_lineHeight": 0, + "_overflow": 0, +- "_enableWrapText": true, ++ "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, +@@ -2963,7 +2886,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "0IdDYElTQgnp8j975iSqQF" ++ "fileId": "ppRuB8Fy6K6LxJVkLop7jm" + }, + { + "__type__": "cc.Widget", +@@ -2979,10 +2902,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": 67.5, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -2999,7 +2918,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "9ygJw4FcB0ezJufpUHbIsk" ++ "fileId": "EavhE8B5ASZgxrg7oqAlOo" + }, + { + "__type__": "cc.PrefabInfo", +@@ -3009,7 +2928,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "fdF+2JUKFMVYyV8nL5r5PD", ++ "fileId": "XEihJJHK5TuE5LzbCsxJWL", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -3082,7 +3001,7 @@ + "_contentSize": { + "__type__": "cc.Size", + "width": 178, +- "height": 30 ++ "height": 90 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", +@@ -3093,10 +3012,10 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "mQ2Wbb+p3a/1qz4zxqX3li" ++ "fileId": "TSkFxhlMKpKInBoiriNCyH" + }, + { +- "__type__": "cc.Sprite", ++ "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, +@@ -3122,23 +3041,16 @@ + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, +- "_fillType": 0, +- "_sizeMode": 0, +- "_fillCenter": { +- "__type__": "cc.Vec2", +- "x": 0, +- "y": 0 +- }, +- "_fillStart": 0, +- "_fillRange": 0, +- "_isTrimmedMode": true, +- "_useGrayscale": false, +- "_atlas": null, ++ "_reverse": false, ++ "_totalLength": 100, ++ "_progress": 0, ++ "_barSprite": null, ++ "_mode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "kIYBNm5ZfhPN7qyJmkW4D2" ++ "fileId": "OFmcrtnEgfLAwekSIE4hLo" + }, + { + "__type__": "cc.Widget", +@@ -3154,10 +3066,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": 73, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -3174,7 +3082,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "uEwYXwzNJK+j9XvosozgjD" ++ "fileId": "SvCaxIiMNg8KNozj6LFIXa" + }, + { + "__type__": "cc.PrefabInfo", +@@ -3184,7 +3092,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "781XCyyIhOUpzTfoPB7nTy", ++ "fileId": "NbT62jkx9uxCs3D0Wp6i98", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -3268,7 +3176,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "DoMD5m5MHszF43482ivhCR" ++ "fileId": "HwEGv9rmbwHBByAjGlQdct" + }, + { + "__type__": "cc.Sprite", +@@ -3313,7 +3221,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "ADAQI1FM22jtrhfHQl1ebT" ++ "fileId": "B0jAIERNY5j4y9PAggpM6f" + }, + { + "__type__": "cc.Widget", +@@ -3329,10 +3237,6 @@ + }, + "_alignFlags": 16, + "_target": null, +- "_left": 0, +- "_right": 0, +- "_top": 0, +- "_bottom": 0, + "_horizontalCenter": -101, + "_verticalCenter": 0, + "_isAbsLeft": true, +@@ -3349,7 +3253,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "2O2cOvXeVSnTjSJG5G2BI6" ++ "fileId": "wW26lPOKrLL99fXW9nOyit" + }, + { + "__type__": "cc.PrefabInfo", +@@ -3359,7 +3263,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "19cVqqTJ5B0qJ+J6RTuNF2", ++ "fileId": "SWSxN6R1IcoAUbRiwsRrwe", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -3390,7 +3294,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "U47Darctkv06g9cW3Dx/qg" ++ "fileId": "YOF9LA7yNaunEEdmoGMvsJ" + }, + { + "__type__": "cc.Widget", +@@ -3426,7 +3330,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "rvMAdRo+P/26RRp2jcuw9g" ++ "fileId": "vJDvwGkrqQDtsLDhbT02Mv" + }, + { + "__type__": "cc.PrefabInfo", +@@ -3436,7 +3340,7 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "d4P87gqa5AIJltQ5D4Vthy", ++ "fileId": "hYB3ynWkhHrTm6JcT8xcnR", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null +@@ -3467,7 +3371,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "+FMwLLVIAD3ED36gsU/Ybt" ++ "fileId": "uHTRuSn3PUbL5J4fDf7BEB" + }, + { + "__type__": "cc.Widget", +@@ -3503,7 +3407,7 @@ + }, + { + "__type__": "cc.CompPrefabInfo", +- "fileId": "ciNsRmJfQOKTIOA/wiC/im" ++ "fileId": "nSA22NzUEwZDS1V0z5EAXQ" + }, + { + "__type__": "cc.PrefabInfo", +@@ -3513,7 +3417,9 @@ + "asset": { + "__id__": 0 + }, +- "fileId": "33yDavvzhB6IAjia4PLDbg", +- "targetOverrides": null ++ "fileId": "Z7QNcggJd5TraSFFb8Efl9", ++ "instance": null, ++ "targetOverrides": null, ++ "nestedPrefabInstanceRoots": null + } + ] +\ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/package-lock.json b/cocoscreator_projects/YouleNexus/package-lock.json index 1c00c27..b81db52 100644 --- a/cocoscreator_projects/YouleNexus/package-lock.json +++ b/cocoscreator_projects/YouleNexus/package-lock.json @@ -4,42 +4,7 @@ "requires": true, "packages": { "": { - "name": "YouleNexus", - "dependencies": { - "@xmldom/xmldom": "^0.9.12", - "iconv-lite": "^0.7.3" - } - }, - "node_modules/@xmldom/xmldom": { - "version": "0.9.12", - "resolved": "https://registry.npmmirror.com/@xmldom/xmldom/-/xmldom-0.9.12.tgz", - "integrity": "sha512-5AXjrcMClTryPe9LgZrygpB1lj7s0S9E0+W+AHaVKAVyHanafK86iPSvG5xHVSp/jC+VH1UXu0TAEmY279xH7A==", - "license": "MIT", - "engines": { - "node": ">=14.6" - } - }, - "node_modules/iconv-lite": { - "version": "0.7.3", - "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.7.3.tgz", - "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "license": "MIT" + "name": "YouleNexus" } } } diff --git a/cocoscreator_projects/YouleNexus/package.json b/cocoscreator_projects/YouleNexus/package.json index 3326a4a..0dd3191 100644 --- a/cocoscreator_projects/YouleNexus/package.json +++ b/cocoscreator_projects/YouleNexus/package.json @@ -3,9 +3,5 @@ "uuid": "15252ac4-d24e-4b2c-86b0-51caaf24f779", "creator": { "version": "3.8.8" - }, - "dependencies": { - "@xmldom/xmldom": "^0.9.12", - "iconv-lite": "^0.7.3" } } diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/_smoke-iconv.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/_smoke-iconv.mjs deleted file mode 100644 index 321db8a..0000000 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/_smoke-iconv.mjs +++ /dev/null @@ -1,11 +0,0 @@ -import { readFileSync } from 'node:fs'; -import iconv from 'iconv-lite'; - -const buf = readFileSync('framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'); -// NOTE: 实际 Layer00002.xml 是 UTF-8 编码 (XML 头声明 + 字节验证), -// spec/brief 要求的 GB18030 在该文件上会乱码 (微信登录背景 不可读). -// 转换工具应支持两种编码, 优先按 XML 声明, 否则按 GB18030 fallback. -const text = iconv.decode(buf, 'utf8'); -console.log('decoded length:', text.length); -console.log('contains 微信登录背景:', text.includes('微信登录背景')); -console.log('contains Login_Layer:', text.includes('Login_Layer')); \ No newline at end of file diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/coord-calculator.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/coord-calculator.test.mjs index 1e6e157..7d3d560 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/coord-calculator.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/coord-calculator.test.mjs @@ -1,6 +1,6 @@ import { test } from 'node:test'; import assert from 'node:assert/strict'; -import { computeLpos, computeContentSize } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; +import { computeLpos, computeContentSize, computeWidgetAlignment } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; test('computeLpos 锚点转换(实测验证:渠道logo)', () => { const spirit = { x: '734', y: '143', w: '59', h: '148' }; @@ -47,4 +47,49 @@ test('computeContentSize 默认 SizeCalcMode=0(字段缺失视作 0)', () => test('computeContentSize SizeCalcMode=1 → throw(不静默)', () => { const spirit = { w: '100', h: '50', sizeCalcMode: '1' }; assert.throws(() => computeContentSize(spirit), /SizeCalcMode=1.*reverse gameabc\.min\.js/); +}); + +test('computeContentSize SizeCalcMode=2 uses ImgResID natural size and relative ratios', () => { + const spirit = { + id: '2', imgResID: '20', w: '1280', h: '720', sizeCalcMode: '2', + sizeRelaWidth: '10000', sizeRelaHeight: '10000', + }; + const size = computeContentSize(spirit); + assert.equal(size.width, 1280); + assert.equal(size.height, 720); +}); + +test('computeWidgetAlignment derives full-screen, normal, and top-left alignment cases', () => { + const fullScreen = computeWidgetAlignment({ + name: '微信登录背景', x: '0', y: '0', w: '1280', h: '720', lpos: { x: 0, y: 0 }, + }); + assert.equal(fullScreen._alignFlags, 45); + assert.equal(fullScreen._left, 0); + assert.equal(fullScreen._right, 0); + assert.equal(fullScreen._top, 0); + assert.equal(fullScreen._bottom, 0); + assert.equal(fullScreen._horizontalCenter, undefined); + assert.equal(fullScreen._verticalCenter, undefined); + assert.equal(fullScreen._originalWidth, 100); + assert.equal(fullScreen._originalHeight, 100); + + const normal = computeWidgetAlignment({ + name: '渠道logo', x: '734', y: '143', w: '59', h: '148', lpos: { x: 123.5, y: 0 }, + }); + assert.equal(normal._alignFlags, 16); + assert.equal(normal._horizontalCenter, 123.5); + assert.equal(normal._verticalCenter, 0); + assert.equal(normal._left, undefined); + assert.equal(normal._right, undefined); + assert.equal(normal._top, undefined); + assert.equal(normal._bottom, undefined); + + const topLeft = computeWidgetAlignment({ + name: '版本显示', x: '16', y: '9', w: '96', h: '31', + }); + assert.equal(topLeft._alignFlags, 9); + assert.equal(topLeft._left, -576); + assert.equal(topLeft._top, 335.5); + assert.equal(topLeft._horizontalCenter, undefined); + assert.equal(topLeft._verticalCenter, undefined); }); \ No newline at end of file diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json index 56e59cc..2fdedbc 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json @@ -34,7 +34,7 @@ "rationale": "直接读精灵自身 Width/Height 字段作为 _contentSize; gameabc.min.js 中 SizeCalcMode=0 是最简路径 (背景图 Layer00001/00002 全屏 1280×720 即此路径)" }, "2": { - "formula": "parent_size = lookup_Spirit(Spirit.SizeParentID)._contentSize; _contentSize = { width: parent_size.width * Spirit.SizeRelaWidth / 10000, height: parent_size.height * Spirit.SizeRelaHeight / 10000 }; 当 WidthCalcMode=0 时回退到 Spirit.Width (parseFloat), 当 WidthCalcMode=1 时用 SizeRelaWidth 公式; HeightCalcMode 同理", + "formula": "image_natural_size = lookup gameabc_Image.json ImageFileList[imgResID === Spirit.ImgResID].w_all/h_all; parent_size = { width: image_natural_size.width, height: image_natural_size.height }; _contentSize = { width: parent_size.width * Spirit.SizeRelaWidth / 10000, height: parent_size.height * Spirit.SizeRelaHeight / 10000 }; 当 WidthCalcMode=0 时回退到 Spirit.Width (parseFloat), 当 WidthCalcMode=1 时用 SizeRelaWidth 公式; HeightCalcMode 同理", "rationale": "Layer00001 '友乐背景' (SizeCalcMode=2, SizeParentID=21, SizeRelaWidth=10000) / Layer00002 '微信登录背景' (SizeCalcMode=2, SizeParentID=20, SizeRelaWidth=10000) 全量采样: 全部 WidthCalcMode=1, HeightCalcMode=1, SizeRelaWidth=10000, SizeRelaHeight=10000; 即按 100% 比例继承父 spirit 尺寸; 这种 pattern 用于 '充满父容器' 的背景 (1280×720 全屏背景), SizeParentID 指向另一个 1280×720 的 spirit" } }, diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs index 39e2562..f4aa22c 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs @@ -1,7 +1,9 @@ import { test } from 'node:test'; import assert from 'node:assert/strict'; import { readFileSync } from 'node:fs'; +import { join } from 'node:path'; import { readLayerXml, emitPrefabJson } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; +import { ROOT, HOST_PROJECT } from '../../scripts/lib/paths.mjs'; // PoC 阶段 3 端到端: Layer00002.xml Login_Layer (18 spirits, group 2, 包含 Spirit405 渠道logo + // Spirit177 游客登录 anchor-test cases). 验证生成 prefab 与 fixtures/Login_Layer.prefab 在 @@ -16,8 +18,8 @@ import { readLayerXml, emitPrefabJson } from '../../scripts/legacy-layer-to-coco // layer.spirits 只保留 id=405 (渠道logo) + id=177 (游客登录) 两个 anchor-test case, 完全避开 // ImgResID 427 的依赖. 这是 Task 11 fix round 1 的 spec intent: 验证 anchor 公式精度, // 而不是验证 CLI 完整管线 (后者已由 poc-iconbutton.test.mjs / poc-protocol.test.mjs 覆盖). -const FIXTURE_XML = 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'; -const REFERENCE_PREFAB = 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/Login_Layer.prefab'; +const FIXTURE_XML = join(ROOT, 'framework-tests', 'legacy-layer-migration', 'fixtures', 'Layer00002.xml'); +const REFERENCE_PREFAB = join(HOST_PROJECT, 'assets', 'framework', 'ui', 'prefabs', 'Login_Layer.prefab'); function buildFilteredLayer() { const layer = readLayerXml(FIXTURE_XML); @@ -27,6 +29,43 @@ function buildFilteredLayer() { return layer; } +function nodeComponent(json, node, componentType) { + return json[node._components.map(ref => ref.__id__).find(index => json[index]?.__type__ === componentType)]; +} + +test('Login_Layer full-screen and normal node geometry matches reference strictly', () => { + const layer = readLayerXml(FIXTURE_XML); + layer.spirits = layer.spirits.filter(s => s.id === '2' || s.id === '405'); + const generated = emitPrefabJson(layer); + const expected = JSON.parse(readFileSync(REFERENCE_PREFAB, 'utf8')); + + const background = generated.find(o => o.__type__ === 'cc.Node' && o._name === '微信登录背景'); + const backgroundExpected = expected.find(o => o.__type__ === 'cc.Node' && o._name === '微信登录背景'); + assert.ok(background); + assert.ok(backgroundExpected); + assert.equal(background._lpos.x, backgroundExpected._lpos.x); + assert.equal(background._lpos.y, backgroundExpected._lpos.y); + assert.equal(nodeComponent(generated, background, 'cc.Widget')._alignFlags, 45); + assert.equal(nodeComponent(generated, background, 'cc.Widget')._originalWidth, 100); + assert.equal(nodeComponent(generated, background, 'cc.Widget')._originalHeight, 100); + assert.equal(nodeComponent(generated, background, 'cc.UITransform')._contentSize.width, 1600); + assert.equal(nodeComponent(generated, background, 'cc.UITransform')._contentSize.height, 720); + + const normal = generated.find(o => o.__type__ === 'cc.Node' && o._name === 'Spirit405'); + const normalExpected = expected.find(o => o.__type__ === 'cc.Node' && o._name === '渠道logo'); + assert.ok(normal); + assert.ok(normalExpected); + assert.equal(normal._lpos.x, normalExpected._lpos.x); + assert.equal(normal._lpos.y, normalExpected._lpos.y); + assert.equal(nodeComponent(generated, normal, 'cc.Widget')._alignFlags, 16); + assert.equal(nodeComponent(generated, normal, 'cc.Widget')._horizontalCenter, 123.5); + assert.equal(nodeComponent(generated, normal, 'cc.Widget')._verticalCenter, 0); + assert.equal(nodeComponent(generated, normal, 'cc.Widget')._left, undefined); + assert.equal(nodeComponent(generated, normal, 'cc.Widget')._top, undefined); + assert.equal(nodeComponent(generated, normal, 'cc.UITransform')._contentSize.width, 59); + assert.equal(nodeComponent(generated, normal, 'cc.UITransform')._contentSize.height, 148); +}); + test('PoC 阶段 3 - 渠道logo _lpos 误差 < 0.001 (bypass CLI to avoid sprite atlas dep)', () => { const layer = buildFilteredLayer(); const json = emitPrefabJson(layer); diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-protocol.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-protocol.test.mjs index 639864c..adf2f1d 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-protocol.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-protocol.test.mjs @@ -10,7 +10,7 @@ import { existsSync, readFileSync } from 'node:fs'; // Layer00010.xml 4 个 spirit 全属 group 37 (无 Layer 根直挂), 生成的 prefab 应有: // - 1 root Widget (default _alignFlags=45, 全屏铺满) // - 1 group-37 Widget (default _alignFlags=45) -// - 4 Spirit Widget (apply computeWidgetAlignment: _alignFlags=24=16|8 水平+垂直居中) +// - 4 Spirit Widget (apply computeWidgetAlignment: normal spirits use _alignFlags=16) const CLI = 'node scripts/legacy-layer-to-cocos-prefab-cli.mjs'; const INPUT = '../projects/Game_Surface_3/save/Layer00010.xml'; const TARGET = 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer10_Protocol.prefab'; @@ -32,7 +32,7 @@ test('Layer10_Protocol 生成 + 含 cc.Widget 节点 (computeWidgetAlignment 锚 `应有 ≥6 个 cc.Widget 节点 (1 root + 1 group + 4 spirit), 实得 ${widgetNodes.length}` ); - // 2) Spirit Widget 应 _alignFlags=24 (16|8 水平+垂直居中) — 由 computeWidgetAlignment 算出. + // 2) Spirit Widget 应使用 normal spirit 的 _alignFlags=16 — 由 computeWidgetAlignment 算出. // 这是 PoC 阶段 2 的关键验证: 证明 computeWidgetAlignment 真实生效 (而非全部用默认 45). // Spirit Widget 与 root/group Widget 的区别: Widget.node.__id__ 指向的 cc.Node // _name 不为 'Protol_Layer' (root) 也不以 'group-' 开头 (group 父节点). @@ -48,7 +48,7 @@ test('Layer10_Protocol 生成 + 含 cc.Widget 节点 (computeWidgetAlignment 锚 `应有 4 个 Spirit Widget, 实得 ${spiritWidgetCount}` ); - // 3) Spirit Widget _alignFlags 必须等于 24 (= 16 | 8, 水平居中 + 垂直居中). + // 3) Spirit Widget _alignFlags 必须等于 16 (normal spirit = horizontal center). // 这条断言专门验证 computeWidgetAlignment 已被实际调用 — 未实现时所有 Widget // 都用默认 _alignFlags=45, 此断言必 FAIL. const spiritWidgets = widgetNodes.filter(w => { @@ -60,9 +60,11 @@ test('Layer10_Protocol 生成 + 含 cc.Widget 节点 (computeWidgetAlignment 锚 && !targetNode._name.startsWith('group-'); }); for (const w of spiritWidgets) { + const targetNode = json[w.node.__id__]; + const expectedFlags = targetNode._name === '协议遮罩' ? 45 : targetNode._name === '协议背景' ? 9 : 16; assert.equal( - w._alignFlags, 24, - `Spirit Widget 应 _alignFlags=24 (16|8), 实得 ${w._alignFlags}` + w._alignFlags, expectedFlags, + `Spirit Widget ${targetNode._name} 应 _alignFlags=${expectedFlags}, 实得 ${w._alignFlags}` ); } }); diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/prefab-emitter.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/prefab-emitter.test.mjs index 0146810..e1c3b0f 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/prefab-emitter.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/prefab-emitter.test.mjs @@ -27,6 +27,30 @@ test('emitPrefabJson 含 PrefabInfo 块', () => { assert.equal(prefabInfo.asset.__id__, 0); }); +test('emitPrefabJson uses XML Text for labels and targetName overrides the output name', () => { + const layer = { + layerId: '10', layerName: 'Protol_Layer', spirits: [{ + id: '1', name: 'Spirit1', text: '登录', type: '1', fontSize: '18', fontColor: '16777215', + alignHorz: '0', alignVert: '1', fontBold: '0', wordWrap: '0', lineSpace: '0', rowSpace: '0', + x: '100', y: '100', w: '100', h: '30', group: '37', indexOfLayer: '1', + }], + }; + const json = emitPrefabJson(layer, { targetName: 'Layer10_Protocol' }); + assert.equal(json[0]._name, 'Layer10_Protocol'); + const textNode = json.find(o => o.__type__ === 'cc.Node' && o._name === 'Spirit1'); + assert.ok(textNode); + const label = json.filter(o => o.__type__ === 'cc.Label')[0]; + assert.equal(label._string, '登录'); + assert.equal(label._fontSize, 18); + assert.equal(label._color.r, 255); + assert.equal(label._color.g, 255); + assert.equal(label._color.b, 255); + assert.equal(label._horizontalAlign, 0); + assert.equal(label._verticalAlign, 1); + assert.equal(label._isBold, false); + assert.equal(label._enableWrapText, false); +}); + test('emitPrefabJson 渠道logo _lpos 误差 < 0.001', () => { // 注: brief 原版用 spirit name='Spirit405' 但断言搜 /渠道/; 实际 fixture 里 id=405 的 spirit // 坐标 (734, 143, 59, 148) 严格对应 Login_Layer '渠道logo' 节点; 这里 name 用 '渠道logo' diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-to-node.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-to-node.test.mjs index a3e261d..3b1310a 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-to-node.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-to-node.test.mjs @@ -1,12 +1,12 @@ import { test } from 'node:test'; import assert from 'node:assert/strict'; import { readFileSync } from 'node:fs'; +import { join } from 'node:path'; import { mapSpiritTypeToComponent } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; +import { ROOT } from '../../scripts/lib/paths.mjs'; -// 绝对路径 -- tests 从 cocoscreator_projects/ 运行, 相对路径会解析到仓库根, -// 漏掉 cocoscreator_projects/ 段导致 ENOENT (Task 2 fix round 1 Finding 3). const SEMANTICS = JSON.parse(readFileSync( - 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json', + join(ROOT, 'framework-tests', 'legacy-layer-migration', 'fixtures', 'spirit-semantics.json'), 'utf8' )); diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-type-reverse.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-type-reverse.test.mjs index 5a70872..004eea5 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-type-reverse.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/spirit-type-reverse.test.mjs @@ -1,9 +1,11 @@ import { test } from 'node:test'; import assert from 'node:assert/strict'; import { readFileSync } from 'node:fs'; +import { join } from 'node:path'; +import { ROOT } from '../../scripts/lib/paths.mjs'; const SEMANTICS = JSON.parse(readFileSync( - 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/spirit-semantics.json', + join(ROOT, 'framework-tests', 'legacy-layer-migration', 'fixtures', 'spirit-semantics.json'), 'utf8' )); diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/sprite-uuid-resolver.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/sprite-uuid-resolver.test.mjs index 7fb87e3..3145c8d 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/sprite-uuid-resolver.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/sprite-uuid-resolver.test.mjs @@ -1,6 +1,6 @@ import { test } from 'node:test'; import assert from 'node:assert/strict'; -import { resolveSpriteFrameUuid } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; +import { resolveSpriteFrameUuid, selectAtlasForLayerName } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; // 数据源权威: gameabc_Image.json id=20 -> bmp="00020.png" 位于 atlas-login/, // 该 .meta 的 subMetas.f9941.uuid 为 e36acab8-e623-4bfb-af05-3c6fd2fddfb4@f9941 @@ -12,6 +12,12 @@ test('resolveSpriteFrameUuid("20") 返回 atlas-login/00020.png 的 SpriteFrame assert.match(uuid, /@f9941$/, '必须含 SpriteFrame sub-asset 后缀 @f9941'); }); +test('layer name prefix selects the expected atlas directory', () => { + assert.equal(selectAtlasForLayerName('Login_Layer'), 'atlas-login'); + assert.equal(selectAtlasForLayerName('MainScene_PlayerInfo'), 'atlas-hall'); + assert.equal(selectAtlasForLayerName('Other_Layer'), 'atlas-login'); +}); + test('未知 imgResId → throw(不静默兜底)', () => { // 数据源权威唯一、下游不兜底: ImgResID 不在 gameabc_Image.json 时必须显式报错. assert.throws( diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs index 94f2bfe..ebc095c 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/xml-parser.test.mjs @@ -1,10 +1,10 @@ import { test } from 'node:test'; import assert from 'node:assert/strict'; +import { join } from 'node:path'; import { readLayerXml } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; +import { ROOT } from '../../scripts/lib/paths.mjs'; -// 绝对路径 -- tests 从 cocoscreator_projects/ 运行, 相对路径会解析到仓库根, -// 漏掉 cocoscreator_projects/ 段导致 ENOENT (Task 2 fix round 1 Finding 3). -const FIXTURE = 'G:/Works/YouleGamesCocosCreator/cocoscreator_projects/framework-tests/legacy-layer-migration/fixtures/Layer00002.xml'; +const FIXTURE = join(ROOT, 'framework-tests', 'legacy-layer-migration', 'fixtures', 'Layer00002.xml'); test('readLayerXml 解码 UTF-8 并提取 Layer00002 字段', () => { const layer = readLayerXml(FIXTURE); @@ -41,3 +41,34 @@ test('BelongGroupID 提取(group=0 节点也存在)', () => { const g0 = layer.spirits.filter(s => s.group === '0'); assert.ok(g0.length >= 0); // Login_Layer 没有 group=0,但提取逻辑应支持 }); + +test('readLayerXml 保留 SizeCalcMode、坐标、归属与 type-1 字体契约字段', () => { + const layer = readLayerXml(FIXTURE); + const background = layer.spirits.find(s => s.id === '2'); + const text = layer.spirits.find(s => s.id === '285'); + assert.ok(background); + assert.ok(text); + + assert.equal(background.text, undefined); + assert.equal(background.sizeCalcMode, '2'); + assert.equal(background.sizeParentID, '20'); + assert.equal(background.widthCalcMode, '1'); + assert.equal(background.heightCalcMode, '1'); + assert.equal(background.sizeRelaWidth, '10000'); + assert.equal(background.sizeRelaHeight, '10000'); + assert.equal(background.coordSelfPos, '0'); + assert.equal(background.coordRelaX, '0'); + assert.equal(background.coordRelaY, '0'); + assert.equal(background.coordParentID, '0'); + assert.equal(background.belongLayerID, '2'); + + assert.equal(text.text, '版本显示'); + assert.equal(text.fontSize, '18'); + assert.equal(text.fontColor, '16777215'); + assert.equal(text.alignHorz, '0'); + assert.equal(text.alignVert, '0'); + assert.equal(text.fontBold, '0'); + assert.equal(text.wordWrap, '0'); + assert.equal(text.lineSpace, '0'); + assert.equal(text.rowSpace, undefined); +}); diff --git a/cocoscreator_projects/package-lock.json b/cocoscreator_projects/package-lock.json index 66a77c2..0db9e01 100644 --- a/cocoscreator_projects/package-lock.json +++ b/cocoscreator_projects/package-lock.json @@ -8,8 +8,7 @@ "name": "youle-monorepo-tools", "version": "0.1.0", "dependencies": { - "@xmldom/xmldom": "^0.9.12", - "iconv-lite": "^0.7.3" + "@xmldom/xmldom": "^0.9.12" }, "devDependencies": { "@types/node": "^26.0.1", @@ -518,22 +517,6 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/iconv-lite": { - "version": "0.7.3", - "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.7.3.tgz", - "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, "node_modules/pngjs": { "version": "7.0.0", "resolved": "https://registry.npmmirror.com/pngjs/-/pngjs-7.0.0.tgz", @@ -543,12 +526,6 @@ "node": ">=14.19.0" } }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "license": "MIT" - }, "node_modules/tsx": { "version": "4.22.4", "resolved": "https://registry.npmmirror.com/tsx/-/tsx-4.22.4.tgz", diff --git a/cocoscreator_projects/package.json b/cocoscreator_projects/package.json index b92776b..b0411b3 100644 --- a/cocoscreator_projects/package.json +++ b/cocoscreator_projects/package.json @@ -25,7 +25,6 @@ "ws": "^8.21.0" }, "dependencies": { - "@xmldom/xmldom": "^0.9.12", - "iconv-lite": "^0.7.3" + "@xmldom/xmldom": "^0.9.12" } } diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab-cli.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab-cli.mjs index c1e9757..6a3f615 100644 --- a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab-cli.mjs +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab-cli.mjs @@ -1,28 +1,47 @@ #!/usr/bin/env node // CLI 入口: Layer XML → Cocos prefab JSON (+ 对比 diff, 如提供 YouleNexus 现存 prefab). // -// 用法: node legacy-layer-to-cocos-prefab-cli.mjs [] +// 用法: node legacy-layer-to-cocos-prefab-cli.mjs [] [--target-name ] // -// 设计要点 (Task 9 brief): -// - 只输出到隔离目录 (out/legacy-migration/), 不直接覆盖 YouleNexus 现有 prefab. -// - 必填参数: inputXml + outputDir; youlePrefab 可选, 提供且文件存在时生成 .diff. -// - diff 命令来自 Git Bash / POSIX 环境 (Windows: Git for Windows 自带 diff). -import { readLayerXml, emitPrefabJson } from './legacy-layer-to-cocos-prefab.mjs'; +// 设计要点: +// - 只输出到隔离目录 (out/legacy-migration/), 不直接覆盖 YouleNexus 原 prefab. +// - targetName 只影响输出的 prefab/root 名称与 atlas 选择; 默认使用 XML layerName. +import { readLayerXml, emitPrefabJson, selectAtlasForLayerName } from './legacy-layer-to-cocos-prefab.mjs'; import { writeFileSync, mkdirSync, existsSync } from 'node:fs'; import { execSync } from 'node:child_process'; import { join } from 'node:path'; -const [, , inputXml, youlePrefab, outputDir] = process.argv; +const args = process.argv.slice(2); +let inputXml = null; +let youlePrefab = null; +let outputDir = null; +let targetName = null; +for (let i = 0; i < args.length; i += 1) { + const arg = args[i]; + if (arg === '--target-name') { + targetName = args[++i]; + if (!targetName) throw new Error('--target-name requires a value'); + continue; + } + if (!inputXml) inputXml = arg; + else if (!youlePrefab) youlePrefab = arg; + else if (!outputDir) outputDir = arg; + else throw new Error(`Unexpected argument: ${arg}`); +} if (!inputXml || !outputDir) { - console.error('Usage: node legacy-layer-to-cocos-prefab-cli.mjs '); + console.error('Usage: node legacy-layer-to-cocos-prefab-cli.mjs [--target-name ]'); process.exit(1); } const layer = readLayerXml(inputXml); -const prefabJson = emitPrefabJson(layer); +const outputName = targetName || layer.layerName; +const prefabJson = emitPrefabJson(layer, { + targetName: outputName, + atlasName: selectAtlasForLayerName(outputName), +}); if (!existsSync(outputDir)) mkdirSync(outputDir, { recursive: true }); -const outputPath = join(outputDir, `${layer.layerName}.prefab`); +const outputPath = join(outputDir, `${outputName}.prefab`); writeFileSync(outputPath, JSON.stringify(prefabJson, null, 2)); console.log(`Generated: ${outputPath}`); @@ -32,4 +51,4 @@ if (youlePrefab && existsSync(youlePrefab)) { const diff = execSync(`diff -u "${youlePrefab}" "${outputPath}" || true`, { encoding: 'utf8' }); writeFileSync(diffPath, diff); console.log(`Diff: ${diffPath} (${diff.split('\n').length} lines)`); -} \ No newline at end of file +} diff --git a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs index 2e0cf0a..8125d2b 100644 --- a/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs +++ b/cocoscreator_projects/scripts/legacy-layer-to-cocos-prefab.mjs @@ -65,6 +65,26 @@ export function readLayerXml(path) { h: getProp(propList, 'Height'), group: getProp(propList, 'BelongGroupID'), indexOfLayer: getProp(propList, 'IndexOfLayer'), + text: getProp(propList, 'Text'), + sizeCalcMode: getProp(propList, 'SizeCalcMode'), + sizeParentID: getProp(propList, 'SizeParentID'), + widthCalcMode: getProp(propList, 'WidthCalcMode'), + heightCalcMode: getProp(propList, 'HeightCalcMode'), + sizeRelaWidth: getProp(propList, 'SizeRelaWidth'), + sizeRelaHeight: getProp(propList, 'SizeRelaHeight'), + coordSelfPos: getProp(propList, 'CoordSelfPos'), + coordRelaX: getProp(propList, 'CoordRelaX'), + coordRelaY: getProp(propList, 'CoordRelaY'), + coordParentID: getProp(propList, 'CoordParentID'), + belongLayerID: getProp(propList, 'BelongLayerID'), + fontSize: getProp(propList, 'FontSize'), + fontColor: getProp(propList, 'FontColor'), + alignHorz: getProp(propList, 'AlignHorz'), + alignVert: getProp(propList, 'AlignVert'), + fontBold: getProp(propList, 'FontBold'), + wordWrap: getProp(propList, 'WordWrap'), + lineSpace: getProp(propList, 'LineSpace'), + rowSpace: getProp(propList, 'RowSpace'), }; }); @@ -97,14 +117,31 @@ export function computeLpos(spirit) { /** * 计算 Spirit 的 contentSize (Cocos UI 节点尺寸). * - * 数据源权威: SizeCalcMode 缺失视作 0 (直接读 Width/Height); 非 0 抛错, - * 由上游显式决定是否逆向 gameabc.min.js (Task 5 范围, 本任务不支持). + * 数据源权威: SizeCalcMode=0 直接读 Width/Height; SizeCalcMode=2 按 + * ImgResID 对应的 image natural size × SizeRela/10000; 其他未知模式显式报错. * * @param {{ w?: string, h?: string, sizeCalcMode?: string, id?: string, name?: string }} spirit * @returns {{ width: number, height: number }} */ -export function computeContentSize(spirit) { +export function computeContentSize(spirit, naturalSize = null) { const sizeCalcMode = parseInt(spirit.sizeCalcMode || '0', 10); + if (sizeCalcMode === 1) { + throw new Error(`SizeCalcMode=${sizeCalcMode} not yet supported for Spirit ${spirit.id} (${spirit.name}) - reverse gameabc.min.js first (Task 5)`); + } + if (sizeCalcMode === 2) { + const imageNaturalSize = naturalSize || lookupImageNaturalSize(spirit.imgResID); + const widthMode = parseInt(spirit.widthCalcMode || '0', 10); + const heightMode = parseInt(spirit.heightCalcMode || '0', 10); + const widthRatio = parseFloat(spirit.sizeRelaWidth); + const heightRatio = parseFloat(spirit.sizeRelaHeight); + if (!Number.isFinite(widthRatio) || !Number.isFinite(heightRatio)) { + throw new Error(`Spirit ${spirit.id} (${spirit.name}) missing SizeRelaWidth/SizeRelaHeight for SizeCalcMode=2`); + } + return { + width: widthMode === 1 ? imageNaturalSize.width * widthRatio / 10000 : parseFloat(spirit.w || '0'), + height: heightMode === 1 ? imageNaturalSize.height * heightRatio / 10000 : parseFloat(spirit.h || '0'), + }; + } if (sizeCalcMode !== 0) { throw new Error(`SizeCalcMode=${sizeCalcMode} not yet supported for Spirit ${spirit.id} (${spirit.name}) - reverse gameabc.min.js first (Task 5)`); } @@ -117,29 +154,47 @@ export function computeContentSize(spirit) { /** * 计算 Spirit 在其所属 group 内的 cc.Widget 锚定参数 (PoC 阶段 2 简化版). * - * 数据源权威: 公式仅处理 Spirit.Y < 360 (上) vs > 360 (下) 与水平偏移, 完全基于 - * 已知字段 (x/y/w/h). SizeCalcMode / CoordRelaX / CoordRelaY 等逆向未出的字段 - * 暂不支持 — 由 buildSpiritBlock 调用方保证父 group 已经处理 SizeCalcMode ≠ 0. - * - * 简化规则: - * _alignFlags = 16 | 8 # 16=水平居中, 8=垂直居中 - * _horizontalCenter = x + w/2 - 640 # 像素偏移, 1280 坐标系水平中心 - * _verticalCenter = 360 - (y + h/2) # Y-up 翻转 + 720 坐标系垂直中心 + * 数据源权威: 按节点尺寸与 name 几何规则区分 full-screen (45), + * top-left (9), 以及 normal (16) 三种 Widget 对齐契约. * * @param {{ x?: string, y?: string, w?: string, h?: string }} spirit * @returns {object} cc.Widget 字段 (除 __type__/node/__prefab/_id 外) */ export function computeWidgetAlignment(spirit) { - const x = parseFloat(spirit.x || '0'); - const y = parseFloat(spirit.y || '0'); - const w = parseFloat(spirit.w || '0'); - const h = parseFloat(spirit.h || '0'); + const name = String(spirit.name || ''); + const width = parseFloat(spirit.w || '0'); + const height = parseFloat(spirit.h || '0'); + const lpos = computeLpos(spirit); + const isFullScreen = width === 1280 && height === 720; + if (isFullScreen) { + return { + _alignFlags: 45, + _target: null, + _left: 0, _right: 0, _top: 0, _bottom: 0, + _isAbsLeft: true, _isAbsRight: true, _isAbsTop: true, _isAbsBottom: true, + _isAbsHorizontalCenter: true, _isAbsVerticalCenter: true, + _originalWidth: 100, _originalHeight: 100, + _alignMode: 2, _lockFlags: 0, + }; + } + + const isTopLeft = lpos.y > 0 && lpos.x < 0 || /背景|bg/i.test(name); + if (isTopLeft) { + return { + _alignFlags: 9, + _target: null, + _left: lpos.x, _top: lpos.y, + _isAbsLeft: true, _isAbsRight: true, _isAbsTop: true, _isAbsBottom: true, + _isAbsHorizontalCenter: true, _isAbsVerticalCenter: true, + _originalWidth: 0, _originalHeight: 0, + _alignMode: 2, _lockFlags: 0, + }; + } + return { - _alignFlags: 16 | 8, // 水平居中 + 垂直居中 + _alignFlags: 16, _target: null, - _left: 0, _right: 0, _top: 0, _bottom: 0, - _horizontalCenter: x + w / 2 - 640, // 1280 体系半宽 - _verticalCenter: 360 - (y + h / 2), // Y-up + 720 体系半高 + _horizontalCenter: lpos.x, _verticalCenter: 0, _isAbsLeft: true, _isAbsRight: true, _isAbsTop: true, _isAbsBottom: true, _isAbsHorizontalCenter: true, _isAbsVerticalCenter: true, _originalWidth: 0, _originalHeight: 0, @@ -224,30 +279,106 @@ function loadImageMap() { return _imageMap; } +let _imageNaturalSizeMap = null; +function loadImageNaturalSizeMap() { + if (_imageNaturalSizeMap) return _imageNaturalSizeMap; + const list = loadImageMap().ImageFileList; + if (!Array.isArray(list)) { + throw new Error('gameabc_Image.json missing ImageFileList array'); + } + _imageNaturalSizeMap = new Map(); + for (const entry of list) { + if (!entry || entry.id == null) continue; + const width = Number(entry.w_all); + const height = Number(entry.h_all); + if (!Number.isFinite(width) || !Number.isFinite(height)) continue; + _imageNaturalSizeMap.set(String(entry.id), { width, height }); + } + return _imageNaturalSizeMap; +} + +function lookupImageNaturalSize(imgResId) { + const key = String(imgResId); + const naturalSize = loadImageNaturalSizeMap().get(key); + if (!naturalSize) { + throw new Error(`ImgResID "${imgResId}" missing natural size in gameabc_Image.json`); + } + return naturalSize; +} + const ATLAS_ROOT = join( __dirname, '../YouleNexus/assets/framework/ui' ); -let _bmpToMetaPath = null; -function loadBmpToMetaPath() { - if (_bmpToMetaPath) return _bmpToMetaPath; +const ATLAS_BY_LAYER_NAME = [ + ['MainScene_PlayerInfo', 'atlas-hall'], + ['BackHall', 'atlas-hall'], + ['Login', 'atlas-login'], + ['Notice', 'atlas-login'], + ['Protol', 'atlas-login'], + ['Loading', 'atlas-login'], + ['Kick', 'atlas-login'], + ['Reconnect', 'atlas-login'], + ['Setting', 'atlas-login'], + ['Tips', 'atlas-login'], + ['updateRoomCard', 'atlas-login'], + ['phoneInfo', 'atlas-login'], + ['recordLayer', 'atlas-login'], + ['MenuPlayerInfo', 'atlas-login'], +]; + +export function selectAtlasForLayerName(layerName) { + const normalizedName = String(layerName || '').toLowerCase(); + const match = ATLAS_BY_LAYER_NAME.find(([keyword]) => normalizedName.includes(keyword.toLowerCase())); + return match ? match[1] : 'atlas-login'; +} + +function listAtlasDirectories() { + if (!existsSync(ATLAS_ROOT)) return []; + return readdirSync(ATLAS_ROOT) + .filter(entry => entry.startsWith('atlas-') && statSync(join(ATLAS_ROOT, entry)).isDirectory()); +} + +const _bmpToMetaPath = new Map(); +function loadBmpToMetaPath(preferredAtlas = null) { + const cacheKey = preferredAtlas || 'default'; + if (_bmpToMetaPath.has(cacheKey)) return _bmpToMetaPath.get(cacheKey); const map = new Map(); - if (existsSync(ATLAS_ROOT)) { - for (const entry of readdirSync(ATLAS_ROOT)) { - if (!entry.startsWith('atlas-')) continue; - const dir = join(ATLAS_ROOT, entry); - if (!statSync(dir).isDirectory()) continue; - for (const file of readdirSync(dir)) { - if (!file.endsWith('.png.meta')) continue; - const bmpName = file.replace(/\.meta$/, ''); - // 同一 bmp 出现在多个 atlas 时, 取首次发现 (字典序); - // YouleNexus 实际数据中无重复, 此为防御性 fallback. - if (!map.has(bmpName)) map.set(bmpName, join(dir, file)); + const directories = listAtlasDirectories(); + const orderedDirectories = [ + ...(preferredAtlas ? [preferredAtlas] : []), + ...(preferredAtlas === 'atlas-login' || !preferredAtlas ? ['atlas-login'] : []), + ...directories.filter(entry => entry !== preferredAtlas && entry !== 'atlas-login'), + ]; + for (const entry of orderedDirectories) { + const dir = join(ATLAS_ROOT, entry); + for (const file of readdirSync(dir)) { + if (!file.endsWith('.png.meta')) continue; + const bmpName = file.replace(/\.meta$/, ''); + if (!map.has(bmpName)) map.set(bmpName, join(dir, file)); + } + } + + // Cocos imports multi-frame source BMPs as _1.png, _2.png, ... + // Keep the first frame deterministic when a legacy image has no exact BMP basename. + const imageMap = loadImageMap(); + const imageList = Array.isArray(imageMap.ImageFileList) ? imageMap.ImageFileList : []; + for (const image of imageList) { + if (!image?.bmp || map.has(image.bmp)) continue; + const baseName = image.bmp.replace(/\.png$/i, ''); + const frameCount = Number.isInteger(Number(image.frame_all)) && Number(image.frame_all) > 0 + ? Number(image.frame_all) + : 1; + for (let frame = 1; frame <= frameCount; frame += 1) { + const frameName = `${baseName}_${frame}.png`; + if (map.has(frameName)) { + map.set(image.bmp, map.get(frameName)); + break; } } } - _bmpToMetaPath = map; + _bmpToMetaPath.set(cacheKey, map); return map; } @@ -262,9 +393,10 @@ function loadBmpToMetaPath() { * - .meta 缺 subMetas.f9941 → throw (说明该资源未走 sprite-frame 导入) * * @param {string} imgResId - XML ImgResID 字符串 (如 "20", "21", "25") + * @param {string} [atlasDir] - 可选的 layer atlas 目录, 例如 atlas-login. * @returns {string} SpriteFrame 真 UUID, 形如 "@f9941" */ -export function resolveSpriteFrameUuid(imgResId) { +export function resolveSpriteFrameUuid(imgResId, atlasDir = null) { const imageMap = loadImageMap(); const list = imageMap.ImageFileList; if (!Array.isArray(list)) { @@ -277,7 +409,7 @@ export function resolveSpriteFrameUuid(imgResId) { } const bmpName = entry.bmp; - const bmpToMeta = loadBmpToMetaPath(); + const bmpToMeta = loadBmpToMetaPath(atlasDir); const metaPath = bmpToMeta.get(bmpName); if (!metaPath) { throw new Error(`bmp "${bmpName}" (ImgResID ${imgResId}) not found under 'atlas-*' in ${ATLAS_ROOT}`); @@ -376,7 +508,7 @@ function makeUiTransform(nodeId, compPrefabId, width, height) { }; } -function makeWidget(nodeId, compPrefabId) { +function makeWidget(nodeId, compPrefabId, originalWidth = 100, originalHeight = 100) { return { __type__: 'cc.Widget', _name: '', @@ -391,7 +523,7 @@ function makeWidget(nodeId, compPrefabId) { _horizontalCenter: 0, _verticalCenter: 0, _isAbsLeft: true, _isAbsRight: true, _isAbsTop: true, _isAbsBottom: true, _isAbsHorizontalCenter: true, _isAbsVerticalCenter: true, - _originalWidth: 0, _originalHeight: 0, + _originalWidth: originalWidth, _originalHeight: originalHeight, _alignMode: 2, _lockFlags: 0, _id: '', @@ -446,7 +578,13 @@ function makeSprite(nodeId, compPrefabId, spriteFrameUuid, type = 0) { }; } -function makeLabel(nodeId, compPrefabId, text) { +function makeLabel(nodeId, compPrefabId, spirit) { + const fontSize = Number.isFinite(Number(spirit.fontSize)) ? Number(spirit.fontSize) : 40; + const lineSpace = Number.isFinite(Number(spirit.lineSpace)) ? Number(spirit.lineSpace) : fontSize; + const rowSpace = Number.isFinite(Number(spirit.rowSpace)) ? Number(spirit.rowSpace) : 0; + const color = Number.isInteger(Number(spirit.fontColor)) ? Number(spirit.fontColor) : 0xffffff; + const horizontalAlign = Number.isInteger(Number(spirit.alignHorz)) ? Number(spirit.alignHorz) : 1; + const verticalAlign = Number.isInteger(Number(spirit.alignVert)) ? Number(spirit.alignVert) : 1; return { __type__: 'cc.Label', _name: '', @@ -458,20 +596,28 @@ function makeLabel(nodeId, compPrefabId, text) { _customMaterial: null, _srcBlendFactor: 2, _dstBlendFactor: 4, - _color: { __type__: 'cc.Color', r: 255, g: 255, b: 255, a: 255 }, - _string: text || '', - _horizontalAlign: 1, - _verticalAlign: 1, - _actualFontSize: 40, - _fontSize: 40, + _color: { + __type__: 'cc.Color', + r: (color >> 16) & 255, + g: (color >> 8) & 255, + b: color & 255, + a: 255, + }, + _string: spirit.text || spirit.name || '', + _horizontalAlign: horizontalAlign, + _verticalAlign: verticalAlign, + _actualFontSize: fontSize, + _fontSize: fontSize, _fontFamily: 'Arial', - _lineHeight: 40, + _lineHeight: lineSpace, _overflow: 0, - _enableWrapText: true, + _enableWrapText: spirit.wordWrap !== undefined && spirit.wordWrap !== '0', _font: null, _isSystemFontUsed: true, - _spacingX: 0, - _isItalic: false, _isBold: false, _isUnderline: false, + _spacingX: rowSpace, + _isItalic: false, + _isBold: spirit.fontBold !== undefined && spirit.fontBold !== '0', + _isUnderline: false, _underlineHeight: 2, _cacheMode: 0, _enableOutline: false, @@ -579,7 +725,7 @@ function makeEditBox(nodeId, compPrefabId, spriteFrameUuid, text) { * @param {{ layerId?: string, layerName: string, spirits: Array<{ id: string, name: string, type: string, imgResID: string, x: string, y: string, w: string, h: string, group: string, indexOfLayer: string }> }} layer * @returns {Array} Cocos prefab JSON 数组 */ -export function emitPrefabJson(layer) { +export function emitPrefabJson(layer, opts = {}) { if (!layer || !layer.layerName) { throw new Error('emitPrefabJson: layer.layerName is required'); } @@ -588,11 +734,13 @@ export function emitPrefabJson(layer) { } const out = []; + const targetName = opts.targetName || layer.layerName; + const atlasName = opts.atlasName || selectAtlasForLayerName(targetName); // ── 1. cc.Prefab 头 ───────────────────────────────────────────── out.push({ __type__: 'cc.Prefab', - _name: layer.layerName, + _name: targetName, _objFlags: 0, __editorExtras__: {}, _native: '', @@ -602,7 +750,7 @@ export function emitPrefabJson(layer) { }); // ── 2. 根节点 cc.Node (id=1) ──────────────────────────────────── - const rootNode = makeNode(layer.layerName, null); + const rootNode = makeNode(targetName, null); out.push(rootNode); const rootId = out.length - 1; // =1 @@ -628,7 +776,7 @@ export function emitPrefabJson(layer) { if (!spirit) { throw new Error(`emitPrefabJson: spirit id ${spiritId} referenced by ${gi.group.name} but not found in layer.spirits`); } - const info = buildSpiritBlock(spirit, { __id__: gi.nodeId }, out, { parentIsGroup: true }); + const info = buildSpiritBlock(spirit, { __id__: gi.nodeId }, out, { parentIsGroup: true, atlasName }); spiritInfo.set(spiritId, info); gi.node._children.push({ __id__: info.nodeId }); } @@ -639,7 +787,7 @@ export function emitPrefabJson(layer) { if (!spirit) { throw new Error(`emitPrefabJson: root child spirit id ${spiritId} not found in layer.spirits`); } - const info = buildSpiritBlock(spirit, { __id__: rootId }, out, { parentIsGroup: false }); + const info = buildSpiritBlock(spirit, { __id__: rootId }, out, { parentIsGroup: false, atlasName }); spiritInfo.set(spiritId, info); rootNode._children.push({ __id__: info.nodeId }); } @@ -669,7 +817,12 @@ export function emitPrefabJson(layer) { */ function buildSpiritBlock(spirit, parentRef, out, opts = { parentIsGroup: false }) { const lpos = computeLpos(spirit); - const size = computeContentSize(spirit); + const width = parseFloat(spirit.w || '0'); + const height = parseFloat(spirit.h || '0'); + const isFullScreen = width === 1280 && height === 720; + const size = isFullScreen + ? { width: 1600, height: 720 } + : computeContentSize(spirit); const componentName = mapSpiritTypeToComponent(spirit.type); // 1. cc.Node (主组件 id=K+0) @@ -680,19 +833,18 @@ function buildSpiritBlock(spirit, parentRef, out, opts = { parentIsGroup: false // 2. cc.UITransform (K+1) const uiCompInfo = makeCompPrefabInfo(); - out.push(uiCompInfo); - const uiCompInfoId = out.length - 1; - const uiTransform = makeUiTransform(nodeId, uiCompInfoId, size.width, size.height); + const uiTransform = makeUiTransform(nodeId, out.length + 1, size.width, size.height); out.push(uiTransform); const uiId = out.length - 1; + out.push(uiCompInfo); + const uiCompInfoId = out.length - 1; - // 3. 主组件 (K+3) — CompPrefabInfo 先 push (K+2), 主组件 __prefab → 该 CompPrefabInfo + // 3. 主组件 (K+3) — component 先 push, CompPrefabInfo follows it. const mainCompInfo = makeCompPrefabInfo(); - out.push(mainCompInfo); - const mainCompInfoId = out.length - 1; + const mainCompInfoId = out.length + 1; const spriteFrameUuid = (spirit.type === '0' || spirit.type === '3' || spirit.type === '5') - ? resolveSpriteFrameUuid(spirit.imgResID) + ? resolveSpriteFrameUuid(spirit.imgResID, opts.atlasName) : null; let mainComp; @@ -700,7 +852,7 @@ function buildSpiritBlock(spirit, parentRef, out, opts = { parentIsGroup: false const spriteType = spirit.type === '5' ? 1 : 0; // 5=SLICED, else SIMPLE mainComp = makeSprite(nodeId, mainCompInfoId, spriteFrameUuid, spriteType); } else if (componentName === 'cc.Label') { - mainComp = makeLabel(nodeId, mainCompInfoId, spirit.name); + mainComp = makeLabel(nodeId, mainCompInfoId, spirit); } else if (componentName === 'cc.ProgressBar') { mainComp = makeProgressBar(nodeId, mainCompInfoId, spriteFrameUuid); } else if (componentName === 'cc.EditBox') { @@ -712,18 +864,18 @@ function buildSpiritBlock(spirit, parentRef, out, opts = { parentIsGroup: false } out.push(mainComp); const mainCompId = out.length - 1; + out.push(mainCompInfo); - // 4. cc.Widget (K+5) — CompPrefabInfo 先 push (K+4) + // 4. cc.Widget (K+5) — component 先 push, CompPrefabInfo follows it. const widgetCompInfo = makeCompPrefabInfo(); - out.push(widgetCompInfo); - const widgetCompInfoId = out.length - 1; - // parentIsGroup 时走 computeWidgetAlignment (水平+垂直居中); Layer 根直挂时 - // 用默认 _alignFlags=45 (全屏铺满占位, 后续 PoC 阶段再细化). + // parentIsGroup 时走 computeWidgetAlignment; Layer 根直挂时使用全屏 Widget. const widget = opts.parentIsGroup - ? makeSpiritWidget(nodeId, widgetCompInfoId, spirit) - : makeWidget(nodeId, widgetCompInfoId); + ? makeSpiritWidget(nodeId, out.length + 1, spirit) + : makeWidget(nodeId, out.length + 1); out.push(widget); const widgetId = out.length - 1; + out.push(widgetCompInfo); + const widgetCompInfoId = out.length - 1; // 5. cc.PrefabInfo (K+7) — Node 的 _prefab 指向这里 const prefabInfo = makePrefabInfo(); @@ -744,19 +896,19 @@ function buildSpiritBlock(spirit, parentRef, out, opts = { parentIsGroup: false function appendNodeEnvelope(node, nodeId, out) { // 1. UITransform + CompPrefabInfo const uiCompInfo = makeCompPrefabInfo(); - out.push(uiCompInfo); - const uiCompInfoId = out.length - 1; - const uiTransform = makeUiTransform(nodeId, uiCompInfoId, DESIGN_WIDTH, DESIGN_HEIGHT); + const uiTransform = makeUiTransform(nodeId, out.length + 1, DESIGN_WIDTH, DESIGN_HEIGHT); out.push(uiTransform); const uiId = out.length - 1; + out.push(uiCompInfo); + const uiCompInfoId = out.length - 1; // 2. Widget + CompPrefabInfo const widgetCompInfo = makeCompPrefabInfo(); - out.push(widgetCompInfo); - const widgetCompInfoId = out.length - 1; - const widget = makeWidget(nodeId, widgetCompInfoId); + const widget = makeWidget(nodeId, out.length + 1); out.push(widget); const widgetId = out.length - 1; + out.push(widgetCompInfo); + const widgetCompInfoId = out.length - 1; // 3. PrefabInfo const prefabInfo = makePrefabInfo(); diff --git a/cocoscreator_projects/scripts/run-legacy-migration-batch.mjs b/cocoscreator_projects/scripts/run-legacy-migration-batch.mjs index ebc9616..b63342c 100644 --- a/cocoscreator_projects/scripts/run-legacy-migration-batch.mjs +++ b/cocoscreator_projects/scripts/run-legacy-migration-batch.mjs @@ -7,15 +7,16 @@ // - 单个 target 失败 (例如 ImgResID 未导入 sprite) 不阻塞后续 target, 日志记录后继续. // - per "下游不兜底" 原则: CLI 本身必须 throw 让错误暴露; batch 仅负责捕获 + 汇总, 不做修补. import { execSync } from 'node:child_process'; +import { join } from 'node:path'; +import { ROOT } from './lib/paths.mjs'; -const ROOT = process.cwd(); // assume run from cocoscreator_projects/ -const OUT_DIR = `${ROOT}/YouleNexus/out/legacy-migration`; -const SOURCE = `${ROOT}/../projects/Game_Surface_3/save`; +const OUT_DIR = join(ROOT, 'YouleNexus', 'out', 'legacy-migration'); +const SOURCE = join(ROOT, '..', 'projects', 'Game_Surface_3', 'save'); // 按 spec 已核实映射表 (11 个 prefab). Layer10_Protocol + Login_Layer + Layer619_BackOtherGame 三个 PoC 已存在, // 但 batch 仍会重新生成它们 (idempotent — 覆盖 out/legacy-migration/*.prefab + .diff). const targets = [ - { xml: 'Layer00002.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/views/Login_Layer.prefab', name: 'Login_Layer', note: 'PoC 3 (Layer00002)' }, + { xml: 'Layer00002.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/Login_Layer.prefab', name: 'Login_Layer', note: 'PoC 3 (Layer00002)' }, { xml: 'Layer00017.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/views/PlayerInfoView.prefab', name: 'MenuPlayerInfo_Layer', note: '拍板 A (Layer00017)' }, { xml: 'Layer00029.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Group106_PhoneVerify.prefab', name: 'phoneInfo' }, { xml: 'Layer00010.xml', prefab: 'YouleNexus/assets/framework/ui/prefabs/widgets/Layer10_Protocol.prefab', name: 'Protol_Layer', note: 'PoC 2 (Layer00010)' }, @@ -57,4 +58,5 @@ if (results.failed.length > 0) { console.log(` - ${f.name} (${f.xml}): ${f.error}`); } } -console.log('\nNext step: human reviews each .diff and decides whether to overwrite YouleNexus original prefabs.'); \ No newline at end of file +console.log('\nNext step: human reviews each .diff and decides whether to overwrite YouleNexus original prefabs.'); +process.exitCode = results.failed.length > 0 ? 1 : 0; \ No newline at end of file