├── .gitignore ├── wx-open-data-project ├── project.json ├── assets │ ├── Test.fire.meta │ ├── block.prefab.meta │ ├── launch.js.meta │ ├── launch.js │ ├── block.prefab │ └── Test.fire ├── settings │ ├── builder.json │ └── project.json └── .gitignore ├── wx-main-project ├── project.json ├── assets │ ├── resources │ │ ├── readme.md.meta │ │ ├── help_btn.png │ │ ├── readme.md │ │ └── help_btn.png.meta │ ├── resources.meta │ ├── scene.meta │ ├── scripts.meta │ ├── scene │ │ ├── Test.fire.meta │ │ └── Test.fire │ └── scripts │ │ ├── lanuch.js.meta │ │ └── lanuch.js ├── settings │ ├── builder.json │ └── project.json └── .gitignore └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | build/ 3 | -------------------------------------------------------------------------------- /wx-open-data-project/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "engine": "cocos-creator-js", 3 | "packages": "packages" 4 | } -------------------------------------------------------------------------------- /wx-main-project/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "engine": "cocos-creator-js", 3 | "packages": "packages", 4 | "version": "2.2.0" 5 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # demo-wechat-subdomain 2 | 3 | see https://docs.cocos.com/creator/manual/zh/publish/publish-wechatgame-sub-domain.html 4 | -------------------------------------------------------------------------------- /wx-main-project/assets/resources/readme.md.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.0.0", 3 | "uuid": "1f2c51a8-70c8-4385-983b-104dc1bdab64", 4 | "subMetas": {} 5 | } -------------------------------------------------------------------------------- /wx-main-project/assets/resources/help_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos-creator/example-wechat-subdomain/HEAD/wx-main-project/assets/resources/help_btn.png -------------------------------------------------------------------------------- /wx-main-project/assets/resources.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "13cc9ad6-4045-41ac-9fba-0e6b0c3d8122", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /wx-main-project/assets/scene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "6f98097a-db0b-4316-a4bf-b3c054020a19", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /wx-main-project/assets/scripts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "4e6737f7-3aca-4796-a78f-edce4889b144", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /wx-main-project/assets/scene/Test.fire.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.0", 3 | "uuid": "739ddcda-7d7e-4b08-9081-7e95f98cc08f", 4 | "asyncLoadAssets": false, 5 | "autoReleaseAssets": false, 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /wx-open-data-project/assets/Test.fire.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "0.9.0", 3 | "uuid": "088db947-d2bf-4c47-b64f-f30bc4bc0faa", 4 | "asyncLoadAssets": false, 5 | "autoReleaseAssets": false, 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /wx-open-data-project/assets/block.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "cb290273-3808-4a58-9ec8-d799c8fee865", 4 | "optimizationPolicy": "AUTO", 5 | "asyncLoadAssets": false, 6 | "readonly": false, 7 | "subMetas": {} 8 | } -------------------------------------------------------------------------------- /wx-open-data-project/assets/launch.js.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "e53e6622-51df-4524-b7fc-c8842ed67e3b", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /wx-main-project/assets/scripts/lanuch.js.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.5", 3 | "uuid": "05e9fd44-895f-43a8-a3f4-79aad35a1a4f", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /wx-main-project/assets/resources/readme.md: -------------------------------------------------------------------------------- 1 | 目标:该范例主要为了测试微信开放数据的功能,只在微信平台上有效果 2 | 3 | 表现形式: 4 | 根据文字提示,点击按钮获取用户信息后,排行榜会自动显示,并且排行榜内会出现用户以及好友的信息, 5 | 也会在开放数据域中提示当前支持的渲染模式 6 | 7 | 测试通过要点: 8 | 1.(主域)右上角能正常显示用户信息(昵称以及头像) 9 | 2.(开放数据域)能正常显示用户以及好友的个人信息(昵称以及头像) 10 | 3.(开放数据域)排行榜底端会显示当前支持的渲染模式(微信 xxxx 版本后会支持 webgl 渲染模式,否则只支持 canvas 渲染模式) 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /wx-main-project/assets/resources/help_btn.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.3.2", 3 | "uuid": "b0bc25ee-7465-45c3-92a8-0f568512f44e", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "premultiplyAlpha": false, 8 | "genMipmaps": false, 9 | "platformSettings": {}, 10 | "subMetas": { 11 | "help_btn": { 12 | "ver": "1.0.4", 13 | "uuid": "0005abad-0d26-4f7d-8b5e-ef7a677167d2", 14 | "rawTextureUuid": "b0bc25ee-7465-45c3-92a8-0f568512f44e", 15 | "trimType": "auto", 16 | "trimThreshold": 1, 17 | "rotated": false, 18 | "offsetX": 0, 19 | "offsetY": 0, 20 | "trimX": 0, 21 | "trimY": 0, 22 | "width": 24, 23 | "height": 24, 24 | "rawWidth": 24, 25 | "rawHeight": 24, 26 | "borderTop": 0, 27 | "borderBottom": 0, 28 | "borderLeft": 0, 29 | "borderRight": 0, 30 | "subMetas": {} 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /wx-open-data-project/settings/builder.json: -------------------------------------------------------------------------------- 1 | { 2 | "appKey": "", 3 | "appSecret": "", 4 | "encryptJs": true, 5 | "excludeScenes": [], 6 | "fb-instant-games": {}, 7 | "includeAnySDK": false, 8 | "includeSDKBox": false, 9 | "inlineSpriteFrames": true, 10 | "inlineSpriteFrames_native": true, 11 | "jailbreakPlatform": false, 12 | "md5Cache": false, 13 | "mergeStartScene": false, 14 | "oauthLoginServer": "", 15 | "optimizeHotUpdate": false, 16 | "orientation": { 17 | "landscapeLeft": true, 18 | "landscapeRight": true, 19 | "portrait": false, 20 | "upsideDown": false 21 | }, 22 | "packageName": "org.cocos2d.wx-sub-test", 23 | "privateKey": "", 24 | "qqplay": { 25 | "orientation": "portrait" 26 | }, 27 | "startScene": "088db947-d2bf-4c47-b64f-f30bc4bc0faa", 28 | "title": "wx-open-data-project", 29 | "webOrientation": "auto", 30 | "wechatgame": { 31 | "REMOTE_SERVER_ROOT": "", 32 | "appid": "wx6ac3f5090a6b99c5", 33 | "buildsub": true, 34 | "hasSubdomain": true, 35 | "isSubdomain": true, 36 | "orientation": "landscape" 37 | }, 38 | "xxteaKey": "0f6c60db-2545-4d", 39 | "zipCompressJs": true, 40 | "android-instant": { 41 | "REMOTE_SERVER_ROOT": "", 42 | "pathPattern": "", 43 | "scheme": "https", 44 | "host": "", 45 | "skipRecord": false, 46 | "recordPath": "" 47 | } 48 | } -------------------------------------------------------------------------------- /wx-main-project/settings/builder.json: -------------------------------------------------------------------------------- 1 | { 2 | "appKey": "", 3 | "appSecret": "", 4 | "encryptJs": true, 5 | "excludeScenes": [], 6 | "fb-instant-games": {}, 7 | "includeAnySDK": false, 8 | "includeSDKBox": false, 9 | "inlineSpriteFrames": true, 10 | "inlineSpriteFrames_native": true, 11 | "jailbreakPlatform": false, 12 | "md5Cache": true, 13 | "mergeStartScene": false, 14 | "oauthLoginServer": "", 15 | "optimizeHotUpdate": false, 16 | "orientation": { 17 | "landscapeLeft": true, 18 | "landscapeRight": true, 19 | "portrait": false, 20 | "upsideDown": false 21 | }, 22 | "packageName": "org.cocos2d.MapEditor", 23 | "privateKey": "", 24 | "qqplay": { 25 | "orientation": "portrait" 26 | }, 27 | "startScene": "739ddcda-7d7e-4b08-9081-7e95f98cc08f", 28 | "title": "wx-main-project", 29 | "webOrientation": "auto", 30 | "wechatgame": { 31 | "REMOTE_SERVER_ROOT": "", 32 | "appid": "wx6ac3f5090a6b99c5", 33 | "isSubdomain": false, 34 | "orientation": "landscape", 35 | "subContext": "wx-open-data-project", 36 | "subContextHeight": 420, 37 | "subContextWidth": 400 38 | }, 39 | "xxteaKey": "81a953b2-ec65-45", 40 | "zipCompressJs": true, 41 | "android-instant": { 42 | "REMOTE_SERVER_ROOT": "", 43 | "host": "", 44 | "pathPattern": "", 45 | "recordPath": "", 46 | "scheme": "https", 47 | "skipRecord": false 48 | }, 49 | "appBundle": false 50 | } 51 | -------------------------------------------------------------------------------- /wx-open-data-project/settings/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "collision-matrix": [ 3 | [ 4 | true 5 | ] 6 | ], 7 | "design-resolution-height": 640, 8 | "design-resolution-width": 960, 9 | "excluded-modules": [ 10 | "Renderer Texture", 11 | "Dynamic Atlas", 12 | "LabelOutline", 13 | "ParticleSystem", 14 | "TiledMap", 15 | "Spine Skeleton", 16 | "DragonBones", 17 | "RichText", 18 | "MotionStreak", 19 | "ProgressBar", 20 | "ScrollBar", 21 | "Toggle", 22 | "PageView", 23 | "PageViewIndicator", 24 | "Slider", 25 | "EditBox", 26 | "VideoPlayer", 27 | "WebView", 28 | "Audio", 29 | "AudioSource", 30 | "Animation", 31 | "Collider", 32 | "Action", 33 | "Physics", 34 | "NodePool", 35 | "StudioComponent", 36 | "Intersection", 37 | "Native Socket" 38 | ], 39 | "facebook": { 40 | "appID": "", 41 | "audience": { 42 | "enable": false 43 | }, 44 | "enable": false, 45 | "live": { 46 | "enable": false 47 | } 48 | }, 49 | "fit-height": true, 50 | "fit-width": false, 51 | "group-list": [ 52 | "default" 53 | ], 54 | "last-module-event-record-time": 1548389051878, 55 | "simulator-orientation": false, 56 | "simulator-resolution": { 57 | "height": 640, 58 | "width": 960 59 | }, 60 | "use-customize-simulator": false, 61 | "use-project-simulator-setting": false, 62 | "start-scene": "current" 63 | } -------------------------------------------------------------------------------- /wx-main-project/settings/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "collision-matrix": [ 3 | [ 4 | true 5 | ] 6 | ], 7 | "design-resolution-height": 640, 8 | "design-resolution-width": 960, 9 | "excluded-modules": [ 10 | "Audio", 11 | "AudioSource", 12 | "Animation", 13 | "Collider", 14 | "Dynamic Atlas", 15 | "DragonBones", 16 | "EditBox", 17 | "Intersection", 18 | "MotionStreak", 19 | "NodePool", 20 | "Native Socket", 21 | "Physics", 22 | "PageView", 23 | "PageViewIndicator", 24 | "ProgressBar", 25 | "ParticleSystem", 26 | "RichText", 27 | "Slider", 28 | "ScrollBar", 29 | "ScrollView", 30 | "Spine Skeleton", 31 | "StudioComponent", 32 | "Toggle", 33 | "TiledMap", 34 | "VideoPlayer", 35 | "WebView" 36 | ], 37 | "facebook": { 38 | "appID": "", 39 | "audience": { 40 | "enable": false 41 | }, 42 | "enable": false, 43 | "live": { 44 | "enable": false 45 | } 46 | }, 47 | "fit-height": true, 48 | "fit-width": false, 49 | "group-list": [ 50 | "default" 51 | ], 52 | "last-module-event-record-time": 1548318205914, 53 | "simulator-orientation": false, 54 | "simulator-resolution": { 55 | "height": 640, 56 | "width": 960 57 | }, 58 | "use-customize-simulator": true, 59 | "use-project-simulator-setting": false, 60 | "assets-sort-type": "name", 61 | "group_list": [ 62 | "default" 63 | ], 64 | "start-scene": "current" 65 | } 66 | -------------------------------------------------------------------------------- /wx-main-project/.gitignore: -------------------------------------------------------------------------------- 1 | #///////////////////////////////////////////////////////////////////////////// 2 | # Fireball Projects 3 | #///////////////////////////////////////////////////////////////////////////// 4 | 5 | library/ 6 | temp/ 7 | local/ 8 | build/ 9 | 10 | #///////////////////////////////////////////////////////////////////////////// 11 | # Logs and databases 12 | #///////////////////////////////////////////////////////////////////////////// 13 | 14 | *.log 15 | *.sql 16 | *.sqlite 17 | 18 | #///////////////////////////////////////////////////////////////////////////// 19 | # files for debugger 20 | #///////////////////////////////////////////////////////////////////////////// 21 | 22 | *.sln 23 | *.csproj 24 | *.pidb 25 | *.unityproj 26 | *.suo 27 | 28 | #///////////////////////////////////////////////////////////////////////////// 29 | # OS generated files 30 | #///////////////////////////////////////////////////////////////////////////// 31 | 32 | .DS_Store 33 | ehthumbs.db 34 | Thumbs.db 35 | 36 | #///////////////////////////////////////////////////////////////////////////// 37 | # exvim files 38 | #///////////////////////////////////////////////////////////////////////////// 39 | 40 | *UnityVS.meta 41 | *.err 42 | *.err.meta 43 | *.exvim 44 | *.exvim.meta 45 | *.vimentry 46 | *.vimentry.meta 47 | *.vimproject 48 | *.vimproject.meta 49 | .vimfiles.*/ 50 | .exvim.*/ 51 | quick_gen_project_*_autogen.bat 52 | quick_gen_project_*_autogen.bat.meta 53 | quick_gen_project_*_autogen.sh 54 | quick_gen_project_*_autogen.sh.meta 55 | .exvim.app 56 | 57 | #///////////////////////////////////////////////////////////////////////////// 58 | # webstorm files 59 | #///////////////////////////////////////////////////////////////////////////// 60 | 61 | .idea/ 62 | -------------------------------------------------------------------------------- /wx-open-data-project/.gitignore: -------------------------------------------------------------------------------- 1 | #///////////////////////////////////////////////////////////////////////////// 2 | # Fireball Projects 3 | #///////////////////////////////////////////////////////////////////////////// 4 | 5 | library/ 6 | temp/ 7 | local/ 8 | build/ 9 | 10 | #///////////////////////////////////////////////////////////////////////////// 11 | # Logs and databases 12 | #///////////////////////////////////////////////////////////////////////////// 13 | 14 | *.log 15 | *.sql 16 | *.sqlite 17 | 18 | #///////////////////////////////////////////////////////////////////////////// 19 | # files for debugger 20 | #///////////////////////////////////////////////////////////////////////////// 21 | 22 | *.sln 23 | *.csproj 24 | *.pidb 25 | *.unityproj 26 | *.suo 27 | 28 | #///////////////////////////////////////////////////////////////////////////// 29 | # OS generated files 30 | #///////////////////////////////////////////////////////////////////////////// 31 | 32 | .DS_Store 33 | ehthumbs.db 34 | Thumbs.db 35 | 36 | #///////////////////////////////////////////////////////////////////////////// 37 | # exvim files 38 | #///////////////////////////////////////////////////////////////////////////// 39 | 40 | *UnityVS.meta 41 | *.err 42 | *.err.meta 43 | *.exvim 44 | *.exvim.meta 45 | *.vimentry 46 | *.vimentry.meta 47 | *.vimproject 48 | *.vimproject.meta 49 | .vimfiles.*/ 50 | .exvim.*/ 51 | quick_gen_project_*_autogen.bat 52 | quick_gen_project_*_autogen.bat.meta 53 | quick_gen_project_*_autogen.sh 54 | quick_gen_project_*_autogen.sh.meta 55 | .exvim.app 56 | 57 | #///////////////////////////////////////////////////////////////////////////// 58 | # webstorm files 59 | #///////////////////////////////////////////////////////////////////////////// 60 | 61 | .idea/ 62 | -------------------------------------------------------------------------------- /wx-open-data-project/assets/launch.js: -------------------------------------------------------------------------------- 1 | // 2 | // api: https://developers.weixin.qq.com/minigame/dev/document/open-api/data/wx.getUserInfo.html 3 | // 4 | cc.Class({ 5 | extends: cc.Component, 6 | 7 | properties: { 8 | tips: cc.Label, 9 | content: cc.Node, 10 | prefab: cc.Prefab, 11 | 12 | }, 13 | 14 | start () { 15 | 16 | if (typeof wx === 'undefined') { 17 | return; 18 | } 19 | 20 | wx.onMessage( data => { 21 | if (data.message) { 22 | console.log(data.message); 23 | } 24 | }); 25 | 26 | this.initTips(); 27 | this.initUserInfo(); 28 | this.initFriendInfo(); 29 | }, 30 | 31 | initTips () { 32 | let renderTypeStr = 'Canvas'; 33 | if (cc.game.renderType === cc.game.RENDER_TYPE_WEBGL) { 34 | renderTypeStr = 'WEBGL'; 35 | } 36 | this.tips.string = `开放数据域当前支持 ${renderTypeStr} 渲染模式`; 37 | }, 38 | 39 | initUserInfo () { 40 | wx.getUserInfo({ 41 | openIdList: ['selfOpenId'], 42 | lang: 'zh_CN', 43 | success: (res) => { 44 | this.createUserBlock(res.data[0]); 45 | }, 46 | fail: (res) => { 47 | console.error(res); 48 | } 49 | }); 50 | }, 51 | 52 | initFriendInfo () { 53 | wx.getFriendCloudStorage({ 54 | success: (res) => { 55 | for (let i = 0; i < res.data.length; ++i) { 56 | this.createUserBlock(res.data[i]); 57 | } 58 | }, 59 | fail: (res) => { 60 | console.error(res); 61 | } 62 | }); 63 | }, 64 | 65 | createUserBlock (user) { 66 | let node = cc.instantiate(this.prefab); 67 | node.parent = this.content; 68 | node.x = 0; 69 | 70 | // set nickName 71 | let userName = node.getChildByName('userName').getComponent(cc.Label); 72 | userName.string = user.nickName || user.nickname; 73 | 74 | // set avatar 75 | cc.loader.load({url: user.avatarUrl, type: 'png'}, (err, texture) => { 76 | if (err) console.error(err); 77 | let userIcon = node.getChildByName('mask').children[0].getComponent(cc.Sprite); 78 | userIcon.spriteFrame = new cc.SpriteFrame(texture); 79 | }); 80 | } 81 | 82 | }); 83 | -------------------------------------------------------------------------------- /wx-main-project/assets/scripts/lanuch.js: -------------------------------------------------------------------------------- 1 | /** 2 | * wx api: https://developers.weixin.qq.com/minigame/dev/document/open-api/user-info/wx.createUserInfoButton.html 3 | */ 4 | cc.Class({ 5 | extends: cc.Component, 6 | 7 | properties: { 8 | wxSubContextView: cc.Node, 9 | tips: cc.Label, 10 | 11 | avatar: cc.Sprite, 12 | nickName: cc.Label, 13 | 14 | readme: cc.Label, 15 | 16 | background: cc.Node 17 | }, 18 | 19 | start () { 20 | this.loadReadme(); 21 | this.initAction(); 22 | this.initUserInfoButton(); 23 | }, 24 | 25 | initAction () { 26 | this._isShow = false; 27 | this.wxSubContextView.y = 1000; 28 | this._showAction = cc.moveTo(0.5, this.wxSubContextView.x, 110); 29 | this._hideAction = cc.moveTo(0.5, this.wxSubContextView.x, 1000); 30 | 31 | this.background.on('touchstart', this.onClick, this); 32 | }, 33 | 34 | initUserInfoButton () { 35 | if (typeof wx === 'undefined') { 36 | return; 37 | } 38 | 39 | let systemInfo = wx.getSystemInfoSync(); 40 | let width = systemInfo.windowWidth; 41 | let height = systemInfo.windowHeight; 42 | let button = wx.createUserInfoButton({ 43 | type: 'text', 44 | text: '', 45 | style: { 46 | left: 0, 47 | top: 0, 48 | width: width, 49 | height: height, 50 | lineHeight: 40, 51 | backgroundColor: '#00000000', 52 | color: '#00000000', 53 | textAlign: 'center', 54 | fontSize: 10, 55 | borderRadius: 4 56 | } 57 | }); 58 | 59 | button.onTap((res) => { 60 | let userInfo = res.userInfo; 61 | if (!userInfo) { 62 | this.tips.string = res.errMsg; 63 | return; 64 | } 65 | 66 | this.nickName.string = userInfo.nickName; 67 | 68 | cc.loader.load({url: userInfo.avatarUrl, type: 'png'}, (err, texture) => { 69 | if (err) { 70 | console.error(err); 71 | return; 72 | } 73 | this.avatar.spriteFrame = new cc.SpriteFrame(texture); 74 | }); 75 | 76 | wx.getOpenDataContext().postMessage({ 77 | message: "User info get success." 78 | }); 79 | 80 | this.wxSubContextView.runAction(this._showAction); 81 | this._isShow = true; 82 | 83 | button.hide(); 84 | button.destroy(); 85 | 86 | }); 87 | }, 88 | 89 | onClick () { 90 | this._isShow = !this._isShow; 91 | if (this._isShow) { 92 | this.wxSubContextView.runAction(this._showAction); 93 | } 94 | else { 95 | this.wxSubContextView.runAction(this._hideAction); 96 | } 97 | }, 98 | 99 | 100 | onShowReadme () { 101 | this.readme.node.parent.active = true; 102 | }, 103 | 104 | loadReadme () { 105 | cc.loader.loadRes('readme', cc.TextAsset, (err, res) => { 106 | this.readme.string = '\n' + res.text; 107 | }); 108 | this.readme.node.on('touchstart' , () => { 109 | this.readme.node.parent.active = false; 110 | }, this); 111 | }, 112 | }); 113 | -------------------------------------------------------------------------------- /wx-open-data-project/assets/block.prefab: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 0, 11 | "asyncLoadAssets": false 12 | }, 13 | { 14 | "__type__": "cc.Node", 15 | "_name": "block", 16 | "_objFlags": 0, 17 | "_parent": null, 18 | "_children": [ 19 | { 20 | "__id__": 2 21 | }, 22 | { 23 | "__id__": 5 24 | } 25 | ], 26 | "_active": true, 27 | "_level": 1, 28 | "_components": [ 29 | { 30 | "__id__": 11 31 | } 32 | ], 33 | "_prefab": { 34 | "__id__": 12 35 | }, 36 | "_opacity": 255, 37 | "_color": { 38 | "__type__": "cc.Color", 39 | "r": 255, 40 | "g": 255, 41 | "b": 255, 42 | "a": 255 43 | }, 44 | "_contentSize": { 45 | "__type__": "cc.Size", 46 | "width": 350, 47 | "height": 60 48 | }, 49 | "_anchorPoint": { 50 | "__type__": "cc.Vec2", 51 | "x": 0.5, 52 | "y": 0.5 53 | }, 54 | "_position": { 55 | "__type__": "cc.Vec3", 56 | "x": 0, 57 | "y": 0, 58 | "z": 0 59 | }, 60 | "_scale": { 61 | "__type__": "cc.Vec3", 62 | "x": 1, 63 | "y": 1, 64 | "z": 1 65 | }, 66 | "_rotationX": 0, 67 | "_rotationY": 0, 68 | "_quat": { 69 | "__type__": "cc.Quat", 70 | "x": 0, 71 | "y": 0, 72 | "z": 0, 73 | "w": 1 74 | }, 75 | "_skewX": 0, 76 | "_skewY": 0, 77 | "groupIndex": 0, 78 | "_id": "" 79 | }, 80 | { 81 | "__type__": "cc.Node", 82 | "_name": "userName", 83 | "_objFlags": 0, 84 | "_parent": { 85 | "__id__": 1 86 | }, 87 | "_children": [], 88 | "_active": true, 89 | "_level": 2, 90 | "_components": [ 91 | { 92 | "__id__": 3 93 | } 94 | ], 95 | "_prefab": { 96 | "__id__": 4 97 | }, 98 | "_opacity": 255, 99 | "_color": { 100 | "__type__": "cc.Color", 101 | "r": 0, 102 | "g": 0, 103 | "b": 0, 104 | "a": 255 105 | }, 106 | "_contentSize": { 107 | "__type__": "cc.Size", 108 | "width": 61.17, 109 | "height": 30 110 | }, 111 | "_anchorPoint": { 112 | "__type__": "cc.Vec2", 113 | "x": 0, 114 | "y": 0.5 115 | }, 116 | "_position": { 117 | "__type__": "cc.Vec3", 118 | "x": -60, 119 | "y": 0, 120 | "z": 0 121 | }, 122 | "_scale": { 123 | "__type__": "cc.Vec3", 124 | "x": 1, 125 | "y": 1, 126 | "z": 1 127 | }, 128 | "_rotationX": 0, 129 | "_rotationY": 0, 130 | "_quat": { 131 | "__type__": "cc.Quat", 132 | "x": 0, 133 | "y": 0, 134 | "z": 0, 135 | "w": 1 136 | }, 137 | "_skewX": 0, 138 | "_skewY": 0, 139 | "groupIndex": 0, 140 | "_id": "" 141 | }, 142 | { 143 | "__type__": "cc.Label", 144 | "_name": "", 145 | "_objFlags": 0, 146 | "node": { 147 | "__id__": 2 148 | }, 149 | "_enabled": true, 150 | "_srcBlendFactor": 1, 151 | "_dstBlendFactor": 771, 152 | "_useOriginalSize": false, 153 | "_string": "Label", 154 | "_N$string": "Label", 155 | "_fontSize": 25, 156 | "_lineHeight": 30, 157 | "_enableWrapText": true, 158 | "_N$file": null, 159 | "_isSystemFontUsed": true, 160 | "_spacingX": 0, 161 | "_batchAsBitmap": false, 162 | "_N$horizontalAlign": 1, 163 | "_N$verticalAlign": 1, 164 | "_N$fontFamily": "Arial", 165 | "_N$overflow": 0, 166 | "_id": "" 167 | }, 168 | { 169 | "__type__": "cc.PrefabInfo", 170 | "root": { 171 | "__id__": 1 172 | }, 173 | "asset": { 174 | "__uuid__": "cb290273-3808-4a58-9ec8-d799c8fee865" 175 | }, 176 | "fileId": "2fQcfaB6pAm5ImzuYnWBOS", 177 | "sync": false 178 | }, 179 | { 180 | "__type__": "cc.Node", 181 | "_name": "mask", 182 | "_objFlags": 0, 183 | "_parent": { 184 | "__id__": 1 185 | }, 186 | "_children": [ 187 | { 188 | "__id__": 6 189 | } 190 | ], 191 | "_active": true, 192 | "_level": 2, 193 | "_components": [ 194 | { 195 | "__id__": 9 196 | } 197 | ], 198 | "_prefab": { 199 | "__id__": 10 200 | }, 201 | "_opacity": 255, 202 | "_color": { 203 | "__type__": "cc.Color", 204 | "r": 255, 205 | "g": 255, 206 | "b": 255, 207 | "a": 255 208 | }, 209 | "_contentSize": { 210 | "__type__": "cc.Size", 211 | "width": 60, 212 | "height": 60 213 | }, 214 | "_anchorPoint": { 215 | "__type__": "cc.Vec2", 216 | "x": 0.5, 217 | "y": 0.5 218 | }, 219 | "_position": { 220 | "__type__": "cc.Vec3", 221 | "x": -109, 222 | "y": 0, 223 | "z": 0 224 | }, 225 | "_scale": { 226 | "__type__": "cc.Vec3", 227 | "x": 1, 228 | "y": 1, 229 | "z": 1 230 | }, 231 | "_rotationX": 0, 232 | "_rotationY": 0, 233 | "_quat": { 234 | "__type__": "cc.Quat", 235 | "x": 0, 236 | "y": 0, 237 | "z": 0, 238 | "w": 1 239 | }, 240 | "_skewX": 0, 241 | "_skewY": 0, 242 | "groupIndex": 0, 243 | "_id": "" 244 | }, 245 | { 246 | "__type__": "cc.Node", 247 | "_name": "userIcon", 248 | "_objFlags": 0, 249 | "_parent": { 250 | "__id__": 5 251 | }, 252 | "_children": [], 253 | "_active": true, 254 | "_level": 3, 255 | "_components": [ 256 | { 257 | "__id__": 7 258 | } 259 | ], 260 | "_prefab": { 261 | "__id__": 8 262 | }, 263 | "_opacity": 255, 264 | "_color": { 265 | "__type__": "cc.Color", 266 | "r": 255, 267 | "g": 255, 268 | "b": 255, 269 | "a": 255 270 | }, 271 | "_contentSize": { 272 | "__type__": "cc.Size", 273 | "width": 60, 274 | "height": 60 275 | }, 276 | "_anchorPoint": { 277 | "__type__": "cc.Vec2", 278 | "x": 0.5, 279 | "y": 0.5 280 | }, 281 | "_position": { 282 | "__type__": "cc.Vec3", 283 | "x": 0, 284 | "y": 0, 285 | "z": 0 286 | }, 287 | "_scale": { 288 | "__type__": "cc.Vec3", 289 | "x": 1, 290 | "y": 1, 291 | "z": 1 292 | }, 293 | "_rotationX": 0, 294 | "_rotationY": 0, 295 | "_quat": { 296 | "__type__": "cc.Quat", 297 | "x": 0, 298 | "y": 0, 299 | "z": 0, 300 | "w": 1 301 | }, 302 | "_skewX": 0, 303 | "_skewY": 0, 304 | "groupIndex": 0, 305 | "_id": "" 306 | }, 307 | { 308 | "__type__": "cc.Sprite", 309 | "_name": "", 310 | "_objFlags": 0, 311 | "node": { 312 | "__id__": 6 313 | }, 314 | "_enabled": true, 315 | "_srcBlendFactor": 770, 316 | "_dstBlendFactor": 771, 317 | "_spriteFrame": { 318 | "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" 319 | }, 320 | "_type": 0, 321 | "_sizeMode": 0, 322 | "_fillType": 0, 323 | "_fillCenter": { 324 | "__type__": "cc.Vec2", 325 | "x": 0, 326 | "y": 0 327 | }, 328 | "_fillStart": 0, 329 | "_fillRange": 0, 330 | "_isTrimmedMode": true, 331 | "_state": 0, 332 | "_atlas": null, 333 | "_id": "" 334 | }, 335 | { 336 | "__type__": "cc.PrefabInfo", 337 | "root": { 338 | "__id__": 1 339 | }, 340 | "asset": { 341 | "__uuid__": "cb290273-3808-4a58-9ec8-d799c8fee865" 342 | }, 343 | "fileId": "fbrqZuJB9Pzp7JC3JQ32o4", 344 | "sync": false 345 | }, 346 | { 347 | "__type__": "cc.Mask", 348 | "_name": "", 349 | "_objFlags": 0, 350 | "node": { 351 | "__id__": 5 352 | }, 353 | "_enabled": true, 354 | "_srcBlendFactor": 770, 355 | "_dstBlendFactor": 771, 356 | "_spriteFrame": null, 357 | "_type": 1, 358 | "_segments": 30, 359 | "_N$alphaThreshold": 0, 360 | "_N$inverted": false, 361 | "_id": "" 362 | }, 363 | { 364 | "__type__": "cc.PrefabInfo", 365 | "root": { 366 | "__id__": 1 367 | }, 368 | "asset": { 369 | "__uuid__": "cb290273-3808-4a58-9ec8-d799c8fee865" 370 | }, 371 | "fileId": "91zn2IjZRNIp0vvEycCyzg", 372 | "sync": false 373 | }, 374 | { 375 | "__type__": "cc.Sprite", 376 | "_name": "", 377 | "_objFlags": 0, 378 | "node": { 379 | "__id__": 1 380 | }, 381 | "_enabled": true, 382 | "_srcBlendFactor": 770, 383 | "_dstBlendFactor": 771, 384 | "_spriteFrame": { 385 | "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" 386 | }, 387 | "_type": 0, 388 | "_sizeMode": 0, 389 | "_fillType": 0, 390 | "_fillCenter": { 391 | "__type__": "cc.Vec2", 392 | "x": 0, 393 | "y": 0 394 | }, 395 | "_fillStart": 0, 396 | "_fillRange": 0, 397 | "_isTrimmedMode": true, 398 | "_state": 0, 399 | "_atlas": null, 400 | "_id": "" 401 | }, 402 | { 403 | "__type__": "cc.PrefabInfo", 404 | "root": { 405 | "__id__": 1 406 | }, 407 | "asset": { 408 | "__uuid__": "cb290273-3808-4a58-9ec8-d799c8fee865" 409 | }, 410 | "fileId": "9cRtn0hFBAnb0+E2/DH1Io", 411 | "sync": false 412 | } 413 | ] -------------------------------------------------------------------------------- /wx-open-data-project/assets/Test.fire: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.SceneAsset", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "scene": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Scene", 13 | "_objFlags": 0, 14 | "_parent": null, 15 | "_children": [ 16 | { 17 | "__id__": 2 18 | }, 19 | { 20 | "__id__": 18 21 | } 22 | ], 23 | "_active": false, 24 | "_level": 0, 25 | "_components": [], 26 | "_prefab": null, 27 | "_opacity": 255, 28 | "_color": { 29 | "__type__": "cc.Color", 30 | "r": 255, 31 | "g": 255, 32 | "b": 255, 33 | "a": 255 34 | }, 35 | "_contentSize": { 36 | "__type__": "cc.Size", 37 | "width": 0, 38 | "height": 0 39 | }, 40 | "_anchorPoint": { 41 | "__type__": "cc.Vec2", 42 | "x": 0, 43 | "y": 0 44 | }, 45 | "_scale": { 46 | "__type__": "cc.Vec3", 47 | "x": 1, 48 | "y": 1, 49 | "z": 1 50 | }, 51 | "_quat": { 52 | "__type__": "cc.Quat", 53 | "x": 0, 54 | "y": 0, 55 | "z": 0, 56 | "w": 1 57 | }, 58 | "_is3DNode": true, 59 | "groupIndex": 0, 60 | "autoReleaseAssets": false, 61 | "_id": "088db947-d2bf-4c47-b64f-f30bc4bc0faa" 62 | }, 63 | { 64 | "__type__": "cc.Node", 65 | "_name": "Canvas", 66 | "_objFlags": 0, 67 | "_parent": { 68 | "__id__": 1 69 | }, 70 | "_children": [ 71 | { 72 | "__id__": 3 73 | }, 74 | { 75 | "__id__": 5 76 | }, 77 | { 78 | "__id__": 14 79 | } 80 | ], 81 | "_active": true, 82 | "_level": 1, 83 | "_components": [ 84 | { 85 | "__id__": 17 86 | } 87 | ], 88 | "_prefab": null, 89 | "_opacity": 255, 90 | "_color": { 91 | "__type__": "cc.Color", 92 | "r": 255, 93 | "g": 255, 94 | "b": 255, 95 | "a": 255 96 | }, 97 | "_contentSize": { 98 | "__type__": "cc.Size", 99 | "width": 400, 100 | "height": 420 101 | }, 102 | "_anchorPoint": { 103 | "__type__": "cc.Vec2", 104 | "x": 0.5, 105 | "y": 0.5 106 | }, 107 | "_position": { 108 | "__type__": "cc.Vec3", 109 | "x": 200, 110 | "y": 210, 111 | "z": 0 112 | }, 113 | "_scale": { 114 | "__type__": "cc.Vec3", 115 | "x": 1, 116 | "y": 1, 117 | "z": 1 118 | }, 119 | "_quat": { 120 | "__type__": "cc.Quat", 121 | "x": 0, 122 | "y": 0, 123 | "z": 0, 124 | "w": 1 125 | }, 126 | "_skewX": 0, 127 | "_skewY": 0, 128 | "_is3DNode": false, 129 | "groupIndex": 0, 130 | "_rotationX": 0, 131 | "_rotationY": 0, 132 | "_id": "1f51fRKdx9KAZIFK6yiet28" 133 | }, 134 | { 135 | "__type__": "cc.Node", 136 | "_name": "Main Camera", 137 | "_objFlags": 0, 138 | "_parent": { 139 | "__id__": 2 140 | }, 141 | "_children": [], 142 | "_active": true, 143 | "_level": 1, 144 | "_components": [ 145 | { 146 | "__id__": 4 147 | } 148 | ], 149 | "_prefab": null, 150 | "_opacity": 255, 151 | "_color": { 152 | "__type__": "cc.Color", 153 | "r": 255, 154 | "g": 255, 155 | "b": 255, 156 | "a": 255 157 | }, 158 | "_contentSize": { 159 | "__type__": "cc.Size", 160 | "width": 0, 161 | "height": 0 162 | }, 163 | "_anchorPoint": { 164 | "__type__": "cc.Vec2", 165 | "x": 0.5, 166 | "y": 0.5 167 | }, 168 | "_position": { 169 | "__type__": "cc.Vec3", 170 | "x": 0, 171 | "y": 0, 172 | "z": 0 173 | }, 174 | "_scale": { 175 | "__type__": "cc.Vec3", 176 | "x": 1, 177 | "y": 1, 178 | "z": 1 179 | }, 180 | "_quat": { 181 | "__type__": "cc.Quat", 182 | "x": 0, 183 | "y": 0, 184 | "z": 0, 185 | "w": 1 186 | }, 187 | "_skewX": 0, 188 | "_skewY": 0, 189 | "_is3DNode": false, 190 | "groupIndex": 0, 191 | "_rotationX": 0, 192 | "_rotationY": 0, 193 | "_id": "2ecXbVuURNTrdfjy5OmmyR" 194 | }, 195 | { 196 | "__type__": "cc.Camera", 197 | "_name": "", 198 | "_objFlags": 0, 199 | "node": { 200 | "__id__": 3 201 | }, 202 | "_enabled": true, 203 | "_cullingMask": 4294967295, 204 | "_clearFlags": 7, 205 | "_backgroundColor": { 206 | "__type__": "cc.Color", 207 | "r": 255, 208 | "g": 255, 209 | "b": 255, 210 | "a": 0 211 | }, 212 | "_depth": -1, 213 | "_zoomRatio": 1, 214 | "_targetTexture": null, 215 | "_fov": 60, 216 | "_orthoSize": 10, 217 | "_nearClip": 0.1, 218 | "_farClip": 4096, 219 | "_ortho": true, 220 | "_rect": { 221 | "__type__": "cc.Rect", 222 | "x": 0, 223 | "y": 0, 224 | "width": 1, 225 | "height": 1 226 | }, 227 | "_renderStages": 1, 228 | "_id": "0dm+E2haFH8Kt+hoEC6amc" 229 | }, 230 | { 231 | "__type__": "cc.Node", 232 | "_name": "Display", 233 | "_objFlags": 0, 234 | "_parent": { 235 | "__id__": 2 236 | }, 237 | "_children": [ 238 | { 239 | "__id__": 6 240 | } 241 | ], 242 | "_active": true, 243 | "_level": 0, 244 | "_components": [ 245 | { 246 | "__id__": 12 247 | }, 248 | { 249 | "__id__": 13 250 | } 251 | ], 252 | "_prefab": null, 253 | "_opacity": 255, 254 | "_color": { 255 | "__type__": "cc.Color", 256 | "r": 255, 257 | "g": 255, 258 | "b": 255, 259 | "a": 255 260 | }, 261 | "_contentSize": { 262 | "__type__": "cc.Size", 263 | "width": 400, 264 | "height": 380 265 | }, 266 | "_anchorPoint": { 267 | "__type__": "cc.Vec2", 268 | "x": 0.5, 269 | "y": 0.5 270 | }, 271 | "_position": { 272 | "__type__": "cc.Vec3", 273 | "x": 0, 274 | "y": 20, 275 | "z": 0 276 | }, 277 | "_scale": { 278 | "__type__": "cc.Vec3", 279 | "x": 1, 280 | "y": 1, 281 | "z": 1 282 | }, 283 | "_quat": { 284 | "__type__": "cc.Quat", 285 | "x": 0, 286 | "y": 0, 287 | "z": 0, 288 | "w": 1 289 | }, 290 | "_skewX": 0, 291 | "_skewY": 0, 292 | "_is3DNode": false, 293 | "groupIndex": 0, 294 | "_rotationX": 0, 295 | "_rotationY": 0, 296 | "_id": "c6442bKqrlDTYXtR1pIpOtJ" 297 | }, 298 | { 299 | "__type__": "cc.Node", 300 | "_name": "View", 301 | "_objFlags": 0, 302 | "_parent": { 303 | "__id__": 5 304 | }, 305 | "_children": [ 306 | { 307 | "__id__": 7 308 | } 309 | ], 310 | "_active": true, 311 | "_level": 0, 312 | "_components": [ 313 | { 314 | "__id__": 10 315 | }, 316 | { 317 | "__id__": 11 318 | } 319 | ], 320 | "_prefab": null, 321 | "_opacity": 255, 322 | "_color": { 323 | "__type__": "cc.Color", 324 | "r": 255, 325 | "g": 255, 326 | "b": 255, 327 | "a": 255 328 | }, 329 | "_contentSize": { 330 | "__type__": "cc.Size", 331 | "width": 400, 332 | "height": 380 333 | }, 334 | "_anchorPoint": { 335 | "__type__": "cc.Vec2", 336 | "x": 0.5, 337 | "y": 0.5 338 | }, 339 | "_position": { 340 | "__type__": "cc.Vec3", 341 | "x": 0, 342 | "y": 0, 343 | "z": 0 344 | }, 345 | "_scale": { 346 | "__type__": "cc.Vec3", 347 | "x": 1, 348 | "y": 1, 349 | "z": 1 350 | }, 351 | "_quat": { 352 | "__type__": "cc.Quat", 353 | "x": 0, 354 | "y": 0, 355 | "z": 0, 356 | "w": 1 357 | }, 358 | "_skewX": 0, 359 | "_skewY": 0, 360 | "_is3DNode": false, 361 | "groupIndex": 0, 362 | "_rotationX": 0, 363 | "_rotationY": 0, 364 | "_id": "f3405G7Q11L3J4VYsnqveeQ" 365 | }, 366 | { 367 | "__type__": "cc.Node", 368 | "_name": "Content", 369 | "_objFlags": 0, 370 | "_parent": { 371 | "__id__": 6 372 | }, 373 | "_children": [], 374 | "_active": true, 375 | "_level": 0, 376 | "_components": [ 377 | { 378 | "__id__": 8 379 | }, 380 | { 381 | "__id__": 9 382 | } 383 | ], 384 | "_prefab": null, 385 | "_opacity": 255, 386 | "_color": { 387 | "__type__": "cc.Color", 388 | "r": 255, 389 | "g": 255, 390 | "b": 255, 391 | "a": 255 392 | }, 393 | "_contentSize": { 394 | "__type__": "cc.Size", 395 | "width": 400, 396 | "height": -20 397 | }, 398 | "_anchorPoint": { 399 | "__type__": "cc.Vec2", 400 | "x": 0.5, 401 | "y": 1 402 | }, 403 | "_position": { 404 | "__type__": "cc.Vec3", 405 | "x": 0, 406 | "y": 208, 407 | "z": 0 408 | }, 409 | "_scale": { 410 | "__type__": "cc.Vec3", 411 | "x": 1, 412 | "y": 1, 413 | "z": 1 414 | }, 415 | "_quat": { 416 | "__type__": "cc.Quat", 417 | "x": 0, 418 | "y": 0, 419 | "z": 0, 420 | "w": 1 421 | }, 422 | "_skewX": 0, 423 | "_skewY": 0, 424 | "_is3DNode": false, 425 | "groupIndex": 0, 426 | "_rotationX": 0, 427 | "_rotationY": 0, 428 | "_id": "7cb25aRi1BBFrKdKudx+0XW" 429 | }, 430 | { 431 | "__type__": "cc.Widget", 432 | "_name": "", 433 | "_objFlags": 0, 434 | "node": { 435 | "__id__": 7 436 | }, 437 | "_enabled": true, 438 | "alignMode": 2, 439 | "_target": null, 440 | "_alignFlags": 40, 441 | "_left": 0, 442 | "_right": 0, 443 | "_top": 0, 444 | "_bottom": 0, 445 | "_verticalCenter": 0, 446 | "_horizontalCenter": 0, 447 | "_isAbsLeft": true, 448 | "_isAbsRight": true, 449 | "_isAbsTop": true, 450 | "_isAbsBottom": true, 451 | "_isAbsHorizontalCenter": true, 452 | "_isAbsVerticalCenter": true, 453 | "_originalWidth": 300, 454 | "_originalHeight": 0, 455 | "_id": "08HJ/AzbFKnr6WgYShYP4m" 456 | }, 457 | { 458 | "__type__": "cc.Layout", 459 | "_name": "", 460 | "_objFlags": 0, 461 | "node": { 462 | "__id__": 7 463 | }, 464 | "_enabled": true, 465 | "_layoutSize": { 466 | "__type__": "cc.Size", 467 | "width": 400, 468 | "height": -20 469 | }, 470 | "_resize": 1, 471 | "_N$layoutType": 2, 472 | "_N$padding": 0, 473 | "_N$cellSize": { 474 | "__type__": "cc.Size", 475 | "width": 40, 476 | "height": 40 477 | }, 478 | "_N$startAxis": 0, 479 | "_N$paddingLeft": 0, 480 | "_N$paddingRight": 0, 481 | "_N$paddingTop": 0, 482 | "_N$paddingBottom": 0, 483 | "_N$spacingX": 0, 484 | "_N$spacingY": 20, 485 | "_N$verticalDirection": 1, 486 | "_N$horizontalDirection": 0, 487 | "_N$affectedByScale": false, 488 | "_id": "18UPXJlWNEdpX4TkriraEb" 489 | }, 490 | { 491 | "__type__": "cc.Widget", 492 | "_name": "", 493 | "_objFlags": 0, 494 | "node": { 495 | "__id__": 6 496 | }, 497 | "_enabled": true, 498 | "alignMode": 2, 499 | "_target": null, 500 | "_alignFlags": 45, 501 | "_left": 0, 502 | "_right": 0, 503 | "_top": 0, 504 | "_bottom": 0, 505 | "_verticalCenter": 0, 506 | "_horizontalCenter": 0, 507 | "_isAbsLeft": true, 508 | "_isAbsRight": true, 509 | "_isAbsTop": true, 510 | "_isAbsBottom": true, 511 | "_isAbsHorizontalCenter": true, 512 | "_isAbsVerticalCenter": true, 513 | "_originalWidth": 240, 514 | "_originalHeight": 250, 515 | "_id": "0bpY6UnkdIp6L7jsRi01KL" 516 | }, 517 | { 518 | "__type__": "cc.Mask", 519 | "_name": "", 520 | "_objFlags": 0, 521 | "node": { 522 | "__id__": 6 523 | }, 524 | "_enabled": true, 525 | "_srcBlendFactor": 770, 526 | "_dstBlendFactor": 771, 527 | "_materials": [], 528 | "_spriteFrame": null, 529 | "_type": 0, 530 | "_segments": 64, 531 | "_N$alphaThreshold": 0, 532 | "_N$inverted": false, 533 | "_id": "312pENK/BE0Lz8UxMsmIq4" 534 | }, 535 | { 536 | "__type__": "cc.ScrollView", 537 | "_name": "", 538 | "_objFlags": 0, 539 | "node": { 540 | "__id__": 5 541 | }, 542 | "_enabled": true, 543 | "horizontal": false, 544 | "vertical": true, 545 | "inertia": true, 546 | "brake": 0.9, 547 | "elastic": true, 548 | "bounceDuration": 0.23, 549 | "scrollEvents": [], 550 | "cancelInnerEvents": true, 551 | "_N$content": { 552 | "__id__": 7 553 | }, 554 | "content": { 555 | "__id__": 7 556 | }, 557 | "_N$horizontalScrollBar": null, 558 | "_N$verticalScrollBar": null, 559 | "_id": "b4HoUznp9HN5/JWGm3VI20" 560 | }, 561 | { 562 | "__type__": "cc.Widget", 563 | "_name": "", 564 | "_objFlags": 0, 565 | "node": { 566 | "__id__": 5 567 | }, 568 | "_enabled": true, 569 | "alignMode": 1, 570 | "_target": null, 571 | "_alignFlags": 41, 572 | "_left": 0, 573 | "_right": 0, 574 | "_top": 0, 575 | "_bottom": 0, 576 | "_verticalCenter": 0, 577 | "_horizontalCenter": 0, 578 | "_isAbsLeft": true, 579 | "_isAbsRight": true, 580 | "_isAbsTop": true, 581 | "_isAbsBottom": true, 582 | "_isAbsHorizontalCenter": true, 583 | "_isAbsVerticalCenter": true, 584 | "_originalWidth": 400, 585 | "_originalHeight": 0, 586 | "_id": "43+SDa9eJNwpIeFQpCNwrv" 587 | }, 588 | { 589 | "__type__": "cc.Node", 590 | "_name": "Tips", 591 | "_objFlags": 0, 592 | "_parent": { 593 | "__id__": 2 594 | }, 595 | "_children": [], 596 | "_active": true, 597 | "_level": 1, 598 | "_components": [ 599 | { 600 | "__id__": 15 601 | }, 602 | { 603 | "__id__": 16 604 | } 605 | ], 606 | "_prefab": null, 607 | "_opacity": 255, 608 | "_color": { 609 | "__type__": "cc.Color", 610 | "r": 0, 611 | "g": 0, 612 | "b": 0, 613 | "a": 255 614 | }, 615 | "_contentSize": { 616 | "__type__": "cc.Size", 617 | "width": 400, 618 | "height": 30 619 | }, 620 | "_anchorPoint": { 621 | "__type__": "cc.Vec2", 622 | "x": 0.5, 623 | "y": 0.5 624 | }, 625 | "_position": { 626 | "__type__": "cc.Vec3", 627 | "x": 0, 628 | "y": -195, 629 | "z": 0 630 | }, 631 | "_scale": { 632 | "__type__": "cc.Vec3", 633 | "x": 1, 634 | "y": 1, 635 | "z": 1 636 | }, 637 | "_quat": { 638 | "__type__": "cc.Quat", 639 | "x": 0, 640 | "y": 0, 641 | "z": 0, 642 | "w": 1 643 | }, 644 | "_skewX": 0, 645 | "_skewY": 0, 646 | "_is3DNode": false, 647 | "groupIndex": 0, 648 | "_rotationX": 0, 649 | "_rotationY": 0, 650 | "_id": "0eMUhBYGBHLa2cZVlYBxj9" 651 | }, 652 | { 653 | "__type__": "cc.Label", 654 | "_name": "", 655 | "_objFlags": 0, 656 | "node": { 657 | "__id__": 14 658 | }, 659 | "_enabled": true, 660 | "_srcBlendFactor": 1, 661 | "_dstBlendFactor": 771, 662 | "_materials": [], 663 | "_useOriginalSize": false, 664 | "_string": "", 665 | "_N$string": "", 666 | "_fontSize": 25, 667 | "_lineHeight": 30, 668 | "_enableWrapText": true, 669 | "_N$file": null, 670 | "_isSystemFontUsed": true, 671 | "_spacingX": 0, 672 | "_batchAsBitmap": false, 673 | "_N$horizontalAlign": 1, 674 | "_N$verticalAlign": 1, 675 | "_N$fontFamily": "Arial", 676 | "_N$overflow": 2, 677 | "_id": "a8jAshHMZCN6Bea21jv/Uu" 678 | }, 679 | { 680 | "__type__": "cc.Widget", 681 | "_name": "", 682 | "_objFlags": 0, 683 | "node": { 684 | "__id__": 14 685 | }, 686 | "_enabled": true, 687 | "alignMode": 1, 688 | "_target": null, 689 | "_alignFlags": 40, 690 | "_left": 0, 691 | "_right": 0, 692 | "_top": 0, 693 | "_bottom": 0, 694 | "_verticalCenter": 0, 695 | "_horizontalCenter": 0, 696 | "_isAbsLeft": true, 697 | "_isAbsRight": true, 698 | "_isAbsTop": true, 699 | "_isAbsBottom": true, 700 | "_isAbsHorizontalCenter": true, 701 | "_isAbsVerticalCenter": true, 702 | "_originalWidth": 96, 703 | "_originalHeight": 0, 704 | "_id": "f39a+PnohCVKt+yBOsrFnD" 705 | }, 706 | { 707 | "__type__": "cc.Canvas", 708 | "_name": "", 709 | "_objFlags": 0, 710 | "node": { 711 | "__id__": 2 712 | }, 713 | "_enabled": true, 714 | "_designResolution": { 715 | "__type__": "cc.Size", 716 | "width": 400, 717 | "height": 420 718 | }, 719 | "_fitWidth": true, 720 | "_fitHeight": true, 721 | "_id": "bdEKjbb4JDibQ1N7Td+TTK" 722 | }, 723 | { 724 | "__type__": "cc.Node", 725 | "_name": "launch", 726 | "_objFlags": 0, 727 | "_parent": { 728 | "__id__": 1 729 | }, 730 | "_children": [], 731 | "_active": true, 732 | "_level": 1, 733 | "_components": [ 734 | { 735 | "__id__": 19 736 | } 737 | ], 738 | "_prefab": null, 739 | "_opacity": 255, 740 | "_color": { 741 | "__type__": "cc.Color", 742 | "r": 255, 743 | "g": 255, 744 | "b": 255, 745 | "a": 255 746 | }, 747 | "_contentSize": { 748 | "__type__": "cc.Size", 749 | "width": 400, 750 | "height": 420 751 | }, 752 | "_anchorPoint": { 753 | "__type__": "cc.Vec2", 754 | "x": 0.5, 755 | "y": 0.5 756 | }, 757 | "_position": { 758 | "__type__": "cc.Vec3", 759 | "x": 200, 760 | "y": 210, 761 | "z": 0 762 | }, 763 | "_scale": { 764 | "__type__": "cc.Vec3", 765 | "x": 1, 766 | "y": 1, 767 | "z": 1 768 | }, 769 | "_quat": { 770 | "__type__": "cc.Quat", 771 | "x": 0, 772 | "y": 0, 773 | "z": 0, 774 | "w": 1 775 | }, 776 | "_skewX": 0, 777 | "_skewY": 0, 778 | "_is3DNode": false, 779 | "groupIndex": 0, 780 | "_rotationX": 0, 781 | "_rotationY": 0, 782 | "_id": "980XNJvvRGVr+ruHYvaK6B" 783 | }, 784 | { 785 | "__type__": "e53e6YiUd9FJLf8yIQu1n47", 786 | "_name": "", 787 | "_objFlags": 0, 788 | "node": { 789 | "__id__": 18 790 | }, 791 | "_enabled": true, 792 | "tips": { 793 | "__id__": 15 794 | }, 795 | "content": { 796 | "__id__": 7 797 | }, 798 | "prefab": { 799 | "__uuid__": "cb290273-3808-4a58-9ec8-d799c8fee865" 800 | }, 801 | "_id": "47jsAE0f1FsZ6WoTLVEPRb" 802 | } 803 | ] -------------------------------------------------------------------------------- /wx-main-project/assets/scene/Test.fire: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.SceneAsset", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "scene": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Scene", 13 | "_objFlags": 0, 14 | "_parent": null, 15 | "_children": [ 16 | { 17 | "__id__": 2 18 | } 19 | ], 20 | "_active": false, 21 | "_components": [], 22 | "_prefab": null, 23 | "_opacity": 255, 24 | "_color": { 25 | "__type__": "cc.Color", 26 | "r": 255, 27 | "g": 255, 28 | "b": 255, 29 | "a": 255 30 | }, 31 | "_contentSize": { 32 | "__type__": "cc.Size", 33 | "width": 0, 34 | "height": 0 35 | }, 36 | "_anchorPoint": { 37 | "__type__": "cc.Vec2", 38 | "x": 0, 39 | "y": 0 40 | }, 41 | "_trs": { 42 | "__type__": "TypedArray", 43 | "ctor": "Float32Array", 44 | "array": [ 45 | 0, 46 | 0, 47 | 0, 48 | 0, 49 | 0, 50 | 0, 51 | 1, 52 | 1, 53 | 1, 54 | 1 55 | ] 56 | }, 57 | "_is3DNode": true, 58 | "_groupIndex": 0, 59 | "groupIndex": 0, 60 | "autoReleaseAssets": false, 61 | "_id": "739ddcda-7d7e-4b08-9081-7e95f98cc08f" 62 | }, 63 | { 64 | "__type__": "cc.Node", 65 | "_name": "Canvas", 66 | "_objFlags": 0, 67 | "_parent": { 68 | "__id__": 1 69 | }, 70 | "_children": [ 71 | { 72 | "__id__": 3 73 | }, 74 | { 75 | "__id__": 5 76 | }, 77 | { 78 | "__id__": 8 79 | }, 80 | { 81 | "__id__": 12 82 | }, 83 | { 84 | "__id__": 17 85 | }, 86 | { 87 | "__id__": 26 88 | }, 89 | { 90 | "__id__": 28 91 | } 92 | ], 93 | "_active": true, 94 | "_components": [ 95 | { 96 | "__id__": 34 97 | }, 98 | { 99 | "__id__": 35 100 | } 101 | ], 102 | "_prefab": null, 103 | "_opacity": 255, 104 | "_color": { 105 | "__type__": "cc.Color", 106 | "r": 255, 107 | "g": 255, 108 | "b": 255, 109 | "a": 255 110 | }, 111 | "_contentSize": { 112 | "__type__": "cc.Size", 113 | "width": 960, 114 | "height": 640 115 | }, 116 | "_anchorPoint": { 117 | "__type__": "cc.Vec2", 118 | "x": 0.5, 119 | "y": 0.5 120 | }, 121 | "_trs": { 122 | "__type__": "TypedArray", 123 | "ctor": "Float32Array", 124 | "array": [ 125 | 480, 126 | 320, 127 | 0, 128 | 0, 129 | 0, 130 | 0, 131 | 1, 132 | 1, 133 | 1, 134 | 1 135 | ] 136 | }, 137 | "_eulerAngles": { 138 | "__type__": "cc.Vec3", 139 | "x": 0, 140 | "y": 0, 141 | "z": 0 142 | }, 143 | "_skewX": 0, 144 | "_skewY": 0, 145 | "_is3DNode": false, 146 | "_groupIndex": 0, 147 | "groupIndex": 0, 148 | "_rotationX": 0, 149 | "_rotationY": 0, 150 | "_id": "1byIIM3/JCM4RA33PvL8+a" 151 | }, 152 | { 153 | "__type__": "cc.Node", 154 | "_name": "Main Camera", 155 | "_objFlags": 0, 156 | "_parent": { 157 | "__id__": 2 158 | }, 159 | "_children": [], 160 | "_active": true, 161 | "_components": [ 162 | { 163 | "__id__": 4 164 | } 165 | ], 166 | "_prefab": null, 167 | "_opacity": 255, 168 | "_color": { 169 | "__type__": "cc.Color", 170 | "r": 255, 171 | "g": 255, 172 | "b": 255, 173 | "a": 255 174 | }, 175 | "_contentSize": { 176 | "__type__": "cc.Size", 177 | "width": 0, 178 | "height": 0 179 | }, 180 | "_anchorPoint": { 181 | "__type__": "cc.Vec2", 182 | "x": 0.5, 183 | "y": 0.5 184 | }, 185 | "_trs": { 186 | "__type__": "TypedArray", 187 | "ctor": "Float32Array", 188 | "array": [ 189 | 0, 190 | 0, 191 | 0, 192 | 0, 193 | 0, 194 | 0, 195 | 1, 196 | 1, 197 | 1, 198 | 1 199 | ] 200 | }, 201 | "_eulerAngles": { 202 | "__type__": "cc.Vec3", 203 | "x": 0, 204 | "y": 0, 205 | "z": 0 206 | }, 207 | "_skewX": 0, 208 | "_skewY": 0, 209 | "_is3DNode": false, 210 | "_groupIndex": 0, 211 | "groupIndex": 0, 212 | "_rotationX": 0, 213 | "_rotationY": 0, 214 | "_id": "9eWEtqUc9ET7TJZRummGL7" 215 | }, 216 | { 217 | "__type__": "cc.Camera", 218 | "_name": "", 219 | "_objFlags": 0, 220 | "node": { 221 | "__id__": 3 222 | }, 223 | "_enabled": true, 224 | "_cullingMask": 4294967295, 225 | "_clearFlags": 7, 226 | "_backgroundColor": { 227 | "__type__": "cc.Color", 228 | "r": 0, 229 | "g": 0, 230 | "b": 0, 231 | "a": 255 232 | }, 233 | "_depth": -1, 234 | "_zoomRatio": 1, 235 | "_targetTexture": null, 236 | "_fov": 60, 237 | "_orthoSize": 10, 238 | "_nearClip": 1, 239 | "_farClip": 4096, 240 | "_ortho": true, 241 | "_rect": { 242 | "__type__": "cc.Rect", 243 | "x": 0, 244 | "y": 0, 245 | "width": 1, 246 | "height": 1 247 | }, 248 | "_renderStages": 1, 249 | "_id": "bbw8XlcthP16mZNv2LSdLy" 250 | }, 251 | { 252 | "__type__": "cc.Node", 253 | "_name": "Background", 254 | "_objFlags": 0, 255 | "_parent": { 256 | "__id__": 2 257 | }, 258 | "_children": [], 259 | "_active": true, 260 | "_components": [ 261 | { 262 | "__id__": 6 263 | }, 264 | { 265 | "__id__": 7 266 | } 267 | ], 268 | "_prefab": null, 269 | "_opacity": 255, 270 | "_color": { 271 | "__type__": "cc.Color", 272 | "r": 53, 273 | "g": 53, 274 | "b": 53, 275 | "a": 255 276 | }, 277 | "_contentSize": { 278 | "__type__": "cc.Size", 279 | "width": 960, 280 | "height": 640 281 | }, 282 | "_anchorPoint": { 283 | "__type__": "cc.Vec2", 284 | "x": 0.5, 285 | "y": 0.5 286 | }, 287 | "_trs": { 288 | "__type__": "TypedArray", 289 | "ctor": "Float32Array", 290 | "array": [ 291 | 0, 292 | 0, 293 | 0, 294 | 0, 295 | 0, 296 | 0, 297 | 1, 298 | 1, 299 | 1, 300 | 1 301 | ] 302 | }, 303 | "_eulerAngles": { 304 | "__type__": "cc.Vec3", 305 | "x": 0, 306 | "y": 0, 307 | "z": 0 308 | }, 309 | "_skewX": 0, 310 | "_skewY": 0, 311 | "_is3DNode": false, 312 | "_groupIndex": 0, 313 | "groupIndex": 0, 314 | "_rotationX": 0, 315 | "_rotationY": 0, 316 | "_id": "c7oO3SwD9EMoJFpl2/ecLY" 317 | }, 318 | { 319 | "__type__": "cc.Sprite", 320 | "_name": "", 321 | "_objFlags": 0, 322 | "node": { 323 | "__id__": 5 324 | }, 325 | "_enabled": true, 326 | "_materials": [ 327 | { 328 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" 329 | } 330 | ], 331 | "_srcBlendFactor": 770, 332 | "_dstBlendFactor": 771, 333 | "_spriteFrame": { 334 | "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" 335 | }, 336 | "_type": 0, 337 | "_sizeMode": 0, 338 | "_fillType": 0, 339 | "_fillCenter": { 340 | "__type__": "cc.Vec2", 341 | "x": 0, 342 | "y": 0 343 | }, 344 | "_fillStart": 0, 345 | "_fillRange": 0, 346 | "_isTrimmedMode": true, 347 | "_atlas": null, 348 | "_id": "c1qfqmgrlKxIkxrm2+nTHA" 349 | }, 350 | { 351 | "__type__": "cc.Widget", 352 | "_name": "", 353 | "_objFlags": 0, 354 | "node": { 355 | "__id__": 5 356 | }, 357 | "_enabled": true, 358 | "alignMode": 0, 359 | "_target": null, 360 | "_alignFlags": 45, 361 | "_left": 0, 362 | "_right": 0, 363 | "_top": 0, 364 | "_bottom": 0, 365 | "_verticalCenter": 0, 366 | "_horizontalCenter": 0, 367 | "_isAbsLeft": true, 368 | "_isAbsRight": true, 369 | "_isAbsTop": true, 370 | "_isAbsBottom": true, 371 | "_isAbsHorizontalCenter": true, 372 | "_isAbsVerticalCenter": true, 373 | "_originalWidth": 1000, 374 | "_originalHeight": 1000, 375 | "_id": "15e928AR1LrYyG9az2FREy" 376 | }, 377 | { 378 | "__type__": "cc.Node", 379 | "_name": "help_btn", 380 | "_objFlags": 0, 381 | "_parent": { 382 | "__id__": 2 383 | }, 384 | "_children": [], 385 | "_active": true, 386 | "_components": [ 387 | { 388 | "__id__": 9 389 | }, 390 | { 391 | "__id__": 10 392 | } 393 | ], 394 | "_prefab": null, 395 | "_opacity": 255, 396 | "_color": { 397 | "__type__": "cc.Color", 398 | "r": 255, 399 | "g": 255, 400 | "b": 255, 401 | "a": 255 402 | }, 403 | "_contentSize": { 404 | "__type__": "cc.Size", 405 | "width": 24, 406 | "height": 24 407 | }, 408 | "_anchorPoint": { 409 | "__type__": "cc.Vec2", 410 | "x": 0.5, 411 | "y": 0.5 412 | }, 413 | "_trs": { 414 | "__type__": "TypedArray", 415 | "ctor": "Float32Array", 416 | "array": [ 417 | 402, 418 | 258, 419 | 0, 420 | 0, 421 | 0, 422 | 0, 423 | 1, 424 | 2, 425 | 2, 426 | 0 427 | ] 428 | }, 429 | "_eulerAngles": { 430 | "__type__": "cc.Vec3", 431 | "x": 0, 432 | "y": 0, 433 | "z": 0 434 | }, 435 | "_skewX": 0, 436 | "_skewY": 0, 437 | "_is3DNode": false, 438 | "_groupIndex": 0, 439 | "groupIndex": 0, 440 | "_rotationX": 0, 441 | "_rotationY": 0, 442 | "_id": "90TuqYyh5MmYlATpcHoNwZ" 443 | }, 444 | { 445 | "__type__": "cc.Sprite", 446 | "_name": "", 447 | "_objFlags": 0, 448 | "node": { 449 | "__id__": 8 450 | }, 451 | "_enabled": true, 452 | "_materials": [ 453 | { 454 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" 455 | } 456 | ], 457 | "_srcBlendFactor": 770, 458 | "_dstBlendFactor": 771, 459 | "_spriteFrame": { 460 | "__uuid__": "0005abad-0d26-4f7d-8b5e-ef7a677167d2" 461 | }, 462 | "_type": 0, 463 | "_sizeMode": 0, 464 | "_fillType": 0, 465 | "_fillCenter": { 466 | "__type__": "cc.Vec2", 467 | "x": 0, 468 | "y": 0 469 | }, 470 | "_fillStart": 0, 471 | "_fillRange": 0, 472 | "_isTrimmedMode": true, 473 | "_atlas": null, 474 | "_id": "dbqXR00pdLrrU4oLyQSH8/" 475 | }, 476 | { 477 | "__type__": "cc.Button", 478 | "_name": "", 479 | "_objFlags": 0, 480 | "node": { 481 | "__id__": 8 482 | }, 483 | "_enabled": true, 484 | "duration": 0.1, 485 | "zoomScale": 1.1, 486 | "clickEvents": [ 487 | { 488 | "__id__": 11 489 | } 490 | ], 491 | "_N$interactable": true, 492 | "_N$enableAutoGrayEffect": false, 493 | "_N$transition": 3, 494 | "transition": 3, 495 | "_N$normalColor": { 496 | "__type__": "cc.Color", 497 | "r": 214, 498 | "g": 214, 499 | "b": 214, 500 | "a": 255 501 | }, 502 | "_N$pressedColor": { 503 | "__type__": "cc.Color", 504 | "r": 211, 505 | "g": 211, 506 | "b": 211, 507 | "a": 255 508 | }, 509 | "pressedColor": { 510 | "__type__": "cc.Color", 511 | "r": 211, 512 | "g": 211, 513 | "b": 211, 514 | "a": 255 515 | }, 516 | "_N$hoverColor": { 517 | "__type__": "cc.Color", 518 | "r": 255, 519 | "g": 255, 520 | "b": 255, 521 | "a": 255 522 | }, 523 | "hoverColor": { 524 | "__type__": "cc.Color", 525 | "r": 255, 526 | "g": 255, 527 | "b": 255, 528 | "a": 255 529 | }, 530 | "_N$disabledColor": { 531 | "__type__": "cc.Color", 532 | "r": 124, 533 | "g": 124, 534 | "b": 124, 535 | "a": 255 536 | }, 537 | "_N$normalSprite": null, 538 | "_N$pressedSprite": null, 539 | "pressedSprite": null, 540 | "_N$hoverSprite": null, 541 | "hoverSprite": null, 542 | "_N$disabledSprite": null, 543 | "_N$target": { 544 | "__id__": 8 545 | }, 546 | "_id": "6bdLZDAExLRLLx6EN+SQuw" 547 | }, 548 | { 549 | "__type__": "cc.ClickEvent", 550 | "target": { 551 | "__id__": 2 552 | }, 553 | "component": "", 554 | "_componentId": "05e9f1EiV9DqKP0earTWhpP", 555 | "handler": "onShowReadme", 556 | "customEventData": "" 557 | }, 558 | { 559 | "__type__": "cc.Node", 560 | "_name": "WxSubContextView", 561 | "_objFlags": 0, 562 | "_parent": { 563 | "__id__": 2 564 | }, 565 | "_children": [], 566 | "_active": true, 567 | "_components": [ 568 | { 569 | "__id__": 13 570 | }, 571 | { 572 | "__id__": 14 573 | }, 574 | { 575 | "__id__": 15 576 | }, 577 | { 578 | "__id__": 16 579 | } 580 | ], 581 | "_prefab": null, 582 | "_opacity": 255, 583 | "_color": { 584 | "__type__": "cc.Color", 585 | "r": 255, 586 | "g": 255, 587 | "b": 255, 588 | "a": 255 589 | }, 590 | "_contentSize": { 591 | "__type__": "cc.Size", 592 | "width": 400, 593 | "height": 420 594 | }, 595 | "_anchorPoint": { 596 | "__type__": "cc.Vec2", 597 | "x": 0.5, 598 | "y": 0.5 599 | }, 600 | "_trs": { 601 | "__type__": "TypedArray", 602 | "ctor": "Float32Array", 603 | "array": [ 604 | 0, 605 | 110, 606 | 0, 607 | 0, 608 | 0, 609 | 0, 610 | 1, 611 | 1, 612 | 1, 613 | 1 614 | ] 615 | }, 616 | "_eulerAngles": { 617 | "__type__": "cc.Vec3", 618 | "x": 0, 619 | "y": 0, 620 | "z": 0 621 | }, 622 | "_skewX": 0, 623 | "_skewY": 0, 624 | "_is3DNode": false, 625 | "_groupIndex": 0, 626 | "groupIndex": 0, 627 | "_rotationX": 0, 628 | "_rotationY": 0, 629 | "_id": "1fMlFvy+dHyYCMOk21PFHu" 630 | }, 631 | { 632 | "__type__": "cc.Sprite", 633 | "_name": "", 634 | "_objFlags": 0, 635 | "node": { 636 | "__id__": 12 637 | }, 638 | "_enabled": true, 639 | "_materials": [], 640 | "_srcBlendFactor": 770, 641 | "_dstBlendFactor": 771, 642 | "_spriteFrame": null, 643 | "_type": 0, 644 | "_sizeMode": 0, 645 | "_fillType": 0, 646 | "_fillCenter": { 647 | "__type__": "cc.Vec2", 648 | "x": 0, 649 | "y": 0 650 | }, 651 | "_fillStart": 0, 652 | "_fillRange": 0, 653 | "_isTrimmedMode": true, 654 | "_atlas": null, 655 | "_id": "d7abLxt1dD8ajdOfPaFk4/" 656 | }, 657 | { 658 | "__type__": "cc.WXSubContextView", 659 | "_name": "", 660 | "_objFlags": 0, 661 | "node": { 662 | "__id__": 12 663 | }, 664 | "_enabled": true, 665 | "_fps": 60, 666 | "_id": "eeKY4nXytJKpiwLAJT6isy" 667 | }, 668 | { 669 | "__type__": "cc.Widget", 670 | "_name": "", 671 | "_objFlags": 0, 672 | "node": { 673 | "__id__": 12 674 | }, 675 | "_enabled": true, 676 | "alignMode": 1, 677 | "_target": null, 678 | "_alignFlags": 40, 679 | "_left": 280, 680 | "_right": 280, 681 | "_top": 0, 682 | "_bottom": 0, 683 | "_verticalCenter": 0, 684 | "_horizontalCenter": 0, 685 | "_isAbsLeft": true, 686 | "_isAbsRight": true, 687 | "_isAbsTop": true, 688 | "_isAbsBottom": true, 689 | "_isAbsHorizontalCenter": true, 690 | "_isAbsVerticalCenter": true, 691 | "_originalWidth": 400, 692 | "_originalHeight": 0, 693 | "_id": "a287VZuGBGoJBapLJBes+t" 694 | }, 695 | { 696 | "__type__": "cc.BlockInputEvents", 697 | "_name": "", 698 | "_objFlags": 0, 699 | "node": { 700 | "__id__": 12 701 | }, 702 | "_enabled": true, 703 | "_id": "65ZI0E8RRC05G48EEAG5zT" 704 | }, 705 | { 706 | "__type__": "cc.Node", 707 | "_name": "UserInfo", 708 | "_objFlags": 0, 709 | "_parent": { 710 | "__id__": 2 711 | }, 712 | "_children": [ 713 | { 714 | "__id__": 18 715 | }, 716 | { 717 | "__id__": 22 718 | } 719 | ], 720 | "_active": true, 721 | "_components": [ 722 | { 723 | "__id__": 24 724 | }, 725 | { 726 | "__id__": 25 727 | } 728 | ], 729 | "_prefab": null, 730 | "_opacity": 255, 731 | "_color": { 732 | "__type__": "cc.Color", 733 | "r": 117, 734 | "g": 117, 735 | "b": 117, 736 | "a": 255 737 | }, 738 | "_contentSize": { 739 | "__type__": "cc.Size", 740 | "width": 200, 741 | "height": 200 742 | }, 743 | "_anchorPoint": { 744 | "__type__": "cc.Vec2", 745 | "x": 0.5, 746 | "y": 0.5 747 | }, 748 | "_trs": { 749 | "__type__": "TypedArray", 750 | "ctor": "Float32Array", 751 | "array": [ 752 | -350, 753 | 190, 754 | 0, 755 | 0, 756 | 0, 757 | 0, 758 | 1, 759 | 1, 760 | 1, 761 | 1 762 | ] 763 | }, 764 | "_eulerAngles": { 765 | "__type__": "cc.Vec3", 766 | "x": 0, 767 | "y": 0, 768 | "z": 0 769 | }, 770 | "_skewX": 0, 771 | "_skewY": 0, 772 | "_is3DNode": false, 773 | "_groupIndex": 0, 774 | "groupIndex": 0, 775 | "_rotationX": 0, 776 | "_rotationY": 0, 777 | "_id": "8bM7k/kNZIObEE9wzM/B9P" 778 | }, 779 | { 780 | "__type__": "cc.Node", 781 | "_name": "userAvatar", 782 | "_objFlags": 0, 783 | "_parent": { 784 | "__id__": 17 785 | }, 786 | "_children": [ 787 | { 788 | "__id__": 19 789 | } 790 | ], 791 | "_active": true, 792 | "_components": [ 793 | { 794 | "__id__": 21 795 | } 796 | ], 797 | "_prefab": null, 798 | "_opacity": 255, 799 | "_color": { 800 | "__type__": "cc.Color", 801 | "r": 255, 802 | "g": 255, 803 | "b": 255, 804 | "a": 255 805 | }, 806 | "_contentSize": { 807 | "__type__": "cc.Size", 808 | "width": 100, 809 | "height": 100 810 | }, 811 | "_anchorPoint": { 812 | "__type__": "cc.Vec2", 813 | "x": 0.5, 814 | "y": 0.5 815 | }, 816 | "_trs": { 817 | "__type__": "TypedArray", 818 | "ctor": "Float32Array", 819 | "array": [ 820 | 0, 821 | 34, 822 | 0, 823 | 0, 824 | 0, 825 | 0, 826 | 1, 827 | 1, 828 | 1, 829 | 1 830 | ] 831 | }, 832 | "_eulerAngles": { 833 | "__type__": "cc.Vec3", 834 | "x": 0, 835 | "y": 0, 836 | "z": 0 837 | }, 838 | "_skewX": 0, 839 | "_skewY": 0, 840 | "_is3DNode": false, 841 | "_groupIndex": 0, 842 | "groupIndex": 0, 843 | "_rotationX": 0, 844 | "_rotationY": 0, 845 | "_id": "2dNSrRNQ5MQJ4nO0hUY9C3" 846 | }, 847 | { 848 | "__type__": "cc.Node", 849 | "_name": "Avatar", 850 | "_objFlags": 0, 851 | "_parent": { 852 | "__id__": 18 853 | }, 854 | "_children": [], 855 | "_active": true, 856 | "_components": [ 857 | { 858 | "__id__": 20 859 | } 860 | ], 861 | "_prefab": null, 862 | "_opacity": 255, 863 | "_color": { 864 | "__type__": "cc.Color", 865 | "r": 255, 866 | "g": 255, 867 | "b": 255, 868 | "a": 255 869 | }, 870 | "_contentSize": { 871 | "__type__": "cc.Size", 872 | "width": 100, 873 | "height": 100 874 | }, 875 | "_anchorPoint": { 876 | "__type__": "cc.Vec2", 877 | "x": 0.5, 878 | "y": 0.5 879 | }, 880 | "_trs": { 881 | "__type__": "TypedArray", 882 | "ctor": "Float32Array", 883 | "array": [ 884 | 0, 885 | 0, 886 | 0, 887 | 0, 888 | 0, 889 | 0, 890 | 1, 891 | 1, 892 | 1, 893 | 1 894 | ] 895 | }, 896 | "_eulerAngles": { 897 | "__type__": "cc.Vec3", 898 | "x": 0, 899 | "y": 0, 900 | "z": 0 901 | }, 902 | "_skewX": 0, 903 | "_skewY": 0, 904 | "_is3DNode": false, 905 | "_groupIndex": 0, 906 | "groupIndex": 0, 907 | "_rotationX": 0, 908 | "_rotationY": 0, 909 | "_id": "1eHtkvamFEGYqLfefJclLc" 910 | }, 911 | { 912 | "__type__": "cc.Sprite", 913 | "_name": "", 914 | "_objFlags": 0, 915 | "node": { 916 | "__id__": 19 917 | }, 918 | "_enabled": true, 919 | "_materials": [ 920 | { 921 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" 922 | } 923 | ], 924 | "_srcBlendFactor": 770, 925 | "_dstBlendFactor": 771, 926 | "_spriteFrame": { 927 | "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" 928 | }, 929 | "_type": 0, 930 | "_sizeMode": 0, 931 | "_fillType": 0, 932 | "_fillCenter": { 933 | "__type__": "cc.Vec2", 934 | "x": 0, 935 | "y": 0 936 | }, 937 | "_fillStart": 0, 938 | "_fillRange": 0, 939 | "_isTrimmedMode": true, 940 | "_atlas": null, 941 | "_id": "357jrtrWBHzal0A1nmsdSS" 942 | }, 943 | { 944 | "__type__": "cc.Mask", 945 | "_name": "", 946 | "_objFlags": 0, 947 | "node": { 948 | "__id__": 18 949 | }, 950 | "_enabled": true, 951 | "_materials": [ 952 | { 953 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" 954 | } 955 | ], 956 | "_spriteFrame": null, 957 | "_type": 1, 958 | "_segments": 64, 959 | "_N$alphaThreshold": 0, 960 | "_N$inverted": false, 961 | "_id": "11k9p1a0tFNaHb8cZdE+o9" 962 | }, 963 | { 964 | "__type__": "cc.Node", 965 | "_name": "userName", 966 | "_objFlags": 0, 967 | "_parent": { 968 | "__id__": 17 969 | }, 970 | "_children": [], 971 | "_active": true, 972 | "_components": [ 973 | { 974 | "__id__": 23 975 | } 976 | ], 977 | "_prefab": null, 978 | "_opacity": 255, 979 | "_color": { 980 | "__type__": "cc.Color", 981 | "r": 255, 982 | "g": 255, 983 | "b": 255, 984 | "a": 255 985 | }, 986 | "_contentSize": { 987 | "__type__": "cc.Size", 988 | "width": 150, 989 | "height": 40 990 | }, 991 | "_anchorPoint": { 992 | "__type__": "cc.Vec2", 993 | "x": 0.5, 994 | "y": 0.5 995 | }, 996 | "_trs": { 997 | "__type__": "TypedArray", 998 | "ctor": "Float32Array", 999 | "array": [ 1000 | 0, 1001 | -56, 1002 | 0, 1003 | 0, 1004 | 0, 1005 | 0, 1006 | 1, 1007 | 1, 1008 | 1, 1009 | 1 1010 | ] 1011 | }, 1012 | "_eulerAngles": { 1013 | "__type__": "cc.Vec3", 1014 | "x": 0, 1015 | "y": 0, 1016 | "z": 0 1017 | }, 1018 | "_skewX": 0, 1019 | "_skewY": 0, 1020 | "_is3DNode": false, 1021 | "_groupIndex": 0, 1022 | "groupIndex": 0, 1023 | "_rotationX": 0, 1024 | "_rotationY": 0, 1025 | "_id": "3asdN3K9lBq4GmQB2O+it1" 1026 | }, 1027 | { 1028 | "__type__": "cc.Label", 1029 | "_name": "", 1030 | "_objFlags": 0, 1031 | "node": { 1032 | "__id__": 22 1033 | }, 1034 | "_enabled": true, 1035 | "_materials": [ 1036 | { 1037 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" 1038 | } 1039 | ], 1040 | "_useOriginalSize": false, 1041 | "_string": "Unknown", 1042 | "_N$string": "Unknown", 1043 | "_fontSize": 25, 1044 | "_lineHeight": 30, 1045 | "_enableWrapText": true, 1046 | "_N$file": null, 1047 | "_isSystemFontUsed": true, 1048 | "_spacingX": 0, 1049 | "_batchAsBitmap": false, 1050 | "_N$horizontalAlign": 1, 1051 | "_N$verticalAlign": 1, 1052 | "_N$fontFamily": "Arial", 1053 | "_N$overflow": 2, 1054 | "_N$cacheMode": 0, 1055 | "_id": "57xq6CoP5H6IdyzoBlg7uV" 1056 | }, 1057 | { 1058 | "__type__": "cc.Sprite", 1059 | "_name": "", 1060 | "_objFlags": 0, 1061 | "node": { 1062 | "__id__": 17 1063 | }, 1064 | "_enabled": true, 1065 | "_materials": [ 1066 | { 1067 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" 1068 | } 1069 | ], 1070 | "_srcBlendFactor": 770, 1071 | "_dstBlendFactor": 771, 1072 | "_spriteFrame": { 1073 | "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" 1074 | }, 1075 | "_type": 0, 1076 | "_sizeMode": 0, 1077 | "_fillType": 0, 1078 | "_fillCenter": { 1079 | "__type__": "cc.Vec2", 1080 | "x": 0, 1081 | "y": 0 1082 | }, 1083 | "_fillStart": 0, 1084 | "_fillRange": 0, 1085 | "_isTrimmedMode": true, 1086 | "_atlas": null, 1087 | "_id": "fe8m/aK8NLzaNWC8uhm6Qk" 1088 | }, 1089 | { 1090 | "__type__": "cc.Widget", 1091 | "_name": "", 1092 | "_objFlags": 0, 1093 | "node": { 1094 | "__id__": 17 1095 | }, 1096 | "_enabled": true, 1097 | "alignMode": 2, 1098 | "_target": null, 1099 | "_alignFlags": 9, 1100 | "_left": 30, 1101 | "_right": 0, 1102 | "_top": 30, 1103 | "_bottom": 0, 1104 | "_verticalCenter": 0, 1105 | "_horizontalCenter": 0, 1106 | "_isAbsLeft": true, 1107 | "_isAbsRight": true, 1108 | "_isAbsTop": true, 1109 | "_isAbsBottom": true, 1110 | "_isAbsHorizontalCenter": true, 1111 | "_isAbsVerticalCenter": true, 1112 | "_originalWidth": 0, 1113 | "_originalHeight": 0, 1114 | "_id": "927m/Fv2ROuIxWMcJ7rn6Q" 1115 | }, 1116 | { 1117 | "__type__": "cc.Node", 1118 | "_name": "Tips", 1119 | "_objFlags": 0, 1120 | "_parent": { 1121 | "__id__": 2 1122 | }, 1123 | "_children": [], 1124 | "_active": true, 1125 | "_components": [ 1126 | { 1127 | "__id__": 27 1128 | } 1129 | ], 1130 | "_prefab": null, 1131 | "_opacity": 255, 1132 | "_color": { 1133 | "__type__": "cc.Color", 1134 | "r": 255, 1135 | "g": 255, 1136 | "b": 255, 1137 | "a": 255 1138 | }, 1139 | "_contentSize": { 1140 | "__type__": "cc.Size", 1141 | "width": 625, 1142 | "height": 35.28 1143 | }, 1144 | "_anchorPoint": { 1145 | "__type__": "cc.Vec2", 1146 | "x": 0.5, 1147 | "y": 0.5 1148 | }, 1149 | "_trs": { 1150 | "__type__": "TypedArray", 1151 | "ctor": "Float32Array", 1152 | "array": [ 1153 | 6, 1154 | -195, 1155 | 0, 1156 | 0, 1157 | 0, 1158 | 0, 1159 | 1, 1160 | 1, 1161 | 1, 1162 | 1 1163 | ] 1164 | }, 1165 | "_eulerAngles": { 1166 | "__type__": "cc.Vec3", 1167 | "x": 0, 1168 | "y": 0, 1169 | "z": 0 1170 | }, 1171 | "_skewX": 0, 1172 | "_skewY": 0, 1173 | "_is3DNode": false, 1174 | "_groupIndex": 0, 1175 | "groupIndex": 0, 1176 | "_rotationX": 0, 1177 | "_rotationY": 0, 1178 | "_id": "25OOJS771M9qudJ4B5p/gt" 1179 | }, 1180 | { 1181 | "__type__": "cc.Label", 1182 | "_name": "", 1183 | "_objFlags": 0, 1184 | "node": { 1185 | "__id__": 26 1186 | }, 1187 | "_enabled": true, 1188 | "_materials": [ 1189 | { 1190 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" 1191 | } 1192 | ], 1193 | "_useOriginalSize": false, 1194 | "_string": "首次单击屏幕空白处获取用户信息,再次点击隐藏排行榜", 1195 | "_N$string": "首次单击屏幕空白处获取用户信息,再次点击隐藏排行榜", 1196 | "_fontSize": 25, 1197 | "_lineHeight": 28, 1198 | "_enableWrapText": true, 1199 | "_N$file": null, 1200 | "_isSystemFontUsed": true, 1201 | "_spacingX": 0, 1202 | "_batchAsBitmap": false, 1203 | "_N$horizontalAlign": 1, 1204 | "_N$verticalAlign": 1, 1205 | "_N$fontFamily": "Arial", 1206 | "_N$overflow": 0, 1207 | "_N$cacheMode": 0, 1208 | "_id": "7bCSsRS6VLHKW7doUQqJg6" 1209 | }, 1210 | { 1211 | "__type__": "cc.Node", 1212 | "_name": "Readme", 1213 | "_objFlags": 0, 1214 | "_parent": { 1215 | "__id__": 2 1216 | }, 1217 | "_children": [ 1218 | { 1219 | "__id__": 29 1220 | }, 1221 | { 1222 | "__id__": 32 1223 | } 1224 | ], 1225 | "_active": false, 1226 | "_components": [], 1227 | "_prefab": null, 1228 | "_opacity": 255, 1229 | "_color": { 1230 | "__type__": "cc.Color", 1231 | "r": 255, 1232 | "g": 255, 1233 | "b": 255, 1234 | "a": 255 1235 | }, 1236 | "_contentSize": { 1237 | "__type__": "cc.Size", 1238 | "width": 960, 1239 | "height": 640 1240 | }, 1241 | "_anchorPoint": { 1242 | "__type__": "cc.Vec2", 1243 | "x": 0.5, 1244 | "y": 0.5 1245 | }, 1246 | "_trs": { 1247 | "__type__": "TypedArray", 1248 | "ctor": "Float32Array", 1249 | "array": [ 1250 | 0, 1251 | 0, 1252 | 0, 1253 | 0, 1254 | 0, 1255 | 0, 1256 | 1, 1257 | 1, 1258 | 1, 1259 | 1 1260 | ] 1261 | }, 1262 | "_eulerAngles": { 1263 | "__type__": "cc.Vec3", 1264 | "x": 0, 1265 | "y": 0, 1266 | "z": 0 1267 | }, 1268 | "_skewX": 0, 1269 | "_skewY": 0, 1270 | "_is3DNode": false, 1271 | "_groupIndex": 0, 1272 | "groupIndex": 0, 1273 | "_rotationX": 0, 1274 | "_rotationY": 0, 1275 | "_id": "e3K+GmUcROSIo4+FxVwk8l" 1276 | }, 1277 | { 1278 | "__type__": "cc.Node", 1279 | "_name": "Backgrounp", 1280 | "_objFlags": 0, 1281 | "_parent": { 1282 | "__id__": 28 1283 | }, 1284 | "_children": [], 1285 | "_active": true, 1286 | "_components": [ 1287 | { 1288 | "__id__": 30 1289 | }, 1290 | { 1291 | "__id__": 31 1292 | } 1293 | ], 1294 | "_prefab": null, 1295 | "_opacity": 240, 1296 | "_color": { 1297 | "__type__": "cc.Color", 1298 | "r": 0, 1299 | "g": 0, 1300 | "b": 0, 1301 | "a": 255 1302 | }, 1303 | "_contentSize": { 1304 | "__type__": "cc.Size", 1305 | "width": 960, 1306 | "height": 640 1307 | }, 1308 | "_anchorPoint": { 1309 | "__type__": "cc.Vec2", 1310 | "x": 0.5, 1311 | "y": 0.5 1312 | }, 1313 | "_trs": { 1314 | "__type__": "TypedArray", 1315 | "ctor": "Float32Array", 1316 | "array": [ 1317 | 0, 1318 | 0, 1319 | 0, 1320 | 0, 1321 | 0, 1322 | 0, 1323 | 1, 1324 | 1, 1325 | 1, 1326 | 1 1327 | ] 1328 | }, 1329 | "_eulerAngles": { 1330 | "__type__": "cc.Vec3", 1331 | "x": 0, 1332 | "y": 0, 1333 | "z": 0 1334 | }, 1335 | "_skewX": 0, 1336 | "_skewY": 0, 1337 | "_is3DNode": false, 1338 | "_groupIndex": 0, 1339 | "groupIndex": 0, 1340 | "_rotationX": 0, 1341 | "_rotationY": 0, 1342 | "_id": "c0sEDZT3JPErsqqe8ST3t/" 1343 | }, 1344 | { 1345 | "__type__": "cc.Sprite", 1346 | "_name": "", 1347 | "_objFlags": 0, 1348 | "node": { 1349 | "__id__": 29 1350 | }, 1351 | "_enabled": true, 1352 | "_materials": [], 1353 | "_srcBlendFactor": 770, 1354 | "_dstBlendFactor": 771, 1355 | "_spriteFrame": { 1356 | "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" 1357 | }, 1358 | "_type": 0, 1359 | "_sizeMode": 0, 1360 | "_fillType": 0, 1361 | "_fillCenter": { 1362 | "__type__": "cc.Vec2", 1363 | "x": 0, 1364 | "y": 0 1365 | }, 1366 | "_fillStart": 0, 1367 | "_fillRange": 0, 1368 | "_isTrimmedMode": true, 1369 | "_atlas": null, 1370 | "_id": "1aVjylg1RGAaUOWyPxrhkN" 1371 | }, 1372 | { 1373 | "__type__": "cc.Widget", 1374 | "_name": "", 1375 | "_objFlags": 0, 1376 | "node": { 1377 | "__id__": 29 1378 | }, 1379 | "_enabled": true, 1380 | "alignMode": 1, 1381 | "_target": null, 1382 | "_alignFlags": 45, 1383 | "_left": 0, 1384 | "_right": 0, 1385 | "_top": 0, 1386 | "_bottom": 0, 1387 | "_verticalCenter": 0, 1388 | "_horizontalCenter": 0, 1389 | "_isAbsLeft": true, 1390 | "_isAbsRight": true, 1391 | "_isAbsTop": true, 1392 | "_isAbsBottom": true, 1393 | "_isAbsHorizontalCenter": true, 1394 | "_isAbsVerticalCenter": true, 1395 | "_originalWidth": 100, 1396 | "_originalHeight": 100, 1397 | "_id": "d3VTfUFdlIcIdAMxyYViox" 1398 | }, 1399 | { 1400 | "__type__": "cc.Node", 1401 | "_name": "Content", 1402 | "_objFlags": 0, 1403 | "_parent": { 1404 | "__id__": 28 1405 | }, 1406 | "_children": [], 1407 | "_active": true, 1408 | "_components": [ 1409 | { 1410 | "__id__": 33 1411 | } 1412 | ], 1413 | "_prefab": null, 1414 | "_opacity": 255, 1415 | "_color": { 1416 | "__type__": "cc.Color", 1417 | "r": 255, 1418 | "g": 255, 1419 | "b": 255, 1420 | "a": 255 1421 | }, 1422 | "_contentSize": { 1423 | "__type__": "cc.Size", 1424 | "width": 900, 1425 | "height": 600 1426 | }, 1427 | "_anchorPoint": { 1428 | "__type__": "cc.Vec2", 1429 | "x": 0.5, 1430 | "y": 0.5 1431 | }, 1432 | "_trs": { 1433 | "__type__": "TypedArray", 1434 | "ctor": "Float32Array", 1435 | "array": [ 1436 | 0, 1437 | 0, 1438 | 0, 1439 | 0, 1440 | 0, 1441 | 0, 1442 | 1, 1443 | 1, 1444 | 1, 1445 | 1 1446 | ] 1447 | }, 1448 | "_eulerAngles": { 1449 | "__type__": "cc.Vec3", 1450 | "x": 0, 1451 | "y": 0, 1452 | "z": 0 1453 | }, 1454 | "_skewX": 0, 1455 | "_skewY": 0, 1456 | "_is3DNode": false, 1457 | "_groupIndex": 0, 1458 | "groupIndex": 0, 1459 | "_rotationX": 0, 1460 | "_rotationY": 0, 1461 | "_id": "1fuweZyQFPvqE0RckipX+Q" 1462 | }, 1463 | { 1464 | "__type__": "cc.Label", 1465 | "_name": "", 1466 | "_objFlags": 0, 1467 | "node": { 1468 | "__id__": 32 1469 | }, 1470 | "_enabled": true, 1471 | "_materials": [], 1472 | "_useOriginalSize": false, 1473 | "_string": "", 1474 | "_N$string": "", 1475 | "_fontSize": 25, 1476 | "_lineHeight": 30, 1477 | "_enableWrapText": true, 1478 | "_N$file": null, 1479 | "_isSystemFontUsed": true, 1480 | "_spacingX": 0, 1481 | "_batchAsBitmap": false, 1482 | "_N$horizontalAlign": 0, 1483 | "_N$verticalAlign": 0, 1484 | "_N$fontFamily": "Arial", 1485 | "_N$overflow": 2, 1486 | "_N$cacheMode": 0, 1487 | "_id": "a1LysZE+tPL7PF7/2BV88P" 1488 | }, 1489 | { 1490 | "__type__": "cc.Canvas", 1491 | "_name": "", 1492 | "_objFlags": 0, 1493 | "node": { 1494 | "__id__": 2 1495 | }, 1496 | "_enabled": true, 1497 | "_designResolution": { 1498 | "__type__": "cc.Size", 1499 | "width": 960, 1500 | "height": 640 1501 | }, 1502 | "_fitWidth": true, 1503 | "_fitHeight": true, 1504 | "_id": "1bu4p0DYhJl6yX05YmNr/i" 1505 | }, 1506 | { 1507 | "__type__": "05e9f1EiV9DqKP0earTWhpP", 1508 | "_name": "", 1509 | "_objFlags": 0, 1510 | "node": { 1511 | "__id__": 2 1512 | }, 1513 | "_enabled": true, 1514 | "wxSubContextView": { 1515 | "__id__": 12 1516 | }, 1517 | "tips": { 1518 | "__id__": 27 1519 | }, 1520 | "avatar": { 1521 | "__id__": 20 1522 | }, 1523 | "nickName": { 1524 | "__id__": 23 1525 | }, 1526 | "readme": { 1527 | "__id__": 33 1528 | }, 1529 | "background": { 1530 | "__id__": 5 1531 | }, 1532 | "_id": "73DcX01bhE+bkhqhASnjCU" 1533 | } 1534 | ] --------------------------------------------------------------------------------