diff --git a/assets/Script/Avatar.ts b/assets/Script/Avatar.ts index 77af9cc..5f70f51 100644 --- a/assets/Script/Avatar.ts +++ b/assets/Script/Avatar.ts @@ -34,6 +34,7 @@ export default class Avatar extends cc.Component { avatarKuang: any; avatarData: any; + film: any; @@ -47,7 +48,7 @@ export default class Avatar extends cc.Component { if (data) { this.avatarData = cc.fx.GameTool.getAvatarData(data.headArr); } - + this.film = data.film; // console.log("头像信息", this.avatarData); this.avatar = cc.fx.GameConfig.GM_INFO.useravatarIcon; this.avatarKuang = cc.fx.GameConfig.GM_INFO.useravaterkuang; @@ -158,7 +159,7 @@ export default class Avatar extends cc.Component { const jiazaiComp = jiazaiNode.getComponent(JiaZai); if (jiazaiComp) { // console.log("获取到JiaZai组件", jiazaiComp); - jiazaiComp.openGacha(null, null, this.avatarData); + jiazaiComp.openGacha(null, null, this.avatarData, this.film); jiazaiComp.closeAvatar(); } else { diff --git a/assets/Script/JiaZai.ts b/assets/Script/JiaZai.ts index 5b37102..0f83306 100644 --- a/assets/Script/JiaZai.ts +++ b/assets/Script/JiaZai.ts @@ -3536,7 +3536,7 @@ export default class JiaZai extends cc.Component { } - openGacha(event?: cc.Event, customEventData?: string, data?: any) { + openGacha(event?: cc.Event, customEventData?: string, data?: any, film?: any) { this.openLoad(); if (data == null || data == "" || data == undefined) { Utils.getAvatar(res => { @@ -3544,7 +3544,7 @@ export default class JiaZai extends cc.Component { let headArr = [] if (res.data.headArr != null && res.data.headArr != undefined && res.data.headArr.length > 0) headArr = cc.fx.GameTool.getAvatarData(res.data.headArr); - this.runGacha(customEventData, headArr) + this.runGacha(customEventData, headArr, res.data.film) } else { this.closeLoad(); @@ -3555,12 +3555,12 @@ export default class JiaZai extends cc.Component { else { this.closeLoad(); if (data) { - this.runGacha("Avatar_Jump", data); + this.runGacha("Avatar_Jump", data, film); } } } - runGacha(customEventData, data) { + runGacha(customEventData, data, film) { let eventName = ""; let btnName = "" if (customEventData !== undefined) { @@ -3595,12 +3595,12 @@ export default class JiaZai extends cc.Component { this.gachaNode = cc.instantiate(JiaZai.cachedGachaPrefab); if (this.node && this.gachaNode) this.node.addChild(this.gachaNode); - this.gachaNode.getComponent("GachaManager").init(data); + this.gachaNode.getComponent("GachaManager").init(data, film); this.closeLoad(); } else { // 非第一次使用,直接激活节点 this.gachaNode.active = true; - this.gachaNode.getComponent("GachaManager").init(data); + this.gachaNode.getComponent("GachaManager").init(data, film); this.closeLoad(); } }); @@ -3613,17 +3613,18 @@ export default class JiaZai extends cc.Component { if (this.node && this.gachaNode) this.node.addChild(this.gachaNode); this.gachaNode.active = true; - this.gachaNode.getComponent("GachaManager").init(data); + this.gachaNode.getComponent("GachaManager").init(data, film); this.closeLoad(); } else { // 非第一次使用,直接激活节点 this.gachaNode.active = true; - this.gachaNode.getComponent("GachaManager").init(data); + this.gachaNode.getComponent("GachaManager").init(data, film); this.closeLoad(); } } closeGacha() { + this.closeLoad(); this.gachaNode.active = false; this.gachaNode = null; JiaZai.cachedGachaPrefab = null; diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index 159f0de..2da12dc 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -1419,6 +1419,16 @@ var GameTool = { code: data.code, } break; + case "avatar_gacha": + eventData = { + pool_id: data.pool_id, + pull_count: data.pull_count, + film_count: data.film_count, + film_left: data.film_left, + is_success: data.is_success, + result: data.result, + } + break; } if (name == "stage_help") { console.log("准备上报完成", data); diff --git a/assets/gacha_bundle/img/finishi.png b/assets/gacha_bundle/img/finishi.png new file mode 100644 index 0000000..b63a6b2 Binary files /dev/null and b/assets/gacha_bundle/img/finishi.png differ diff --git a/assets/gacha_bundle/img/finishi.png.meta b/assets/gacha_bundle/img/finishi.png.meta new file mode 100644 index 0000000..125da08 --- /dev/null +++ b/assets/gacha_bundle/img/finishi.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "8fc88eb4-5bb4-41b0-ac35-b0850b07a343", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 646, + "height": 74, + "platformSettings": {}, + "subMetas": { + "finishi": { + "ver": "1.0.6", + "uuid": "b9709165-b8d5-475d-8f70-e606191aa8a7", + "importer": "sprite-frame", + "rawTextureUuid": "8fc88eb4-5bb4-41b0-ac35-b0850b07a343", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 646, + "height": 74, + "rawWidth": 646, + "rawHeight": 74, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/icon.meta b/assets/gacha_bundle/img/icon.meta new file mode 100644 index 0000000..b1ab565 --- /dev/null +++ b/assets/gacha_bundle/img/icon.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.3", + "uuid": "b3e18643-dca6-4ccd-bacd-4b4c58e8e60e", + "importer": "folder", + "isBundle": false, + "bundleName": "", + "priority": 1, + "compressionType": {}, + "optimizeHotUpdate": {}, + "inlineSpriteFrames": {}, + "isRemoteBundle": {}, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/icon/19.png b/assets/gacha_bundle/img/icon/19.png new file mode 100644 index 0000000..06bc57a Binary files /dev/null and b/assets/gacha_bundle/img/icon/19.png differ diff --git a/assets/gacha_bundle/img/icon/19.png.meta b/assets/gacha_bundle/img/icon/19.png.meta new file mode 100644 index 0000000..4744f30 --- /dev/null +++ b/assets/gacha_bundle/img/icon/19.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "f2e66dbc-ccaa-476b-a5df-de67b2ad65dc", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 200, + "height": 200, + "platformSettings": {}, + "subMetas": { + "19": { + "ver": "1.0.6", + "uuid": "7c6f64a9-1f63-428b-baa5-560922e19d1d", + "importer": "sprite-frame", + "rawTextureUuid": "f2e66dbc-ccaa-476b-a5df-de67b2ad65dc", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -19.5, + "offsetY": -5, + "trimX": 16, + "trimY": 10, + "width": 129, + "height": 190, + "rawWidth": 200, + "rawHeight": 200, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/icon/20.png b/assets/gacha_bundle/img/icon/20.png new file mode 100644 index 0000000..6745246 Binary files /dev/null and b/assets/gacha_bundle/img/icon/20.png differ diff --git a/assets/gacha_bundle/img/icon/20.png.meta b/assets/gacha_bundle/img/icon/20.png.meta new file mode 100644 index 0000000..a91e7d0 --- /dev/null +++ b/assets/gacha_bundle/img/icon/20.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "3f3b1f41-158c-4b8a-8d7a-8ee970e1bd56", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 180, + "height": 180, + "platformSettings": {}, + "subMetas": { + "20": { + "ver": "1.0.6", + "uuid": "a86b04ae-1330-4a80-a2f4-378cbe56dec0", + "importer": "sprite-frame", + "rawTextureUuid": "3f3b1f41-158c-4b8a-8d7a-8ee970e1bd56", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -9.5, + "offsetY": -3, + "trimX": 9, + "trimY": 6, + "width": 143, + "height": 174, + "rawWidth": 180, + "rawHeight": 180, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/icon/21.png b/assets/gacha_bundle/img/icon/21.png new file mode 100644 index 0000000..0a3b615 Binary files /dev/null and b/assets/gacha_bundle/img/icon/21.png differ diff --git a/assets/gacha_bundle/img/icon/21.png.meta b/assets/gacha_bundle/img/icon/21.png.meta new file mode 100644 index 0000000..9ec6089 --- /dev/null +++ b/assets/gacha_bundle/img/icon/21.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "5c3998b5-364f-4c8a-b3f7-0e44f83065fa", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 180, + "height": 180, + "platformSettings": {}, + "subMetas": { + "21": { + "ver": "1.0.6", + "uuid": "d8b04ceb-34c2-4ca8-8c5b-b553fa5f45b3", + "importer": "sprite-frame", + "rawTextureUuid": "5c3998b5-364f-4c8a-b3f7-0e44f83065fa", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -6, + "offsetY": -7, + "trimX": 22, + "trimY": 14, + "width": 124, + "height": 166, + "rawWidth": 180, + "rawHeight": 180, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/icon/22.png b/assets/gacha_bundle/img/icon/22.png new file mode 100644 index 0000000..05a8764 Binary files /dev/null and b/assets/gacha_bundle/img/icon/22.png differ diff --git a/assets/gacha_bundle/img/icon/22.png.meta b/assets/gacha_bundle/img/icon/22.png.meta new file mode 100644 index 0000000..936a3a0 --- /dev/null +++ b/assets/gacha_bundle/img/icon/22.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "90f169e1-0d27-4ed0-82d1-fba09ba6d9c1", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 180, + "height": 180, + "platformSettings": {}, + "subMetas": { + "22": { + "ver": "1.0.6", + "uuid": "6bd79c2f-86bf-4d12-91ba-4d20039c0c7e", + "importer": "sprite-frame", + "rawTextureUuid": "90f169e1-0d27-4ed0-82d1-fba09ba6d9c1", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 1, + "offsetY": -1, + "trimX": 19, + "trimY": 2, + "width": 144, + "height": 178, + "rawWidth": 180, + "rawHeight": 180, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/icon/23.png b/assets/gacha_bundle/img/icon/23.png new file mode 100644 index 0000000..21105e8 Binary files /dev/null and b/assets/gacha_bundle/img/icon/23.png differ diff --git a/assets/gacha_bundle/img/icon/23.png.meta b/assets/gacha_bundle/img/icon/23.png.meta new file mode 100644 index 0000000..bd3caba --- /dev/null +++ b/assets/gacha_bundle/img/icon/23.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "18090e5c-6781-4477-8f68-73027f947b88", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 180, + "height": 180, + "platformSettings": {}, + "subMetas": { + "23": { + "ver": "1.0.6", + "uuid": "88ce4864-f1b0-4683-84cc-37240a35a12d", + "importer": "sprite-frame", + "rawTextureUuid": "18090e5c-6781-4477-8f68-73027f947b88", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 11, + "trimY": 0, + "width": 158, + "height": 180, + "rawWidth": 180, + "rawHeight": 180, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/icon/24.png b/assets/gacha_bundle/img/icon/24.png new file mode 100644 index 0000000..6fdfe0b Binary files /dev/null and b/assets/gacha_bundle/img/icon/24.png differ diff --git a/assets/gacha_bundle/img/icon/24.png.meta b/assets/gacha_bundle/img/icon/24.png.meta new file mode 100644 index 0000000..6766434 --- /dev/null +++ b/assets/gacha_bundle/img/icon/24.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "363aa2c1-5f12-47cf-ae26-e4ad7ab8df47", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 180, + "height": 180, + "platformSettings": {}, + "subMetas": { + "24": { + "ver": "1.0.6", + "uuid": "0b7d4679-f02d-4fe8-90c4-94cbff6452aa", + "importer": "sprite-frame", + "rawTextureUuid": "363aa2c1-5f12-47cf-ae26-e4ad7ab8df47", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0.5, + "offsetY": -16, + "trimX": 15, + "trimY": 32, + "width": 151, + "height": 148, + "rawWidth": 180, + "rawHeight": 180, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/icon/25.png b/assets/gacha_bundle/img/icon/25.png new file mode 100644 index 0000000..6b3810b Binary files /dev/null and b/assets/gacha_bundle/img/icon/25.png differ diff --git a/assets/gacha_bundle/img/icon/25.png.meta b/assets/gacha_bundle/img/icon/25.png.meta new file mode 100644 index 0000000..c639e2f --- /dev/null +++ b/assets/gacha_bundle/img/icon/25.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "8605dd1e-7508-4bab-b916-765519ce6d07", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 180, + "height": 180, + "platformSettings": {}, + "subMetas": { + "25": { + "ver": "1.0.6", + "uuid": "588f0fa7-5e42-4a0d-99cf-8febc00d8915", + "importer": "sprite-frame", + "rawTextureUuid": "8605dd1e-7508-4bab-b916-765519ce6d07", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -11.5, + "offsetY": -3.5, + "trimX": 0, + "trimY": 7, + "width": 157, + "height": 173, + "rawWidth": 180, + "rawHeight": 180, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/icon/26.png b/assets/gacha_bundle/img/icon/26.png new file mode 100644 index 0000000..354b346 Binary files /dev/null and b/assets/gacha_bundle/img/icon/26.png differ diff --git a/assets/gacha_bundle/img/icon/26.png.meta b/assets/gacha_bundle/img/icon/26.png.meta new file mode 100644 index 0000000..5565ec0 --- /dev/null +++ b/assets/gacha_bundle/img/icon/26.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "3b4a6e5f-3b2e-4c16-8da8-3bfd24231b66", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 180, + "height": 180, + "platformSettings": {}, + "subMetas": { + "26": { + "ver": "1.0.6", + "uuid": "7a85fcf8-7bfb-4325-bd18-f42fe9a8270c", + "importer": "sprite-frame", + "rawTextureUuid": "3b4a6e5f-3b2e-4c16-8da8-3bfd24231b66", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 5, + "offsetY": -6.5, + "trimX": 10, + "trimY": 13, + "width": 170, + "height": 167, + "rawWidth": 180, + "rawHeight": 180, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/shili.png b/assets/gacha_bundle/img/shili.png new file mode 100644 index 0000000..613cc28 Binary files /dev/null and b/assets/gacha_bundle/img/shili.png differ diff --git a/assets/gacha_bundle/img/shili.png.meta b/assets/gacha_bundle/img/shili.png.meta new file mode 100644 index 0000000..119cda1 --- /dev/null +++ b/assets/gacha_bundle/img/shili.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "83acc1f2-bc17-4bc2-b183-a2bbac17470a", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 674, + "height": 1044, + "platformSettings": {}, + "subMetas": { + "shili": { + "ver": "1.0.6", + "uuid": "71ae0117-c547-4d38-8e86-817ef12602b0", + "importer": "sprite-frame", + "rawTextureUuid": "83acc1f2-bc17-4bc2-b183-a2bbac17470a", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 674, + "height": 1044, + "rawWidth": 674, + "rawHeight": 1044, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/shili2.png b/assets/gacha_bundle/img/shili2.png new file mode 100644 index 0000000..ef73520 Binary files /dev/null and b/assets/gacha_bundle/img/shili2.png differ diff --git a/assets/gacha_bundle/img/shili2.png.meta b/assets/gacha_bundle/img/shili2.png.meta new file mode 100644 index 0000000..5d7853f --- /dev/null +++ b/assets/gacha_bundle/img/shili2.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "86053def-bac7-459d-b531-4a4d8420b8ad", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 618, + "height": 604, + "platformSettings": {}, + "subMetas": { + "shili2": { + "ver": "1.0.6", + "uuid": "0a5c53bd-e5ea-4561-8355-6482db33c07e", + "importer": "sprite-frame", + "rawTextureUuid": "86053def-bac7-459d-b531-4a4d8420b8ad", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 618, + "height": 604, + "rawWidth": 618, + "rawHeight": 604, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/prefab/Gacha.prefab b/assets/gacha_bundle/prefab/Gacha.prefab index 7096187..805b963 100644 --- a/assets/gacha_bundle/prefab/Gacha.prefab +++ b/assets/gacha_bundle/prefab/Gacha.prefab @@ -21,44 +21,56 @@ "__id__": 2 }, { - "__id__": 5 + "__id__": 6 }, { - "__id__": 8 + "__id__": 10 }, { - "__id__": 58 + "__id__": 14 }, { - "__id__": 61 + "__id__": 17 }, { - "__id__": 64 + "__id__": 67 }, { "__id__": 70 }, { - "__id__": 102 + "__id__": 73 }, { - "__id__": 105 + "__id__": 79 }, { - "__id__": 144 + "__id__": 83 + }, + { + "__id__": 87 + }, + { + "__id__": 116 + }, + { + "__id__": 119 + }, + { + "__id__": 174 } ], "_active": true, "_components": [ { - "__id__": 157 + "__id__": 187 }, { - "__id__": 158 + "__id__": 188 } ], "_prefab": { - "__id__": 159 + "__id__": 189 }, "_opacity": 255, "_color": { @@ -119,10 +131,13 @@ "_components": [ { "__id__": 3 + }, + { + "__id__": 4 } ], "_prefab": { - "__id__": 4 + "__id__": 5 }, "_opacity": 255, "_color": { @@ -203,6 +218,16 @@ "_atlas": null, "_id": "" }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -214,6 +239,246 @@ "fileId": "f2GMKv5sxFBozknFUuihbe", "sync": false }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 7 + }, + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 9 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 2340 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 2340, + 0, + 0, + 0, + 0, + 1, + 1, + -1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 6 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "4a6348b3-86e7-4ccf-8e64-f9368795a413" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 6 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8ezii259JPh7KlJd0HPTZT", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 11 + }, + { + "__id__": 12 + } + ], + "_prefab": { + "__id__": 13 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 2340 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -2340, + 0, + 0, + 0, + 0, + 1, + 1, + -1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "4a6348b3-86e7-4ccf-8e64-f9368795a413" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3673eiom5FVbqmfxHFDWCr", + "sync": false + }, { "__type__": "cc.Node", "_name": "New Sprite", @@ -225,11 +490,11 @@ "_active": false, "_components": [ { - "__id__": 6 + "__id__": 15 } ], "_prefab": { - "__id__": 7 + "__id__": 16 }, "_opacity": 255, "_color": { @@ -283,7 +548,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 5 + "__id__": 14 }, "_enabled": true, "_materials": [ @@ -328,34 +593,34 @@ }, "_children": [ { - "__id__": 9 + "__id__": 18 }, { - "__id__": 15 + "__id__": 24 }, { - "__id__": 21 + "__id__": 30 }, { - "__id__": 27 + "__id__": 36 }, { - "__id__": 33 + "__id__": 42 }, { - "__id__": 39 + "__id__": 48 }, { - "__id__": 45 + "__id__": 54 }, { - "__id__": 51 + "__id__": 60 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 57 + "__id__": 66 }, "_opacity": 255, "_color": { @@ -409,21 +674,21 @@ "_name": "skeleton", "_objFlags": 0, "_parent": { - "__id__": 8 + "__id__": 17 }, "_children": [ { - "__id__": 10 + "__id__": 19 } ], "_active": true, "_components": [ { - "__id__": 13 + "__id__": 22 } ], "_prefab": { - "__id__": 14 + "__id__": 23 }, "_opacity": 255, "_color": { @@ -477,17 +742,17 @@ "_name": "own", "_objFlags": 0, "_parent": { - "__id__": 9 + "__id__": 18 }, "_children": [], "_active": false, "_components": [ { - "__id__": 11 + "__id__": 20 } ], "_prefab": { - "__id__": 12 + "__id__": 21 }, "_opacity": 255, "_color": { @@ -541,7 +806,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 10 + "__id__": 19 }, "_enabled": true, "_materials": [ @@ -586,7 +851,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 9 + "__id__": 18 }, "_enabled": true, "_materials": [ @@ -639,21 +904,21 @@ "_name": "skeleton", "_objFlags": 0, "_parent": { - "__id__": 8 + "__id__": 17 }, "_children": [ { - "__id__": 16 + "__id__": 25 } ], "_active": true, "_components": [ { - "__id__": 19 + "__id__": 28 } ], "_prefab": { - "__id__": 20 + "__id__": 29 }, "_opacity": 255, "_color": { @@ -707,17 +972,17 @@ "_name": "own", "_objFlags": 0, "_parent": { - "__id__": 15 + "__id__": 24 }, "_children": [], "_active": false, "_components": [ { - "__id__": 17 + "__id__": 26 } ], "_prefab": { - "__id__": 18 + "__id__": 27 }, "_opacity": 255, "_color": { @@ -771,7 +1036,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 16 + "__id__": 25 }, "_enabled": true, "_materials": [ @@ -816,7 +1081,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 15 + "__id__": 24 }, "_enabled": true, "_materials": [ @@ -869,21 +1134,21 @@ "_name": "skeleton", "_objFlags": 0, "_parent": { - "__id__": 8 + "__id__": 17 }, "_children": [ { - "__id__": 22 + "__id__": 31 } ], "_active": true, "_components": [ { - "__id__": 25 + "__id__": 34 } ], "_prefab": { - "__id__": 26 + "__id__": 35 }, "_opacity": 255, "_color": { @@ -937,17 +1202,17 @@ "_name": "own", "_objFlags": 0, "_parent": { - "__id__": 21 + "__id__": 30 }, "_children": [], "_active": false, "_components": [ { - "__id__": 23 + "__id__": 32 } ], "_prefab": { - "__id__": 24 + "__id__": 33 }, "_opacity": 255, "_color": { @@ -1001,7 +1266,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 22 + "__id__": 31 }, "_enabled": true, "_materials": [ @@ -1046,7 +1311,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 21 + "__id__": 30 }, "_enabled": true, "_materials": [ @@ -1099,21 +1364,21 @@ "_name": "skeleton", "_objFlags": 0, "_parent": { - "__id__": 8 + "__id__": 17 }, "_children": [ { - "__id__": 28 + "__id__": 37 } ], "_active": true, "_components": [ { - "__id__": 31 + "__id__": 40 } ], "_prefab": { - "__id__": 32 + "__id__": 41 }, "_opacity": 255, "_color": { @@ -1167,17 +1432,17 @@ "_name": "own", "_objFlags": 0, "_parent": { - "__id__": 27 + "__id__": 36 }, "_children": [], "_active": false, "_components": [ { - "__id__": 29 + "__id__": 38 } ], "_prefab": { - "__id__": 30 + "__id__": 39 }, "_opacity": 255, "_color": { @@ -1231,7 +1496,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 28 + "__id__": 37 }, "_enabled": true, "_materials": [ @@ -1276,7 +1541,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 27 + "__id__": 36 }, "_enabled": true, "_materials": [ @@ -1329,21 +1594,21 @@ "_name": "skeleton", "_objFlags": 0, "_parent": { - "__id__": 8 + "__id__": 17 }, "_children": [ { - "__id__": 34 + "__id__": 43 } ], "_active": true, "_components": [ { - "__id__": 37 + "__id__": 46 } ], "_prefab": { - "__id__": 38 + "__id__": 47 }, "_opacity": 255, "_color": { @@ -1397,17 +1662,17 @@ "_name": "own", "_objFlags": 0, "_parent": { - "__id__": 33 + "__id__": 42 }, "_children": [], "_active": false, "_components": [ { - "__id__": 35 + "__id__": 44 } ], "_prefab": { - "__id__": 36 + "__id__": 45 }, "_opacity": 255, "_color": { @@ -1461,7 +1726,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 34 + "__id__": 43 }, "_enabled": true, "_materials": [ @@ -1506,7 +1771,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 33 + "__id__": 42 }, "_enabled": true, "_materials": [ @@ -1559,21 +1824,21 @@ "_name": "skeleton", "_objFlags": 0, "_parent": { - "__id__": 8 + "__id__": 17 }, "_children": [ { - "__id__": 40 + "__id__": 49 } ], "_active": true, "_components": [ { - "__id__": 43 + "__id__": 52 } ], "_prefab": { - "__id__": 44 + "__id__": 53 }, "_opacity": 255, "_color": { @@ -1627,17 +1892,17 @@ "_name": "own", "_objFlags": 0, "_parent": { - "__id__": 39 + "__id__": 48 }, "_children": [], "_active": false, "_components": [ { - "__id__": 41 + "__id__": 50 } ], "_prefab": { - "__id__": 42 + "__id__": 51 }, "_opacity": 255, "_color": { @@ -1691,7 +1956,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 40 + "__id__": 49 }, "_enabled": true, "_materials": [ @@ -1736,7 +2001,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 39 + "__id__": 48 }, "_enabled": true, "_materials": [ @@ -1789,21 +2054,21 @@ "_name": "skeleton", "_objFlags": 0, "_parent": { - "__id__": 8 + "__id__": 17 }, "_children": [ { - "__id__": 46 + "__id__": 55 } ], "_active": true, "_components": [ { - "__id__": 49 + "__id__": 58 } ], "_prefab": { - "__id__": 50 + "__id__": 59 }, "_opacity": 255, "_color": { @@ -1857,17 +2122,17 @@ "_name": "own", "_objFlags": 0, "_parent": { - "__id__": 45 + "__id__": 54 }, "_children": [], "_active": false, "_components": [ { - "__id__": 47 + "__id__": 56 } ], "_prefab": { - "__id__": 48 + "__id__": 57 }, "_opacity": 255, "_color": { @@ -1921,7 +2186,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 46 + "__id__": 55 }, "_enabled": true, "_materials": [ @@ -1966,7 +2231,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 45 + "__id__": 54 }, "_enabled": true, "_materials": [ @@ -2019,21 +2284,21 @@ "_name": "skeleton", "_objFlags": 0, "_parent": { - "__id__": 8 + "__id__": 17 }, "_children": [ { - "__id__": 52 + "__id__": 61 } ], "_active": true, "_components": [ { - "__id__": 55 + "__id__": 64 } ], "_prefab": { - "__id__": 56 + "__id__": 65 }, "_opacity": 255, "_color": { @@ -2087,17 +2352,17 @@ "_name": "own", "_objFlags": 0, "_parent": { - "__id__": 51 + "__id__": 60 }, "_children": [], "_active": false, "_components": [ { - "__id__": 53 + "__id__": 62 } ], "_prefab": { - "__id__": 54 + "__id__": 63 }, "_opacity": 255, "_color": { @@ -2151,7 +2416,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 52 + "__id__": 61 }, "_enabled": true, "_materials": [ @@ -2196,7 +2461,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 51 + "__id__": 60 }, "_enabled": true, "_materials": [ @@ -2266,11 +2531,11 @@ "_active": true, "_components": [ { - "__id__": 59 + "__id__": 68 } ], "_prefab": { - "__id__": 60 + "__id__": 69 }, "_opacity": 255, "_color": { @@ -2324,7 +2589,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 58 + "__id__": 67 }, "_enabled": true, "_materials": [ @@ -2375,11 +2640,11 @@ "_active": true, "_components": [ { - "__id__": 62 + "__id__": 71 } ], "_prefab": { - "__id__": 63 + "__id__": 72 }, "_opacity": 160, "_color": { @@ -2433,7 +2698,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 61 + "__id__": 70 }, "_enabled": true, "_materials": [ @@ -2484,17 +2749,17 @@ "_active": true, "_components": [ { - "__id__": 65 + "__id__": 74 }, { - "__id__": 66 + "__id__": 75 }, { - "__id__": 68 + "__id__": 77 } ], "_prefab": { - "__id__": 69 + "__id__": 78 }, "_opacity": 255, "_color": { @@ -2519,7 +2784,7 @@ "ctor": "Float64Array", "array": [ 448.599, - 850.5, + 658.626, 0, 0, 0, @@ -2548,7 +2813,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 64 + "__id__": 73 }, "_enabled": true, "_materials": [ @@ -2580,7 +2845,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 64 + "__id__": 73 }, "_enabled": true, "_normalMaterial": null, @@ -2589,7 +2854,7 @@ "zoomScale": 1.2, "clickEvents": [ { - "__id__": 67 + "__id__": 76 } ], "_N$interactable": true, @@ -2645,7 +2910,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 64 + "__id__": 73 }, "_id": "" }, @@ -2664,9 +2929,9 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 64 + "__id__": 73 }, - "_enabled": true, + "_enabled": false, "alignMode": 1, "_target": null, "_alignFlags": 33, @@ -2697,421 +2962,25 @@ "fileId": "e0XCL7THBGhb9DEolu9Uwg", "sync": false }, - { - "__type__": "cc.Node", - "_name": "bottom", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 71 - }, - { - "__id__": 74 - }, - { - "__id__": 79 - }, - { - "__id__": 82 - }, - { - "__id__": 85 - }, - { - "__id__": 88 - }, - { - "__id__": 91 - }, - { - "__id__": 94 - }, - { - "__id__": 97 - } - ], - "_active": true, - "_components": [ - { - "__id__": 100 - } - ], - "_prefab": { - "__id__": 101 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -960, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 70 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 72 - } - ], - "_prefab": { - "__id__": 73 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 492, - "height": 88 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -1.959, - 386.19, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 71 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8f541cfc-2b86-4401-93dd-d14040c13b3b" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "afvoM9uHFHr4KSlMe+8DJz", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "dayinBtn", - "_objFlags": 0, - "_parent": { - "__id__": 70 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 75 - }, - { - "__id__": 76 - } - ], - "_prefab": { - "__id__": 78 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 636, - "height": 173 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0.254, - 260.83, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 74 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "5fddb41f-d835-4648-b09b-0b0ad1501b01" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" - }, - "_id": "" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 74 - }, - "_enabled": true, - "_normalMaterial": { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - }, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.1, - "clickEvents": [ - { - "__id__": 77 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 3, - "transition": 3, - "_N$normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_N$hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_N$normalSprite": null, - "_N$pressedSprite": null, - "pressedSprite": null, - "_N$hoverSprite": null, - "hoverSprite": null, - "_N$disabledSprite": null, - "_N$target": { - "__id__": 74 - }, - "_id": "" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 1 - }, - "component": "", - "_componentId": "9598ea57ndBLJVKGzfOnDe+", - "handler": "playGacha", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "0epCds6YhIj5ydUHGvZTnv", - "sync": false - }, { "__type__": "cc.Node", "_name": "tip1", "_objFlags": 0, "_parent": { - "__id__": 70 + "__id__": 1 }, "_children": [], "_active": true, "_components": [ { "__id__": 80 + }, + { + "__id__": 81 } ], "_prefab": { - "__id__": 81 + "__id__": 82 }, "_opacity": 255, "_color": { @@ -3136,7 +3005,7 @@ "ctor": "Float64Array", "array": [ -4.948, - 89.946, + -870.054, 0, 0, 0, @@ -3194,680 +3063,12 @@ }, "_id": "" }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "bfWlBQENlBOZ6G9hlPXeLw", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 70 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 83 - } - ], - "_prefab": { - "__id__": 84 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 94, - "height": 102 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -178.59, - 401.275, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 82 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "e2a74ba2-0a59-41b1-b5b8-2ce02978371a" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "25qc14HblPJ5SJ9w6Wi86I", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 70 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 86 - } - ], - "_prefab": { - "__id__": 87 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 31, - "height": 43 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 57.401, - 388.046, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 85 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "5d87d78d-7a95-4283-b723-203196f44ed6" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "93fvG/MYZEjJhyzCLhvU6t", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "no", - "_objFlags": 0, - "_parent": { - "__id__": 70 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 89 - } - ], - "_prefab": { - "__id__": 90 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 33.21, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 1, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 35.445, - 385.5, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 88 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 37, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "d08ce610-4f97-41c8-ac55-02364f9f8a86" - }, - "_isSystemFontUsed": false, - "_spacingX": -2, - "_batchAsBitmap": false, - "_styleFlags": 0, - "_underlineHeight": 0, - "_N$horizontalAlign": 2, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "313yLoiYpI7q/M6Q8pzQwX", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "yes", - "_objFlags": 0, - "_parent": { - "__id__": 70 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 92 - } - ], - "_prefab": { - "__id__": 93 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 33.21, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 1, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 32.142, - 385.5, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 91 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 37, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "90412597-aece-426d-945e-da07f8501852" - }, - "_isSystemFontUsed": false, - "_spacingX": -2, - "_batchAsBitmap": false, - "_styleFlags": 0, - "_underlineHeight": 0, - "_N$horizontalAlign": 2, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "7f/n3FdVdJhqbphfRCvltL", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "total", - "_objFlags": 0, - "_parent": { - "__id__": 70 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 95 - } - ], - "_prefab": { - "__id__": 96 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 33.21, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 81.557, - 384.451, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 94 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_string": "0", - "_N$string": "0", - "_fontSize": 37, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "7522f3c9-2bad-445f-b3c5-042b9e98381e" - }, - "_isSystemFontUsed": false, - "_spacingX": -2, - "_batchAsBitmap": false, - "_styleFlags": 0, - "_underlineHeight": 0, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 0, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "bflCjLs9FIm7ixN9Sf62YC", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "finishi", - "_objFlags": 0, - "_parent": { - "__id__": 70 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 98 - } - ], - "_prefab": { - "__id__": 99 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 80, - "height": 67 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 117.659, - 392.196, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 97 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "76a1d011-ed65-45ba-b74a-564b7ad3fc37" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "73AFjcbQFC+LVdukTvaHhh", - "sync": false - }, { "__type__": "cc.Widget", "_name": "", "_objFlags": 0, "node": { - "__id__": 70 + "__id__": 79 }, "_enabled": true, "alignMode": 1, @@ -3875,8 +3076,8 @@ "_alignFlags": 4, "_left": 0, "_right": 0, - "_top": 960, - "_bottom": 0, + "_top": 0, + "_bottom": 16.946000000000026, "_verticalCenter": 0, "_horizontalCenter": 0, "_isAbsLeft": true, @@ -3897,25 +3098,28 @@ "asset": { "__id__": 0 }, - "fileId": "a9cIUHs8RPI4RAQJpdjacO", + "fileId": "73m0wbw+lOR6q7PlLg0y5s", "sync": false }, { "__type__": "cc.Node", - "_name": "New Sprite", + "_name": "finishi", "_objFlags": 0, "_parent": { "__id__": 1 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { - "__id__": 103 + "__id__": 84 + }, + { + "__id__": 85 } ], "_prefab": { - "__id__": 104 + "__id__": 86 }, "_opacity": 255, "_color": { @@ -3927,8 +3131,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 703, - "height": 41 + "width": 646, + "height": 74 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3940,7 +3144,7 @@ "ctor": "Float64Array", "array": [ 0, - -410.487, + -679.388, 0, 0, 0, @@ -3969,7 +3173,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 102 + "__id__": 83 }, "_enabled": true, "_materials": [ @@ -3980,7 +3184,230 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "14be9c3b-e295-4012-89f1-25e554321dd0" + "__uuid__": "b9709165-b8d5-475d-8f70-e606191aa8a7" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 83 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 4, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 243.61199999999997, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a9HixT/FxJaqcD81urrbnx", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "bottom", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 88 + }, + { + "__id__": 91 + }, + { + "__id__": 96 + }, + { + "__id__": 99 + }, + { + "__id__": 102 + }, + { + "__id__": 105 + }, + { + "__id__": 108 + }, + { + "__id__": 111 + } + ], + "_active": true, + "_components": [ + { + "__id__": 114 + } + ], + "_prefab": { + "__id__": 115 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -960, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 87 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 89 + } + ], + "_prefab": { + "__id__": 90 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 492, + "height": 88 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -1.959, + 386.19, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 88 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "8f541cfc-2b86-4401-93dd-d14040c13b3b" }, "_type": 0, "_sizeMode": 1, @@ -4006,41 +3433,28 @@ "asset": { "__id__": 0 }, - "fileId": "75KGEJyXVOyJVaEdNOXo8y", + "fileId": "afvoM9uHFHr4KSlMe+8DJz", "sync": false }, { "__type__": "cc.Node", - "_name": "geReward", + "_name": "dayinBtn", "_objFlags": 0, "_parent": { - "__id__": 1 + "__id__": 87 }, - "_children": [ - { - "__id__": 106 - }, - { - "__id__": 110 - }, - { - "__id__": 115 - }, - { - "__id__": 124 - }, - { - "__id__": 133 - } - ], - "_active": false, + "_children": [], + "_active": true, "_components": [ { - "__id__": 142 + "__id__": 92 + }, + { + "__id__": 93 } ], "_prefab": { - "__id__": 143 + "__id__": 95 }, "_opacity": 255, "_color": { @@ -4052,8 +3466,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 1080, - "height": 1920 + "width": 636, + "height": 173 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4064,195 +3478,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite(Splash)", - "_objFlags": 0, - "_parent": { - "__id__": 105 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 107 - }, - { - "__id__": 108 - } - ], - "_prefab": { - "__id__": 109 - }, - "_opacity": 220, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 3000, - "height": 3000 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 106 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.BlockInputEvents", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 106 - }, - "_enabled": true, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "09ImUbe15PaIaoL+4vlXnr", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 105 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 111 - }, - { - "__id__": 112 - } - ], - "_prefab": { - "__id__": 114 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 556, - "height": 164 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - -516.391, + 0.254, + 260.83, 0, 0, 0, @@ -4281,7 +3508,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 110 + "__id__": 91 }, "_enabled": true, "_materials": [ @@ -4292,7 +3519,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "3d2ec25b-a60b-4494-bfe4-d51407b9780e" + "__uuid__": "5fddb41f-d835-4648-b09b-0b0ad1501b01" }, "_type": 0, "_sizeMode": 1, @@ -4305,7 +3532,9 @@ "_fillStart": 0, "_fillRange": 0, "_isTrimmedMode": true, - "_atlas": null, + "_atlas": { + "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" + }, "_id": "" }, { @@ -4313,16 +3542,18 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 110 + "__id__": 91 }, "_enabled": true, - "_normalMaterial": null, + "_normalMaterial": { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + }, "_grayMaterial": null, "duration": 0.1, "zoomScale": 1.1, "clickEvents": [ { - "__id__": 113 + "__id__": 94 } ], "_N$interactable": true, @@ -4378,7 +3609,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 110 + "__id__": 91 }, "_id": "" }, @@ -4389,7 +3620,7 @@ }, "component": "", "_componentId": "9598ea57ndBLJVKGzfOnDe+", - "handler": "closeReward", + "handler": "playGacha", "customEventData": "" }, { @@ -4400,193 +3631,7 @@ "asset": { "__id__": 0 }, - "fileId": "9ak8Qwr59Nn4IttKbh6tcs", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "r", - "_objFlags": 0, - "_parent": { - "__id__": 105 - }, - "_children": [ - { - "__id__": 116 - }, - { - "__id__": 119 - } - ], - "_active": false, - "_components": [ - { - "__id__": 122 - } - ], - "_prefab": { - "__id__": 123 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 670, - "height": 754 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 100.492, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "sp", - "_objFlags": 0, - "_parent": { - "__id__": 115 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 117 - } - ], - "_prefab": { - "__id__": 118 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 30.241, - 0, - 0, - 0, - 0, - 1, - 2.5, - 2.5, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "sp.Skeleton", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 116 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" - } - ], - "paused": false, - "defaultSkin": "", - "defaultAnimation": "", - "_preCacheMode": -1, - "_cacheMode": 0, - "loop": true, - "premultipliedAlpha": false, - "timeScale": 1, - "_accTime": 0, - "_playCount": 0, - "_frameCache": null, - "_curFrame": null, - "_skeletonCache": null, - "_animationName": "", - "_animationQueue": [], - "_headAniInfo": null, - "_playTimes": 0, - "_isAniComplete": true, - "_N$skeletonData": null, - "_N$_defaultCacheMode": 0, - "_N$debugSlots": false, - "_N$debugBones": false, - "_N$debugMesh": false, - "_N$useTint": false, - "_N$enableBatch": false, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "06vHRuz8RFAaED6WMubW9S", + "fileId": "0epCds6YhIj5ydUHGvZTnv", "sync": false }, { @@ -4594,17 +3639,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 115 + "__id__": 87 }, "_children": [], "_active": true, "_components": [ { - "__id__": 120 + "__id__": 97 } ], "_prefab": { - "__id__": 121 + "__id__": 98 }, "_opacity": 255, "_color": { @@ -4616,8 +3661,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 111, - "height": 54 + "width": 94, + "height": 102 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4628,8 +3673,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 0, - -437.423, + -178.59, + 401.275, 0, 0, 0, @@ -4658,7 +3703,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 119 + "__id__": 96 }, "_enabled": true, "_materials": [ @@ -4669,7 +3714,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "1a4ba2df-c756-4379-bc95-3d92c6a3cb25" + "__uuid__": "e2a74ba2-0a59-41b1-b5b8-2ce02978371a" }, "_type": 0, "_sizeMode": 1, @@ -4695,236 +3740,7 @@ "asset": { "__id__": 0 }, - "fileId": "117Je3nZBNBZ5PWdKzpL/L", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 115 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "ae853912-0c29-4176-a55a-92463eda8c9d" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "13048wUx5CeY8qIbVL8w/c", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "sr", - "_objFlags": 0, - "_parent": { - "__id__": 105 - }, - "_children": [ - { - "__id__": 125 - }, - { - "__id__": 128 - } - ], - "_active": false, - "_components": [ - { - "__id__": 131 - } - ], - "_prefab": { - "__id__": 132 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 670, - "height": 754 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 100.492, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "sp", - "_objFlags": 0, - "_parent": { - "__id__": 124 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 126 - } - ], - "_prefab": { - "__id__": 127 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 30.241, - 0, - 0, - 0, - 0, - 1, - 2.5, - 2.5, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "sp.Skeleton", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 125 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" - } - ], - "paused": false, - "defaultSkin": "", - "defaultAnimation": "", - "_preCacheMode": -1, - "_cacheMode": 0, - "loop": true, - "premultipliedAlpha": false, - "timeScale": 1, - "_accTime": 0, - "_playCount": 0, - "_frameCache": null, - "_curFrame": null, - "_skeletonCache": null, - "_animationName": "", - "_animationQueue": [], - "_headAniInfo": null, - "_playTimes": 0, - "_isAniComplete": true, - "_N$skeletonData": null, - "_N$_defaultCacheMode": 0, - "_N$debugSlots": false, - "_N$debugBones": false, - "_N$debugMesh": false, - "_N$useTint": false, - "_N$enableBatch": false, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "15jVWNDRpAz50cYkZyPbCv", + "fileId": "25qc14HblPJ5SJ9w6Wi86I", "sync": false }, { @@ -4932,17 +3748,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 124 + "__id__": 87 }, "_children": [], "_active": true, "_components": [ { - "__id__": 129 + "__id__": 100 } ], "_prefab": { - "__id__": 130 + "__id__": 101 }, "_opacity": 255, "_color": { @@ -4954,8 +3770,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 111, - "height": 55 + "width": 31, + "height": 43 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4966,8 +3782,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 0, - -437.423, + 57.401, + 388.046, 0, 0, 0, @@ -4996,7 +3812,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 128 + "__id__": 99 }, "_enabled": true, "_materials": [ @@ -5007,7 +3823,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "24f5af45-f01c-42a4-a7c9-b18eaa1b489b" + "__uuid__": "5d87d78d-7a95-4283-b723-203196f44ed6" }, "_type": 0, "_sizeMode": 1, @@ -5033,75 +3849,25 @@ "asset": { "__id__": 0 }, - "fileId": "e8fkbDrnpLQK742LDd0v95", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 124 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "f3b3de1d-770a-426a-b587-09597c34b99e" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "30B1eV0mRNyqPABO+jxmFh", + "fileId": "93fvG/MYZEjJhyzCLhvU6t", "sync": false }, { "__type__": "cc.Node", - "_name": "ssr", + "_name": "no", "_objFlags": 0, "_parent": { - "__id__": 105 + "__id__": 87 }, - "_children": [ - { - "__id__": 134 - }, - { - "__id__": 137 - } - ], + "_children": [], "_active": false, "_components": [ { - "__id__": 140 + "__id__": 103 } ], "_prefab": { - "__id__": 141 + "__id__": 104 }, "_opacity": 255, "_color": { @@ -5113,20 +3879,20 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 670, - "height": 754 + "width": 33.21, + "height": 40 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 1, "y": 0.5 }, "_trs": { "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 0, - 100.492, + 35.445, + 385.5, 0, 0, 0, @@ -5151,107 +3917,38 @@ "_id": "" }, { - "__type__": "cc.Node", - "_name": "sp", - "_objFlags": 0, - "_parent": { - "__id__": 133 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 135 - } - ], - "_prefab": { - "__id__": 136 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 30.241, - 0, - 0, - 0, - 0, - 1, - 2.5, - 2.5, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "sp.Skeleton", + "__type__": "cc.Label", "_name": "", "_objFlags": 0, "node": { - "__id__": 134 + "__id__": 102 }, "_enabled": true, "_materials": [ { - "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" } ], - "paused": false, - "defaultSkin": "", - "defaultAnimation": "", - "_preCacheMode": -1, - "_cacheMode": 0, - "loop": true, - "premultipliedAlpha": false, - "timeScale": 1, - "_accTime": 0, - "_playCount": 0, - "_frameCache": null, - "_curFrame": null, - "_skeletonCache": null, - "_animationName": "", - "_animationQueue": [], - "_headAniInfo": null, - "_playTimes": 0, - "_isAniComplete": true, - "_N$skeletonData": null, - "_N$_defaultCacheMode": 0, - "_N$debugSlots": false, - "_N$debugBones": false, - "_N$debugMesh": false, - "_N$useTint": false, - "_N$enableBatch": false, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "0", + "_N$string": "0", + "_fontSize": 37, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "d08ce610-4f97-41c8-ac55-02364f9f8a86" + }, + "_isSystemFontUsed": false, + "_spacingX": -2, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 2, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, "_id": "" }, { @@ -5262,25 +3959,25 @@ "asset": { "__id__": 0 }, - "fileId": "35EiFV8W9Ae47llVK/bpmj", + "fileId": "313yLoiYpI7q/M6Q8pzQwX", "sync": false }, { "__type__": "cc.Node", - "_name": "New Sprite", + "_name": "yes", "_objFlags": 0, "_parent": { - "__id__": 133 + "__id__": 87 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { - "__id__": 138 + "__id__": 106 } ], "_prefab": { - "__id__": 139 + "__id__": 107 }, "_opacity": 255, "_color": { @@ -5292,8 +3989,228 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 225, - "height": 55 + "width": 33.21, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 32.142, + 385.5, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 105 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "0", + "_N$string": "0", + "_fontSize": 37, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "90412597-aece-426d-945e-da07f8501852" + }, + "_isSystemFontUsed": false, + "_spacingX": -2, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 2, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7f/n3FdVdJhqbphfRCvltL", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "total", + "_objFlags": 0, + "_parent": { + "__id__": 87 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 109 + } + ], + "_prefab": { + "__id__": 110 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 33.21, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 81.557, + 384.451, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 108 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "0", + "_N$string": "0", + "_fontSize": 37, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "7522f3c9-2bad-445f-b3c5-042b9e98381e" + }, + "_isSystemFontUsed": false, + "_spacingX": -2, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 0, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bflCjLs9FIm7ixN9Sf62YC", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "finishi", + "_objFlags": 0, + "_parent": { + "__id__": 87 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 112 + } + ], + "_prefab": { + "__id__": 113 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 80, + "height": 67 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5304,8 +4221,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 0, - -437.423, + 117.659, + 392.196, 0, 0, 0, @@ -5334,7 +4251,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 137 + "__id__": 111 }, "_enabled": true, "_materials": [ @@ -5345,7 +4262,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "c274e745-1b83-4dc7-8761-7d2d4e103dcf" + "__uuid__": "76a1d011-ed65-45ba-b74a-564b7ad3fc37" }, "_type": 0, "_sizeMode": 1, @@ -5371,50 +4288,7 @@ "asset": { "__id__": 0 }, - "fileId": "5bMtI0GMtPJrlfQuSIKrdT", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 133 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "88312ebb-0399-4638-8dd7-8577feaea008" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "a5sawCMcpIl6ZqM0xXn+om", + "fileId": "73AFjcbQFC+LVdukTvaHhh", "sync": false }, { @@ -5422,15 +4296,15 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 105 + "__id__": 87 }, "_enabled": true, "alignMode": 1, "_target": null, - "_alignFlags": 45, + "_alignFlags": 4, "_left": 0, "_right": 0, - "_top": 0, + "_top": 960, "_bottom": 0, "_verticalCenter": 0, "_horizontalCenter": 0, @@ -5452,35 +4326,159 @@ "asset": { "__id__": 0 }, - "fileId": "8akP9iTARKurJ18yW6HHK9", + "fileId": "a9cIUHs8RPI4RAQJpdjacO", "sync": false }, { "__type__": "cc.Node", - "_name": "Loading", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 117 + } + ], + "_prefab": { + "__id__": 118 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 703, + "height": 41 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -410.487, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 116 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "14be9c3b-e295-4012-89f1-25e554321dd0" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "75KGEJyXVOyJVaEdNOXo8y", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "geReward", "_objFlags": 0, "_parent": { "__id__": 1 }, "_children": [ + { + "__id__": 120 + }, + { + "__id__": 124 + }, + { + "__id__": 129 + }, + { + "__id__": 132 + }, + { + "__id__": 142 + }, { "__id__": 145 }, { - "__id__": 149 + "__id__": 154 }, { - "__id__": 152 + "__id__": 163 } ], "_active": false, "_components": [ { - "__id__": 155 + "__id__": 172 } ], "_prefab": { - "__id__": 156 + "__id__": 173 }, "_opacity": 255, "_color": { @@ -5534,14 +4532,934 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 144 + "__id__": 119 }, "_children": [], "_active": true, "_components": [ + { + "__id__": 121 + }, + { + "__id__": 122 + } + ], + "_prefab": { + "__id__": 123 + }, + "_opacity": 220, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 3000, + "height": 3000 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 120 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 120 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "09ImUbe15PaIaoL+4vlXnr", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn", + "_objFlags": 0, + "_parent": { + "__id__": 119 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 125 + }, + { + "__id__": 126 + } + ], + "_prefab": { + "__id__": 128 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 556, + "height": 164 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -647.427, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 124 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3d2ec25b-a60b-4494-bfe4-d51407b9780e" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 124 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 127 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 124 + }, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "9598ea57ndBLJVKGzfOnDe+", + "handler": "closeReward", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9ak8Qwr59Nn4IttKbh6tcs", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "dayin1", + "_objFlags": 0, + "_parent": { + "__id__": 119 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 130 + } + ], + "_prefab": { + "__id__": 131 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 618, + "height": 604 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -10.375, + -16.747, + 0, + 0, + 0, + 0, + 1, + 1.6, + 1.6, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 129 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "0a5c53bd-e5ea-4561-8355-6482db33c07e" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e7v6TJA3xBXJOuRJGpowEN", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "paper", + "_objFlags": 0, + "_parent": { + "__id__": 119 + }, + "_children": [ + { + "__id__": 133 + }, + { + "__id__": 137 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 141 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 618, + "height": 532 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -16.097, + 724.514, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 132 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 134 + }, + { + "__id__": 135 + } + ], + "_prefab": { + "__id__": 136 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 670, + "height": 754 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -278.593, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 133 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "88312ebb-0399-4638-8dd7-8577feaea008" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "98196/SY0dC2Yo+u5A/y6R3", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 133 + }, + "_enabled": true, + "duration": 1, + "enableBend": true, + "bendStrength": 0.8, + "enableShadow": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f6szcNFlBGxZjUpmDZzc6f", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "icon", + "_objFlags": 0, + "_parent": { + "__id__": 132 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 138 + }, + { + "__id__": 139 + } + ], + "_prefab": { + "__id__": 140 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 117, + "height": 171 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -259.121, + 0, + 0, + 0, + 0, + 1, + 2.5, + 2.5, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 137 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": null, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "98196/SY0dC2Yo+u5A/y6R3", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 137 + }, + "_enabled": true, + "duration": 1, + "enableBend": true, + "bendStrength": 0.8, + "enableShadow": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "63wqq+Y35C3rPx/ZMzh+sy", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bbG1tHLZxFTK9VSUvF8mIV", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "dayin2", + "_objFlags": 0, + "_parent": { + "__id__": 119 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 143 + } + ], + "_prefab": { + "__id__": 144 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 618, + "height": 532 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -9.608, + 30.747, + 0, + 0, + 0, + 0, + 1, + 1.6, + 1.6, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 142 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "2c043768-8316-4b5b-b66a-2362542a2894" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ba2eHf5i1LDoFB/yzB72xI", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "r", + "_objFlags": 0, + "_parent": { + "__id__": 119 + }, + "_children": [ { "__id__": 146 }, + { + "__id__": 149 + } + ], + "_active": false, + "_components": [ + { + "__id__": 152 + } + ], + "_prefab": { + "__id__": 153 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 670, + "height": 754 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -14, + 119, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "sp", + "_objFlags": 0, + "_parent": { + "__id__": 145 + }, + "_children": [], + "_active": true, + "_components": [ { "__id__": 147 } @@ -5549,6 +5467,1064 @@ "_prefab": { "__id__": 148 }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 30.240999999999943, + 0, + 0, + 0, + 0, + 1, + 2.5, + 2.5, + 2.5 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 146 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "", + "defaultAnimation": "", + "_preCacheMode": -1, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": null, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "13yLF5lfNHnar1mXdsjrrY", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 145 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 150 + } + ], + "_prefab": { + "__id__": 151 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 111, + "height": 54 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 428.588, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 149 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "1a4ba2df-c756-4379-bc95-3d92c6a3cb25" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9ehwTAAdFFXrcd1ZMpfS+M", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 145 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "ae853912-0c29-4176-a55a-92463eda8c9d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "13048wUx5CeY8qIbVL8w/c", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "sr", + "_objFlags": 0, + "_parent": { + "__id__": 119 + }, + "_children": [ + { + "__id__": 155 + }, + { + "__id__": 158 + } + ], + "_active": false, + "_components": [ + { + "__id__": 161 + } + ], + "_prefab": { + "__id__": 162 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 670, + "height": 754 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -14, + 119, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "sp", + "_objFlags": 0, + "_parent": { + "__id__": 154 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 156 + } + ], + "_prefab": { + "__id__": 157 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 30.240999999999943, + 0, + 0, + 0, + 0, + 1, + 2.5, + 2.5, + 2.5 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 155 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "", + "defaultAnimation": "", + "_preCacheMode": -1, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": null, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "de8FOGnRBAhIsSiYRqrjxW", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 154 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 159 + } + ], + "_prefab": { + "__id__": 160 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 111, + "height": 55 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 428.588, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 158 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "24f5af45-f01c-42a4-a7c9-b18eaa1b489b" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8azYvpBhpHFocsrn2seCHs", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 154 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f3b3de1d-770a-426a-b587-09597c34b99e" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "30B1eV0mRNyqPABO+jxmFh", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "ssr", + "_objFlags": 0, + "_parent": { + "__id__": 119 + }, + "_children": [ + { + "__id__": 164 + }, + { + "__id__": 167 + } + ], + "_active": false, + "_components": [ + { + "__id__": 170 + } + ], + "_prefab": { + "__id__": 171 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 670, + "height": 754 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -14, + 119, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "sp", + "_objFlags": 0, + "_parent": { + "__id__": 163 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 165 + } + ], + "_prefab": { + "__id__": 166 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 30.241, + 0, + 0, + 0, + 0, + 1, + 2.5, + 2.5, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 164 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "", + "defaultAnimation": "", + "_preCacheMode": -1, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": null, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "35EiFV8W9Ae47llVK/bpmj", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 163 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 168 + } + ], + "_prefab": { + "__id__": 169 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 225, + "height": 55 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 428.588, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 167 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c274e745-1b83-4dc7-8761-7d2d4e103dcf" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5bMtI0GMtPJrlfQuSIKrdT", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 163 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "88312ebb-0399-4638-8dd7-8577feaea008" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a5sawCMcpIl6ZqM0xXn+om", + "sync": false + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 119 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8akP9iTARKurJ18yW6HHK9", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "Loading", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 175 + }, + { + "__id__": 179 + }, + { + "__id__": 182 + } + ], + "_active": false, + "_components": [ + { + "__id__": 185 + } + ], + "_prefab": { + "__id__": 186 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 1920 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite(Splash)", + "_objFlags": 0, + "_parent": { + "__id__": 174 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 176 + }, + { + "__id__": 177 + } + ], + "_prefab": { + "__id__": 178 + }, "_opacity": 120, "_color": { "__type__": "cc.Color", @@ -5601,7 +6577,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 145 + "__id__": 175 }, "_enabled": true, "_materials": [ @@ -5633,7 +6609,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 145 + "__id__": 175 }, "_enabled": true, "_id": "" @@ -5654,17 +6630,17 @@ "_name": "load", "_objFlags": 0, "_parent": { - "__id__": 144 + "__id__": 174 }, "_children": [], "_active": true, "_components": [ { - "__id__": 150 + "__id__": 180 } ], "_prefab": { - "__id__": 151 + "__id__": 181 }, "_opacity": 255, "_color": { @@ -5718,7 +6694,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 149 + "__id__": 179 }, "_enabled": true, "_materials": [ @@ -5761,17 +6737,17 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 144 + "__id__": 174 }, "_children": [], "_active": true, "_components": [ { - "__id__": 153 + "__id__": 183 } ], "_prefab": { - "__id__": 154 + "__id__": 184 }, "_opacity": 255, "_color": { @@ -5825,7 +6801,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 152 + "__id__": 182 }, "_enabled": true, "_materials": [ @@ -5869,7 +6845,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 144 + "__id__": 174 }, "_enabled": true, "alignMode": 1, @@ -5938,8 +6914,45 @@ }, "_enabled": true, "avatar": { - "__id__": 8 + "__id__": 17 }, + "icon": [ + { + "__uuid__": "7c6f64a9-1f63-428b-baa5-560922e19d1d" + }, + { + "__uuid__": "a86b04ae-1330-4a80-a2f4-378cbe56dec0" + }, + { + "__uuid__": "d8b04ceb-34c2-4ca8-8c5b-b553fa5f45b3" + }, + { + "__uuid__": "6bd79c2f-86bf-4d12-91ba-4d20039c0c7e" + }, + { + "__uuid__": "88ce4864-f1b0-4683-84cc-37240a35a12d" + }, + { + "__uuid__": "0b7d4679-f02d-4fe8-90c4-94cbff6452aa" + }, + { + "__uuid__": "588f0fa7-5e42-4a0d-99cf-8febc00d8915" + }, + { + "__uuid__": "7a85fcf8-7bfb-4325-bd18-f42fe9a8270c" + } + ], + "kuang": [ + { + "__uuid__": "ae853912-0c29-4176-a55a-92463eda8c9d" + }, + { + "__uuid__": "f3b3de1d-770a-426a-b587-09597c34b99e" + }, + { + "__uuid__": "88312ebb-0399-4638-8dd7-8577feaea008" + } + ], "_id": "" }, { diff --git a/assets/action_bundle/script/CardFlip.ts b/assets/gacha_bundle/script/CardFlip.ts similarity index 100% rename from assets/action_bundle/script/CardFlip.ts rename to assets/gacha_bundle/script/CardFlip.ts diff --git a/assets/action_bundle/script/CardFlip.ts.meta b/assets/gacha_bundle/script/CardFlip.ts.meta similarity index 100% rename from assets/action_bundle/script/CardFlip.ts.meta rename to assets/gacha_bundle/script/CardFlip.ts.meta diff --git a/assets/action_bundle/script/CardFlipEffect.ts b/assets/gacha_bundle/script/CardFlipEffect.ts similarity index 78% rename from assets/action_bundle/script/CardFlipEffect.ts rename to assets/gacha_bundle/script/CardFlipEffect.ts index a36ef0b..0e28318 100644 --- a/assets/action_bundle/script/CardFlipEffect.ts +++ b/assets/gacha_bundle/script/CardFlipEffect.ts @@ -26,37 +26,46 @@ export default class CardFlipEffect extends cc.Component { // 创建材质 this.createMaterial(); } - this.resetFlip(); + } start() { - // this.node.opacity = 255; - // // 初始化材质参数 - // if (this.material) { - // this.updateMaterialProperties(); - // } + // this.init(); + } - // setTimeout(() => { - // cc.tween(this.node.parent) - // .to(2, { y: 400 }, { easing: 'quadOut' }) - // .start(); - // this.startFlip(); - // }, 5000); - - // this.node.parent.getChildByName("dayinji3").opacity = 255; - // cc.tween(this.node.parent) - // .to(0.5, { y: 3500 }) - // .call(() => { - // this.node.parent.getChildByName("dayinji3").opacity = 0; - // }) - // .to(2, { y: 1940 }) - // .call(() => { - // this.node.y = 400; - // this.node.opacity = 255; - // this.node.active = true; - // }) - // .start(); + init() { + this.resetFlip(); + this.node.opacity = 0; + this.node.parent.y = 724.514; + this.node.parent.zIndex = 3; + // 初始化材质参数 + if (this.material) { + this.updateMaterialProperties(); + } + setTimeout(() => { + cc.tween(this.node.parent) + .to(0.1, { y: 3500 }) + .call(() => { + this.node.opacity = 255; + }) + .to(1.5, { y: 1940 }) + .call(() => { + this.node.parent.zIndex = 50; + // this.node.parent.parent.getChildByName("dayinji3").opacity = 0; + }) + .delay(0.2) + .call(() => { + // this.node.parent.parent.getChildByName("dayinji3").opacity = 0; + // this.node.parent.y = 500; + this.updateMaterialProperties(); + cc.tween(this.node.parent) + .to(0.8, { y: 400 }, { easing: 'quadOut' }) + .start(); + this.startFlip(); + }) + .start(); + }, 1000); } /** @@ -139,6 +148,11 @@ export default class CardFlipEffect extends cc.Component { this.isFlipping = false; } }) + .call(() => { + // this.node.parent.zIndex = 0; + // this.node.opacity = 0; + this.node.parent.parent.parent.getComponent("GachaManager").showReward(); + }) .start(); } diff --git a/assets/action_bundle/script/CardFlipEffect.ts.meta b/assets/gacha_bundle/script/CardFlipEffect.ts.meta similarity index 100% rename from assets/action_bundle/script/CardFlipEffect.ts.meta rename to assets/gacha_bundle/script/CardFlipEffect.ts.meta diff --git a/assets/gacha_bundle/script/GachaManager.ts b/assets/gacha_bundle/script/GachaManager.ts index 7d8ddd5..b832757 100644 --- a/assets/gacha_bundle/script/GachaManager.ts +++ b/assets/gacha_bundle/script/GachaManager.ts @@ -9,16 +9,25 @@ export default class GachaManager extends cc.Component { @property(cc.Node) //用户头像换图 avatar: cc.Node = null; + + @property({ type: [cc.SpriteFrame], tooltip: "头像图片" }) + icon: Array = []; + + @property({ type: [cc.SpriteFrame], tooltip: "头像稀有度" }) + kuang: Array = []; + avatarData: any = null; own = 0; + reward = 0; onLoad() { this.avatarData = []; this.own = 0; + this.reward = 0; // this.init(); } //初始化数据 - init(data) { + init(data, film) { this.avatarData = []; this.own = 0; console.log("222222初始化数据", data); @@ -38,23 +47,24 @@ export default class GachaManager extends cc.Component { botoom.getChildByName("yes").active = false; if (this.own >= 8) { botoom.getChildByName("total").active = false; - botoom.getChildByName("finishi").active = true; + botoom.active = false; + this.node.getChildByName("finishi").active = true; } else { let cost = this.getCostFilm(); botoom.getChildByName("total").getComponent(cc.Label).string = cost.toString(); console.log("抽卡所需film", cost); - if (cc.fx.GameConfig.GM_INFO.film >= cost) { + if (film >= cost) { botoom.getChildByName("yes").active = true; console.log("有足够film"); - botoom.getChildByName("yes").getComponent(cc.Label).string = cc.fx.GameConfig.GM_INFO.film.toString(); + botoom.getChildByName("yes").getComponent(cc.Label).string = film.toString(); } else { console.log("没有足够film"); botoom.getChildByName("no").active = true; - botoom.getChildByName("no").getComponent(cc.Label).string = cc.fx.GameConfig.GM_INFO.film.toString(); + botoom.getChildByName("no").getComponent(cc.Label).string = film.toString(); } - console.log("拥有film", cc.fx.GameConfig.GM_INFO.film); + console.log("拥有film", film); } } @@ -94,19 +104,43 @@ export default class GachaManager extends cc.Component { Utils.getGacha‌(res => { console.log("抽卡结果", res); if (res.code == 1) { + console.log("抽卡成功"); cc.fx.GameConfig.GM_INFO.film = res.data.film; console.log("所剩余代币", cc.fx.GameConfig.GM_INFO.film); let headArr = cc.fx.GameTool.getAvatarData(res.data.headArr); - this.init(headArr); + this.init(headArr, cc.fx.GameConfig.GM_INFO.film); this.openReward(res.data.reward); + cc.fx.GameTool.shushu_Track("avatar_gacha", { + pool_id: "spring", + pull_count: (this.own + 1), + film_count: (8 - this.own), + film_left: (8 - this.own - 1), + is_success: true, + result: "spring_" + res.data.reward.toString(), + }); } else if (res.code == 0) { MiniGameSdk.API.showToast(res.msg); - + cc.fx.GameTool.shushu_Track("avatar_gacha", { + pool_id: "spring", + pull_count: (this.own + 1), + film_count: (8 - this.own), + film_left: (8 - this.own), + is_success: false, + result: "", + }); } else { MiniGameSdk.API.showToast("网络异常,请稍后再试"); + cc.fx.GameTool.shushu_Track("avatar_gacha", { + pool_id: "spring", + pull_count: (this.own + 1), + film_count: (8 - this.own), + film_left: (8 - this.own), + is_success: false, + result: "", + }); } this.closeLoad(); }); @@ -117,20 +151,54 @@ export default class GachaManager extends cc.Component { } openReward(data) { + this.reward = data; this.node.getChildByName("geReward").active = true; + this.node.getChildByName("geReward").getChildByName("r").zIndex = 100; + this.node.getChildByName("geReward").getChildByName("sr").zIndex = 100; + this.node.getChildByName("geReward").getChildByName("ssr").zIndex = 100; this.node.getChildByName("geReward").getChildByName("r").active = false; this.node.getChildByName("geReward").getChildByName("sr").active = false; this.node.getChildByName("geReward").getChildByName("ssr").active = false; - let actionName = cc.fx.GameTool.getActionName(data.toString()); - if (data < 24) { + + let kuang = 0; + if (data == 24 || data == 25) + kuang = 1; + else if (data == 26) + kuang = 2; + else + kuang = 0; + this.node.getChildByName("geReward").getChildByName("paper").getChildByName("bg").getComponent(cc.Sprite).spriteFrame = this.kuang[kuang]; + this.node.getChildByName("geReward").getChildByName("paper").getChildByName("icon").getComponent(cc.Sprite).spriteFrame = this.icon[this.reward - 19]; + + this.node.getChildByName("geReward").getChildByName("paper").opacity = 0; + this.node.getChildByName("geReward").getChildByName("dayin1").opacity = 0; + this.node.getChildByName("geReward").getChildByName("dayin2").opacity = 0; + this.node.getChildByName("geReward").getChildByName("dayin1").zIndex = 2; + this.node.getChildByName("geReward").getChildByName("dayin2").zIndex = 4; + this.node.getChildByName("geReward").getChildByName("paper").getChildByName("bg").getComponent("CardFlipEffect").init(); + this.node.getChildByName("geReward").getChildByName("paper").getChildByName("icon").getComponent("CardFlipEffect").init(); + cc.tween(this.node.getChildByName("geReward").getChildByName("paper")) + .to(0.2, { opacity: 255 }) + .start(); + cc.tween(this.node.getChildByName("geReward").getChildByName("dayin1")) + .to(0.2, { opacity: 255 }) + .start(); + cc.tween(this.node.getChildByName("geReward").getChildByName("dayin2")) + .to(0.2, { opacity: 255 }) + .start(); + } + + showReward() { + let actionName = cc.fx.GameTool.getActionName(this.reward.toString()); + if (this.reward < 24) { this.node.getChildByName("geReward").getChildByName("r").active = true; cc.fx.GameTool.loadSpineSimple(this.node.getChildByName("geReward").getChildByName("r").getChildByName("sp"), actionName); } - else if (data == 24 || data == 25) { + else if (this.reward == 24 || this.reward == 25) { this.node.getChildByName("geReward").getChildByName("sr").active = true; cc.fx.GameTool.loadSpineSimple(this.node.getChildByName("geReward").getChildByName("sr").getChildByName("sp"), actionName); } - else if (data == 26) { + else if (this.reward == 26) { this.node.getChildByName("geReward").getChildByName("ssr").active = true; cc.fx.GameTool.loadSpineSimple(this.node.getChildByName("geReward").getChildByName("ssr").getChildByName("sp"), actionName); }