diff --git a/assets/Script/Block.ts b/assets/Script/Block.ts index b2811ee..48426d5 100644 --- a/assets/Script/Block.ts +++ b/assets/Script/Block.ts @@ -153,6 +153,7 @@ export default class Block extends cc.Component { //计时器 private scheduleCallback: any = null; private scheduleCallback2: any = null; + private scheduleCallback3: any = null; isEliminatedByHammer: boolean = false; // 标记是否被锤子消除过 onLoad() { @@ -747,58 +748,14 @@ export default class Block extends cc.Component { eliminate() { clearTimeout(this.scheduleCallback2); clearTimeout(this.scheduleCallback); + clearTimeout(this.scheduleCallback3); let self = this; //锤子状态消失 MapConroler._instance.pause = true; if (MapConroler._instance.ismagic) { this.scheduleCallback = setTimeout(() => { - // 记录添加magic时的锚点 - this.node.anchorX = 0.5; - this.node.anchorY = 0.5; - this.node.addChild(new cc.Node("magic")); - let effectNode = this.node.getChildByName("magic"); - effectNode.setPosition(0, 0); - - // 改锚点后,修正magic的位置 - - this.node.anchorX = 1; - this.node.anchorY = 0; - - // 重新设置magic的位置,使其视觉上不变 - let parentSize = this.node.getContentSize(); - effectNode.setPosition( - effectNode.x + parentSize.width * (0.5 - 1), - effectNode.y + parentSize.height * (0.5 - 0) - ); - switch (this.node.name) { - case "block14": - this.node.anchorX = 0.66; - this.node.anchorY = 0; - effectNode.setPosition(-50, 120); - break; - case "block18": - this.node.anchorX = 0.66; - this.node.anchorY = 0; - effectNode.setPosition(-50, 200); - break; - case "block10": - effectNode.setPosition(0, 200); - break; - case "block21": - effectNode.setPosition(0, 130); - break; - case "block16": - effectNode.setPosition(0, 180); - break; - default: - break; - } - effectNode.zIndex = 1000; - effectNode.addComponent(sp.Skeleton); - effectNode.getComponent(sp.Skeleton).skeletonData = this.magic_SkeletonData; - effectNode.getComponent(sp.Skeleton).setAnimation(0, "play", false); - + this.createLabelsForBlocksWithCustomDelay(0.2) if (this.type == BlockType.冻结块) { this.node.getChildByName("freeze").getComponent("Freeze").reduce(2); MapConroler._instance.ismagic = false; @@ -829,10 +786,14 @@ export default class Block extends cc.Component { this.node.getChildByName("boom").getComponent("Boom").stopBoom(); } this.scheduleCallback2 = setTimeout(() => { - //如果方块可以消除 - MapConroler._instance.blockNum -= 1; MapConroler._instance.special_Treatment(this.node); + }, 950); + this.scheduleCallback2 = setTimeout(() => { + //如果方块可以消除 + + // MapConroler._instance.blockNum -= 1; + // MapConroler._instance.special_Treatment(this.node); var self = this; this.removeMapBlock(); MapConroler._instance.judgeWin(1); @@ -860,10 +821,10 @@ export default class Block extends cc.Component { MapConroler._instance.failLevel("lock"); } } - }, 500); + }, 900); MapConroler._instance.ismagic = false; - }, 950); + }, 1350); } @@ -1598,6 +1559,271 @@ export default class Block extends cc.Component { this.node.y = this.node.y - distance; } } + + createSingleBlockEffect(blockPos: any, index: number, blockSize: number, baseOffset: cc.Vec2) { + const effectNode = new cc.Node(`magic_effect_${index}`); + + const skeletonComponent = effectNode.addComponent(sp.Skeleton); + if (!this.magic_SkeletonData) { + console.error("magic_SkeletonData 资源未加载或为空"); + return; + } + skeletonComponent.skeletonData = this.magic_SkeletonData; + skeletonComponent.premultipliedAlpha = false; + let actualX = blockPos.x * blockSize + baseOffset.x; + let actualY = blockPos.y * blockSize + baseOffset.y; + + effectNode.setAnchorPoint(0.5, 0.5); + + // 计算在世界坐标系中的位置 + const worldPos = this.node.convertToWorldSpaceAR(cc.v2(actualX - 65, actualY + 70)); + + // 获取 Canvas 节点 + const canvas = cc.find('Canvas'); + if (!canvas) { + console.error("找不到 Canvas 节点"); + return; + } + + // 将世界坐标转换为 Canvas 的本地坐标 + const canvasPos = canvas.convertToNodeSpaceAR(worldPos); + effectNode.setPosition(canvasPos); + + // 设置最高层级,确保在所有其他节点之上 + effectNode.zIndex = 9999; + + // 添加到 Canvas 节点下 + canvas.addChild(effectNode); + + this.playMagicAnimation(skeletonComponent, index); + + // 可选:添加自动清理机制 + this.scheduleOnce(() => { + if (effectNode && effectNode.isValid) { + effectNode.removeFromParent(); + effectNode.destroy(); + } + }, 3); // 3秒后自动清理 + } + + + // 播放魔法动画的辅助方法 + playMagicAnimation(skeletonComponent: sp.Skeleton, index: number) { + try { + // 检查动画是否存在 + if (!skeletonComponent.findAnimation("play")) { + console.error(`动画 "play" 不存在于 Spine 资源中`); + return; + } + skeletonComponent.setAnimation(0, "play", false); + //播放完自动清理 + // 监听动画完成事件 + skeletonComponent.setCompleteListener((trackEntry, loopCount) => { + // 动画播放完成后自动清理节点 + if (skeletonComponent.node && skeletonComponent.node.isValid) { + console.log(`第 ${index} 个特效动画播放完成,开始清理节点`); + + // 移除节点并销毁 + skeletonComponent.node.removeFromParent(); + skeletonComponent.node.destroy(); + } + }); + + } catch (error) { + console.error(`播放第 ${index} 个方块动画时出错:`, error); + } + } + + // 清理 + clearPreviousEffects() { + const children = this.node.children; + for (let i = children.length - 1; i >= 0; i--) { + const child = children[i]; + if (child.name.startsWith('magic_effect_')) { + child.removeFromParent(); + child.destroy(); + } + } + } + + createLabelsForBlocksWithCustomDelay(delayBetweenBlocks: number = 0.1) { + if (!this.allBlocks || this.allBlocks.length === 0) { + console.warn("allBlocks 数组为空或未定义"); + return; + } + const blockSize = 120; + const baseOffset = cc.v2(0, 0); + this.clearPreviousEffects(); + let createOrder = [ + [0], + ]; + + switch (this.node.name) { + case "block0": + createOrder = [ + [0] + ]; + break; + case "block1": + createOrder = [ + [1], + [0] + ]; + break; + case "block2": + createOrder = [ + [1], + [0] + ]; + break; + case "block3": + createOrder = [ + [1], + [0, 2], + ]; + break; + case "block4": + createOrder = [ + [1], + [0, 2] + ]; + break; + case "block5": + createOrder = [ + [0], + [1, 3], + [2] + ]; + + break; + case "block6": + createOrder = [ + [2], + [1, 3], + [0] + ]; + break; + case "block7": + createOrder = [ + [2], + [1, 3], + [0] + ]; + break; + case "block8": + createOrder = [ + [1], + [0, 2], + [3] + ]; + break; + case "block9": + createOrder = [ + [0], + [1, 3], + [2] + ]; + break; + case "block10": + createOrder = [ + [3], + [1, 2], + [0] + ]; + break; + case "block11": + createOrder = [ + [3], + [0, 2], + [1] + ]; + break; + case "block12": + createOrder = [ + [0], + [1, 3], + [2] + ]; + break; + case "block13": + createOrder = [ + [2], + [1, 3], + [0] + ]; + break; + case "block14": + createOrder = [ + [1], + [0, 2, 3], + ]; + break; + case "block15": + createOrder = [ + [1], + [0, 2, 3], + ]; + break; + case "block16": + createOrder = [ + [2], + [0, 1, 3], + ]; + break; + case "block17": + createOrder = [ + [1], + [0, 2, 3], + ]; + break; + case "block18": + createOrder = [ + [1], + [0, 2, 3, 4], + ]; + break; + case "block19": + createOrder = [ + [0], + [1, 2], + + ]; + break; + case "block20": + createOrder = [ + [1], + [2, 0], + + ]; + break; + case "block21": + createOrder = [ + [1], + [2, 0], + + ]; + break; + case "block22": + createOrder = [ + [1], + [2, 0], + + ]; + break; + } + let currentDelay = 0; + createOrder.forEach((batch, batchIndex) => { + batch.forEach(blockIndex => { + if (blockIndex < this.allBlocks.length) { + const blockPos = this.allBlocks[blockIndex]; + this.scheduleOnce(() => { + this.createSingleBlockEffect(blockPos, blockIndex, blockSize, baseOffset); + }, currentDelay); + } + }); + currentDelay += delayBetweenBlocks; + }); + } } diff --git a/assets/Script/JiaZai.ts b/assets/Script/JiaZai.ts index 6d1b9d4..f51d058 100644 --- a/assets/Script/JiaZai.ts +++ b/assets/Script/JiaZai.ts @@ -63,6 +63,7 @@ export default class JiaZai extends cc.Component { @property(cc.Node) setUi: cc.Node = null; scheduleCallback2: any; + private isFirstLaunch: boolean = true; // 添加首次启动标志 // //月卡 // @property(cc.Node) // monthCardBtn: cc.Node = null; @@ -78,6 +79,9 @@ export default class JiaZai extends cc.Component { @property(cc.Node) cardTime: cc.Node = null; // LIFE-CYCLE CALLBACKS: + private onShowListener: () => void; + private onHideListener: () => void; + // LIFE-CYCLE CALLBACKS: onLoad() { this.closeLoad(); @@ -172,7 +176,54 @@ export default class JiaZai extends cc.Component { //console.log("音乐开关", cc.fx.GameConfig.GM_INFO.musicOpen); AudioManager._instance.playMusicGame(); // this.openMonthCard(); + this.onGames(); + } + //监听后台 + onGames() { + if (typeof wx !== 'undefined') { + this.onShowListener = null; + this.onHideListener = null; + // 定义监听函数 + this.onShowListener = () => { + this.onGameShow(); + }; + this.onHideListener = () => { + this.onGameHide(); + }; + wx.onShow(this.onShowListener); + wx.onHide(this.onHideListener); + + } + } + onGameHide() { + console.log("执行onGameHide", cc.fx.GameConfig.GM_INFO.min_Time); + this.isFirstLaunch = false; + this.stopHeathTimeCutDown(); + this.stopTimeCutDown(); + this.stopPowerTime(); + } + + onGameShow() { + + cc.fx.GameTool.getHealth((data) => { + NumberToImage.numberToImageNodes((cc.fx.GameConfig.GM_INFO.level + 1), 43, 15, "level_", this.level, true); + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); + this.setHealthInfo(true); + }); + + console.log("执行on", cc.fx.GameConfig.GM_INFO.min_Time); + if (this.node.getChildByName("heathpop")) { + if (this.node.getChildByName("heathpop").active == true) { + const heathComponent = this.node.getChildByName("heathpop").getComponent("heathnum"); + if (heathComponent && heathComponent.timeNode && + cc.fx.GameConfig.GM_INFO.hp < cc.fx.GameConfig.GM_INFO.hp_Max) { + this.startHeathTimeCutDown(heathComponent.timeNode); + + } + } + + } } start() { @@ -232,6 +283,7 @@ export default class JiaZai extends cc.Component { let heathPop = health.getComponent("heathnum").heatht; heathPop.scale = 0.7; this.heath = heathPop; // 保存heath预制体引用 + console.log("Health:", this.node.children) let swichs = health.getComponent("heathnum").switchNode; let timeNode = health.getComponent("heathnum").timeNode; let switchButtons = health.getComponent("heathnum").switchButtons; @@ -450,6 +502,12 @@ export default class JiaZai extends cc.Component { }, 500); return; } + if (typeof wx !== 'undefined') { + //@ts-ignore + wx.offShow(this.onShowListener); + wx.offHide(this.onHideListener); + } + if (this.node.getChildByName("Load").getChildByName("startBtn").getComponent("btnControl")._touch) { this.node.getChildByName("Load").getChildByName("startBtn").getComponent("btnControl").setTouch(false); let version = cc.fx.GameTool.getWechatGameVersion(); @@ -509,6 +567,11 @@ export default class JiaZai extends cc.Component { this.shopNode.active = true; this.shopNode.getComponent("shop").init(); } + if (typeof wx !== 'undefined') { + //@ts-ignore + wx.offShow(this.onShowListener); + wx.offHide(this.onHideListener); + } // //console.log("shopNode parent:", this.shopNode.parent); } @@ -552,6 +615,11 @@ export default class JiaZai extends cc.Component { this.monthlyCardNode.getComponent("monthlyCard").init(); this.monthlyCardNode.getComponent("monthlyCard").juwai = true; } + if (typeof wx !== 'undefined') { + //@ts-ignore + wx.offShow(this.onShowListener); + wx.offHide(this.onHideListener); + } } // 关闭商店 @@ -663,8 +731,8 @@ export default class JiaZai extends cc.Component { console.log("需要补发数据", order); if (order.itemid == "gold_1" || order.itemid == "gold_2" || order.itemid == "gold_3" || order.itemid == "gold_4" || order.itemid == "gold_5" || order.itemid == "gold_6" - || order.itemid == "unlimited_health_bundle_1" || order.itemid == "unlimited_health_bundle_2" - || order.itemid == "unlimited_health_bundle_3" || order.itemid == "month_Card" || "reborn_Gift" + || order.itemid == "unlimited_health_bundle_10" || order.itemid == "unlimited_health_bundle_20" + || order.itemid == "unlimited_health_bundle_30" || order.itemid == "month_Card" || "reborn_Gift" ) { this.openLoad(); console.log("补发名称:", order.itemid); @@ -682,9 +750,9 @@ export default class JiaZai extends cc.Component { else if (order.itemid == "gold_4") { coinTemp = 32000; } else if (order.itemid == "gold_5") { coinTemp = 100000; } else if (order.itemid == "gold_6") { coinTemp = 240000; } - else if (order.itemid == "unlimited_health_bundle_1") { coinTemp = 5000; } - else if (order.itemid == "unlimited_health_bundle_2") { coinTemp = 12000; } - else if (order.itemid == "unlimited_health_bundle_3") { coinTemp = 30000; } + else if (order.itemid == "unlimited_health_bundle_10") { coinTemp = 2500; } + else if (order.itemid == "unlimited_health_bundle_20") { coinTemp = 5000; } + else if (order.itemid == "unlimited_health_bundle_30") { coinTemp = 7500; } else if (order.itemid == "month_Card") { coinTemp = 6000; cc.fx.GameConfig.GM_INFO.doubleCoin = 2; @@ -751,7 +819,6 @@ export default class JiaZai extends cc.Component { closeLoad() { this.node.getChildByName("Loading").active = false; } - updatePower() { if (cc.fx.GameConfig.GM_INFO.userPowerTime != 0) { let nowTime = Math.floor(Date.now() / 1000); diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index ecb2b56..098093e 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -1778,8 +1778,9 @@ export default class MapConroler extends cc.Component { if (data.type == "time") { this.timeNumber = 21; this.add_Time += 20; + NumberToImage.getTimeMargin(20, 50, "time_", this.timeLabel) } - // NumberToImage.getTimeMargin(20, 50, "time_", this.timeLabel) + this.blockNum = this.blocks.length; if (this.blockNum == 0) this.nextLevel(); diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index 449e180..482ed8c 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -1031,21 +1031,21 @@ var GameTool = { { type: "coin", count: coin }, ] break; - case "unlimited_health_bundle_1": - cc.fx.GameTool.changeCoin(5000); - coin = 5000; - price = 1800; - this.setUserPowerTime(1800); + case "unlimited_health_bundle_10": + cc.fx.GameTool.changeCoin(2500); + coin = 2500; + price = 1000; + this.setUserPowerTime(3600); // MiniGameSdk.API.showToast("获得无限体力小组合包"); rewardData = [ { type: "coin", count: coin }, - { type: "infinite_health", count: 1800 }, + { type: "infinite_health", count: 3600 }, ] break; - case "unlimited_health_bundle_2": - cc.fx.GameTool.changeCoin(12000); - coin = 12000; - price = 6600; + case "unlimited_health_bundle_20": + cc.fx.GameTool.changeCoin(5000); + coin = 5000; + price = 2000; let propData = { "freeze": 2, "hammer": 2, @@ -1053,35 +1053,35 @@ var GameTool = { "price": price } this.getShopProp(propData, compensate); - this.setUserPowerTime(3600); + this.setUserPowerTime(7200); // MiniGameSdk.API.showToast("获得无限体力大组合包"); rewardData = [ { type: "coin", count: coin }, { type: "freeze", count: 2 }, { type: "hammer", count: 2 }, { type: "magic", count: 2 }, - { type: "infinite_health", count: 3600 }, + { type: "infinite_health", count: 7200 }, ] break; - case "unlimited_health_bundle_3": - cc.fx.GameTool.changeCoin(30000); - coin = 30000; - price = 10800; + case "unlimited_health_bundle_30": + cc.fx.GameTool.changeCoin(7500); + coin = 7500; + price = 3000; let propData2 = { - "freeze": 6, - "hammer": 6, - "magic_wand": 6, + "freeze": 5, + "hammer": 5, + "magic_wand": 5, "price": price } this.getShopProp(propData2, compensate); - this.setUserPowerTime(7200); + this.setUserPowerTime(14400); // MiniGameSdk.API.showToast("获得无限体力超组合包"); rewardData = [ { type: "coin", count: coin }, - { type: "freeze", count: 6 }, - { type: "hammer", count: 6 }, - { type: "magic", count: 6 }, - { type: "infinite_health", count: 7200 }, + { type: "freeze", count: 5 }, + { type: "hammer", count: 5 }, + { type: "magic", count: 5 }, + { type: "infinite_health", count: 14400 }, ] break; case "month_Card": diff --git a/assets/Script/monthlyCard.ts b/assets/Script/monthlyCard.ts index cf20f9e..93e1f0c 100644 --- a/assets/Script/monthlyCard.ts +++ b/assets/Script/monthlyCard.ts @@ -289,6 +289,11 @@ export default class NewClass extends cc.Component { jiazaiComp.rewarded(); console.log("123iiiii222") } + if (jiazaiComp) { + jiazaiComp.onGames(); + console.log("1222") + } + this.node.active = false; } diff --git a/assets/res/font/font.plist.meta b/assets/res/font/font.plist.meta index 58c7235..eb6829e 100644 --- a/assets/res/font/font.plist.meta +++ b/assets/res/font/font.plist.meta @@ -1299,7 +1299,7 @@ }, "discount_0.png": { "ver": "1.0.6", - "uuid": "f99cb6b9-efed-48bb-81c7-3e5a8a194dff", + "uuid": "8bf71b2d-8110-4f80-b372-7664958fa972", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", @@ -1322,7 +1322,7 @@ }, "discount_1.png": { "ver": "1.0.6", - "uuid": "0c3d3261-ef38-43bf-91e5-68a6b1670c34", + "uuid": "573856d6-bcf2-4f74-a296-b938735b3a6e", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", @@ -1345,7 +1345,7 @@ }, "discount_2.png": { "ver": "1.0.6", - "uuid": "14be48df-47df-43c6-8dfe-3f58fd4ec953", + "uuid": "e81e3849-47b0-4002-8396-1c6890c56208", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", @@ -1368,7 +1368,7 @@ }, "discount_3.png": { "ver": "1.0.6", - "uuid": "c70710d1-3b7d-48a5-b5c5-3fc673884b1b", + "uuid": "d7e579d0-af4f-4a02-9c38-e1fe585db121", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", @@ -1391,7 +1391,7 @@ }, "discount_4.png": { "ver": "1.0.6", - "uuid": "04587c66-e0a8-4e96-8a3d-108ece008a2f", + "uuid": "7a51cfc8-dc08-482d-91e8-d851ed02b4d0", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", @@ -1414,7 +1414,7 @@ }, "discount_5.png": { "ver": "1.0.6", - "uuid": "68593393-51e9-4951-9696-ea88a9aba1d8", + "uuid": "6143b77a-3c94-42ca-9026-dca9db58f56b", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", @@ -1437,7 +1437,7 @@ }, "discount_6.png": { "ver": "1.0.6", - "uuid": "83d73907-8f24-4b02-9c17-44a50e0ede38", + "uuid": "e8659f41-d9d0-4e43-adc8-f13b0cbf66a1", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", @@ -1460,7 +1460,7 @@ }, "discount_7.png": { "ver": "1.0.6", - "uuid": "0d9b3cdd-8615-44df-b4ef-0f2406b798dc", + "uuid": "535a83dd-d70a-480e-9190-b8776cc97c65", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", @@ -1483,7 +1483,7 @@ }, "discount_8.png": { "ver": "1.0.6", - "uuid": "320888d6-aa36-4e07-a7a6-8a6c02783aeb", + "uuid": "d458276c-fa7a-452d-a01a-fa19cd196e1d", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", @@ -1506,7 +1506,7 @@ }, "discount_9.png": { "ver": "1.0.6", - "uuid": "90fdf128-4208-4569-96cb-253868445849", + "uuid": "e61fdba9-d3ad-47c9-ba96-14f843fc2f6b", "importer": "sprite-frame", "rawTextureUuid": "f8d067a0-98d0-4a97-8159-506946262d4b", "trimType": "auto", diff --git a/assets/shop/img/chuji.png b/assets/shop/img/chuji.png index db42d33..672018c 100644 Binary files a/assets/shop/img/chuji.png and b/assets/shop/img/chuji.png differ diff --git a/assets/shop/img/gaoji.png b/assets/shop/img/gaoji.png index 6d585b6..a44a113 100644 Binary files a/assets/shop/img/gaoji.png and b/assets/shop/img/gaoji.png differ diff --git a/assets/shop/img/texture_atlas-1.plist b/assets/shop/img/texture_atlas-1.plist index f37748a..dda8f6f 100644 --- a/assets/shop/img/texture_atlas-1.plist +++ b/assets/shop/img/texture_atlas-1.plist @@ -45,7 +45,7 @@ spriteSourceSize {130,38} textureRect - {{292,0},{130,38}} + {{425,0},{130,38}} textureRotated @@ -60,7 +60,7 @@ spriteSourceSize {135,38} textureRect - {{422,0},{135,38}} + {{555,0},{135,38}} textureRotated @@ -75,7 +75,22 @@ spriteSourceSize {162,38} textureRect - {{557,0},{162,38}} + {{690,0},{162,38}} + textureRotated + + + 4h.png + + aliases + + spriteOffset + {0,0} + spriteSize + {133,38} + spriteSourceSize + {133,38} + textureRect + {{292,0},{133,38}} textureRotated @@ -90,7 +105,7 @@ spriteSourceSize {1000,406} textureRect - {{492,516},{1000,406}} + {{492,490},{1000,406}} textureRotated @@ -120,7 +135,7 @@ spriteSourceSize {464,132} textureRect - {{1176,96},{464,132}} + {{1382,96},{464,132}} textureRotated @@ -135,7 +150,7 @@ spriteSourceSize {123,90} textureRect - {{1385,0},{123,90}} + {{1563,0},{123,90}} textureRotated @@ -150,7 +165,7 @@ spriteSourceSize {322,96} textureRect - {{1508,0},{322,96}} + {{1686,0},{322,96}} textureRotated @@ -165,7 +180,7 @@ spriteSourceSize {246,246} textureRect - {{188,270},{246,246}} + {{342,244},{246,246}} textureRotated @@ -180,7 +195,7 @@ spriteSourceSize {246,246} textureRect - {{434,270},{246,246}} + {{588,244},{246,246}} textureRotated @@ -195,7 +210,7 @@ spriteSourceSize {246,246} textureRect - {{680,270},{246,246}} + {{834,244},{246,246}} textureRotated @@ -210,7 +225,7 @@ spriteSourceSize {246,246} textureRect - {{926,270},{246,246}} + {{1080,244},{246,246}} textureRotated @@ -225,7 +240,7 @@ spriteSourceSize {246,246} textureRect - {{1172,270},{246,246}} + {{1326,244},{246,246}} textureRotated @@ -240,7 +255,7 @@ spriteSourceSize {246,246} textureRect - {{1418,270},{246,246}} + {{1572,244},{246,246}} textureRotated @@ -255,7 +270,7 @@ spriteSourceSize {246,246} textureRect - {{0,516},{246,246}} + {{0,490},{246,246}} textureRotated @@ -270,7 +285,7 @@ spriteSourceSize {246,246} textureRect - {{246,516},{246,246}} + {{246,490},{246,246}} textureRotated @@ -285,7 +300,37 @@ spriteSourceSize {304,448} textureRect - {{1492,516},{304,448}} + {{1492,490},{304,448}} + textureRotated + + + r_bq.png + + aliases + + spriteOffset + {0,0} + spriteSize + {148,148} + spriteSourceSize + {148,148} + textureRect + {{1846,96},{148,148}} + textureRotated + + + s_bq.png + + aliases + + spriteOffset + {0,0} + spriteSize + {206,122} + spriteSourceSize + {206,122} + textureRect + {{1176,96},{206,122}} textureRotated @@ -300,7 +345,7 @@ spriteSourceSize {286,42} textureRect - {{800,0},{286,42}} + {{933,0},{286,42}} textureRotated @@ -315,7 +360,7 @@ spriteSourceSize {44,40} textureRect - {{719,0},{44,40}} + {{852,0},{44,40}} textureRotated @@ -330,7 +375,7 @@ spriteSourceSize {188,207} textureRect - {{0,270},{188,207}} + {{154,244},{188,207}} textureRotated @@ -360,7 +405,7 @@ spriteSourceSize {148,65} textureRect - {{1086,0},{148,65}} + {{1264,0},{148,65}} textureRotated @@ -375,7 +420,7 @@ spriteSourceSize {151,65} textureRect - {{1234,0},{151,65}} + {{1412,0},{151,65}} textureRotated @@ -405,7 +450,7 @@ spriteSourceSize {154,174} textureRect - {{1640,96},{154,174}} + {{0,244},{154,174}} textureRotated @@ -420,7 +465,22 @@ spriteSourceSize {37,40} textureRect - {{763,0},{37,40}} + {{896,0},{37,40}} + textureRotated + + + zhe.png + + aliases + + spriteOffset + {0,0} + spriteSize + {45,46} + spriteSourceSize + {45,46} + textureRect + {{1219,0},{45,46}} textureRotated @@ -436,9 +496,9 @@ realTextureFileName texture_atlas-1.png size - {1830,964} + {2008,938} smartupdate - $TexturePacker:SmartUpdate:922b75cadd6e1a6365b192ddd2ada1b0:20640123229c1eef91916ad6809a7ed2:7574d8513b69ec3112d43152279b5c18$ + $TexturePacker:SmartUpdate:451d50daa7daadaa9dd8412f5040c29d:21230410b68532ee0c6da2e54da431cb:7574d8513b69ec3112d43152279b5c18$ textureFileName texture_atlas-1.png diff --git a/assets/shop/img/texture_atlas-1.plist.meta b/assets/shop/img/texture_atlas-1.plist.meta index d2bd90f..779c71d 100644 --- a/assets/shop/img/texture_atlas-1.plist.meta +++ b/assets/shop/img/texture_atlas-1.plist.meta @@ -4,8 +4,8 @@ "importer": "asset", "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", "size": { - "width": 1830, - "height": 964 + "width": 2008, + "height": 938 }, "type": "Texture Packer", "subMetas": { @@ -65,7 +65,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 292, + "trimX": 425, "trimY": 0, "width": 130, "height": 38, @@ -88,7 +88,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 422, + "trimX": 555, "trimY": 0, "width": 135, "height": 38, @@ -111,7 +111,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 557, + "trimX": 690, "trimY": 0, "width": 162, "height": 38, @@ -124,6 +124,29 @@ "spriteType": "normal", "subMetas": {} }, + "4h.png": { + "ver": "1.0.6", + "uuid": "75fc2652-6239-434e-b00b-bd2406dcf50a", + "importer": "sprite-frame", + "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 292, + "trimY": 0, + "width": 133, + "height": 38, + "rawWidth": 133, + "rawHeight": 38, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "banre.png": { "ver": "1.0.6", "uuid": "295fa69f-086d-4229-8dcd-446292dc31b0", @@ -135,7 +158,7 @@ "offsetX": 0, "offsetY": 0, "trimX": 492, - "trimY": 516, + "trimY": 490, "width": 1000, "height": 406, "rawWidth": 1000, @@ -180,7 +203,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1176, + "trimX": 1382, "trimY": 96, "width": 464, "height": 132, @@ -203,7 +226,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1385, + "trimX": 1563, "trimY": 0, "width": 123, "height": 90, @@ -226,7 +249,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1508, + "trimX": 1686, "trimY": 0, "width": 322, "height": 96, @@ -249,8 +272,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 188, - "trimY": 270, + "trimX": 342, + "trimY": 244, "width": 246, "height": 246, "rawWidth": 246, @@ -272,8 +295,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 434, - "trimY": 270, + "trimX": 588, + "trimY": 244, "width": 246, "height": 246, "rawWidth": 246, @@ -295,8 +318,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 680, - "trimY": 270, + "trimX": 834, + "trimY": 244, "width": 246, "height": 246, "rawWidth": 246, @@ -318,8 +341,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 926, - "trimY": 270, + "trimX": 1080, + "trimY": 244, "width": 246, "height": 246, "rawWidth": 246, @@ -341,8 +364,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1172, - "trimY": 270, + "trimX": 1326, + "trimY": 244, "width": 246, "height": 246, "rawWidth": 246, @@ -364,8 +387,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1418, - "trimY": 270, + "trimX": 1572, + "trimY": 244, "width": 246, "height": 246, "rawWidth": 246, @@ -388,7 +411,7 @@ "offsetX": 0, "offsetY": 0, "trimX": 0, - "trimY": 516, + "trimY": 490, "width": 246, "height": 246, "rawWidth": 246, @@ -411,7 +434,7 @@ "offsetX": 0, "offsetY": 0, "trimX": 246, - "trimY": 516, + "trimY": 490, "width": 246, "height": 246, "rawWidth": 246, @@ -434,7 +457,7 @@ "offsetX": 0, "offsetY": 0, "trimX": 1492, - "trimY": 516, + "trimY": 490, "width": 304, "height": 448, "rawWidth": 304, @@ -446,6 +469,52 @@ "spriteType": "normal", "subMetas": {} }, + "r_bq.png": { + "ver": "1.0.6", + "uuid": "e314ab10-ab70-4ff7-8513-4254be9264ee", + "importer": "sprite-frame", + "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1846, + "trimY": 96, + "width": 148, + "height": 148, + "rawWidth": 148, + "rawHeight": 148, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, + "s_bq.png": { + "ver": "1.0.6", + "uuid": "3d3ea606-2949-41b9-a98f-86f6f3122b0c", + "importer": "sprite-frame", + "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1176, + "trimY": 96, + "width": 206, + "height": 122, + "rawWidth": 206, + "rawHeight": 122, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "shengxiaozhong.png": { "ver": "1.0.6", "uuid": "af474d63-41a4-4bdd-a7f1-5666c397332a", @@ -456,7 +525,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 800, + "trimX": 933, "trimY": 0, "width": 286, "height": 42, @@ -479,7 +548,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 719, + "trimX": 852, "trimY": 0, "width": 44, "height": 40, @@ -502,8 +571,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 0, - "trimY": 270, + "trimX": 154, + "trimY": 244, "width": 188, "height": 207, "rawWidth": 188, @@ -548,7 +617,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1086, + "trimX": 1264, "trimY": 0, "width": 148, "height": 65, @@ -571,7 +640,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1234, + "trimX": 1412, "trimY": 0, "width": 151, "height": 65, @@ -617,8 +686,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1640, - "trimY": 96, + "trimX": 0, + "trimY": 244, "width": 154, "height": 174, "rawWidth": 154, @@ -640,7 +709,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 763, + "trimX": 896, "trimY": 0, "width": 37, "height": 40, @@ -652,6 +721,29 @@ "borderRight": 0, "spriteType": "normal", "subMetas": {} + }, + "zhe.png": { + "ver": "1.0.6", + "uuid": "bd09a391-0f09-4dd6-a17e-29e44be01ed3", + "importer": "sprite-frame", + "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1219, + "trimY": 0, + "width": 45, + "height": 46, + "rawWidth": 45, + "rawHeight": 46, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} } } } \ No newline at end of file diff --git a/assets/shop/img/texture_atlas-1.png b/assets/shop/img/texture_atlas-1.png index 88b8048..696d6c8 100644 Binary files a/assets/shop/img/texture_atlas-1.png and b/assets/shop/img/texture_atlas-1.png differ diff --git a/assets/shop/img/texture_atlas-1.png.meta b/assets/shop/img/texture_atlas-1.png.meta index d39ee09..844c6a3 100644 --- a/assets/shop/img/texture_atlas-1.png.meta +++ b/assets/shop/img/texture_atlas-1.png.meta @@ -8,8 +8,8 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 1830, - "height": 964, + "width": 1966, + "height": 922, "platformSettings": {}, "subMetas": {} } \ No newline at end of file diff --git a/assets/shop/img/zhongji.png b/assets/shop/img/zhongji.png index 9781fbe..566cd08 100644 Binary files a/assets/shop/img/zhongji.png and b/assets/shop/img/zhongji.png differ diff --git a/assets/shop/prefab/shop.prefab b/assets/shop/prefab/shop.prefab index 9e3d3eb..bb7d463 100644 --- a/assets/shop/prefab/shop.prefab +++ b/assets/shop/prefab/shop.prefab @@ -27,29 +27,29 @@ "__id__": 11 }, { - "__id__": 304 + "__id__": 346 }, { - "__id__": 377 + "__id__": 419 }, { - "__id__": 380 + "__id__": 422 }, { - "__id__": 388 + "__id__": 430 } ], "_active": true, "_components": [ { - "__id__": 401 + "__id__": 443 }, { - "__id__": 402 + "__id__": 444 } ], "_prefab": { - "__id__": 403 + "__id__": 445 }, "_opacity": 255, "_color": { @@ -408,11 +408,11 @@ "__id__": 17 }, { - "__id__": 302 + "__id__": 344 } ], "_prefab": { - "__id__": 303 + "__id__": 345 }, "_opacity": 255, "_color": { @@ -479,11 +479,11 @@ "__id__": 16 }, { - "__id__": 300 + "__id__": 342 } ], "_prefab": { - "__id__": 301 + "__id__": 343 }, "_opacity": 255, "_color": { @@ -700,50 +700,50 @@ "__id__": 22 }, { - "__id__": 41 + "__id__": 53 }, { - "__id__": 47 + "__id__": 59 }, { - "__id__": 63 + "__id__": 75 }, { - "__id__": 79 + "__id__": 91 }, { - "__id__": 95 + "__id__": 107 }, { - "__id__": 111 + "__id__": 123 }, { - "__id__": 127 - }, - { - "__id__": 143 - }, - { - "__id__": 149 - }, - { - "__id__": 152 + "__id__": 139 }, { "__id__": 155 }, { - "__id__": 158 + "__id__": 161 + }, + { + "__id__": 173 + }, + { + "__id__": 188 + }, + { + "__id__": 200 } ], "_active": true, "_components": [ { - "__id__": 298 + "__id__": 340 } ], "_prefab": { - "__id__": 299 + "__id__": 341 }, "_opacity": 255, "_color": { @@ -824,7 +824,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 1080, - "height": 1700 + "height": 1900 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -907,16 +907,19 @@ }, { "__id__": 36 + }, + { + "__id__": 39 } ], "_active": true, "_components": [ { - "__id__": 39 + "__id__": 51 } ], "_prefab": { - "__id__": 40 + "__id__": 52 }, "_opacity": 255, "_color": { @@ -1564,6 +1567,452 @@ "fileId": "6fxO9oPadNsrzAGOg1xJq5", "sync": false }, + { + "__type__": "cc.Node", + "_name": "r_bq", + "_objFlags": 0, + "_parent": { + "__id__": 22 + }, + "_children": [ + { + "__id__": 40 + }, + { + "__id__": 43 + }, + { + "__id__": 46 + } + ], + "_active": true, + "_components": [ + { + "__id__": 49 + } + ], + "_prefab": { + "__id__": 50 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 148, + "height": 148 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 19.41, + -93.764, + 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": "discount_8", + "_objFlags": 0, + "_parent": { + "__id__": 39 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 41 + } + ], + "_prefab": { + "__id__": 42 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 44 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -22.064, + 19.027, + 0, + 0, + 0, + 0.043619387365336, + 0.9990482215818578, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 5 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 40 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d458276c-fa7a-452d-a01a-fa19cd196e1d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f6wjKbbFpGl7KPki1iIIe5", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "discount_8", + "_objFlags": 0, + "_parent": { + "__id__": 39 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 44 + } + ], + "_prefab": { + "__id__": 45 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 44 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 13.641, + 21.769, + 0, + 0, + 0, + 0.043619387365336, + 0.9990482215818578, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 5 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 43 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d458276c-fa7a-452d-a01a-fa19cd196e1d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2fmCwtNJhIVZikexQ4kso1", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "zhe", + "_objFlags": 0, + "_parent": { + "__id__": 39 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 47 + } + ], + "_prefab": { + "__id__": 48 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 45, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 8.627, + -25.161, + 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__": 46 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "bd09a391-0f09-4dd6-a17e-29e44be01ed3" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "88f4116d-72c2-46cc-9f06-d164a85a9275" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "25DOpRQR5PPZe/ppoS0q2l", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 39 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "e314ab10-ab70-4ff7-8513-4254be9264ee" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "88f4116d-72c2-46cc-9f06-d164a85a9275" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cdU6kB5EtDeJb/mO064AEj", + "sync": false + }, { "__type__": "cc.Sprite", "_name": "", @@ -1618,17 +2067,17 @@ }, "_children": [ { - "__id__": 42 + "__id__": 54 } ], "_active": true, "_components": [ { - "__id__": 45 + "__id__": 57 } ], "_prefab": { - "__id__": 46 + "__id__": 58 }, "_opacity": 255, "_color": { @@ -1682,17 +2131,17 @@ "_name": "txt1", "_objFlags": 0, "_parent": { - "__id__": 41 + "__id__": 53 }, "_children": [], "_active": true, "_components": [ { - "__id__": 43 + "__id__": 55 } ], "_prefab": { - "__id__": 44 + "__id__": 56 }, "_opacity": 255, "_color": { @@ -1746,7 +2195,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 42 + "__id__": 54 }, "_enabled": true, "_materials": [ @@ -1791,7 +2240,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 41 + "__id__": 53 }, "_enabled": true, "_materials": [ @@ -1840,32 +2289,32 @@ }, "_children": [ { - "__id__": 48 + "__id__": 60 }, { - "__id__": 51 + "__id__": 63 }, { - "__id__": 53 + "__id__": 65 }, { - "__id__": 55 + "__id__": 67 } ], "_active": true, "_components": [ { - "__id__": 58 + "__id__": 70 }, { - "__id__": 59 + "__id__": 71 }, { - "__id__": 61 + "__id__": 73 } ], "_prefab": { - "__id__": 62 + "__id__": 74 }, "_opacity": 255, "_color": { @@ -1919,17 +2368,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 47 + "__id__": 59 }, "_children": [], "_active": true, "_components": [ { - "__id__": 49 + "__id__": 61 } ], "_prefab": { - "__id__": 50 + "__id__": 62 }, "_opacity": 255, "_color": { @@ -1983,7 +2432,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 48 + "__id__": 60 }, "_enabled": true, "_materials": [ @@ -2015,7 +2464,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 47 + "__id__": 59 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -2028,13 +2477,13 @@ "_name": "price", "_objFlags": 0, "_parent": { - "__id__": 47 + "__id__": 59 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 52 + "__id__": 64 }, "_opacity": 255, "_color": { @@ -2086,7 +2535,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 47 + "__id__": 59 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -2099,13 +2548,13 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 47 + "__id__": 59 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 54 + "__id__": 66 }, "_opacity": 255, "_color": { @@ -2157,7 +2606,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 47 + "__id__": 59 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -2170,17 +2619,17 @@ "_name": "cost_yuan", "_objFlags": 0, "_parent": { - "__id__": 47 + "__id__": 59 }, "_children": [], "_active": true, "_components": [ { - "__id__": 56 + "__id__": 68 } ], "_prefab": { - "__id__": 57 + "__id__": 69 }, "_opacity": 255, "_color": { @@ -2234,7 +2683,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 55 + "__id__": 67 }, "_enabled": true, "_materials": [ @@ -2266,7 +2715,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 47 + "__id__": 59 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -2279,7 +2728,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 47 + "__id__": 59 }, "_enabled": true, "_materials": [ @@ -2313,7 +2762,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 47 + "__id__": 59 }, "_enabled": true, "_normalMaterial": null, @@ -2322,7 +2771,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 60 + "__id__": 72 } ], "_N$interactable": true, @@ -2378,7 +2827,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 47 + "__id__": 59 }, "_id": "" }, @@ -2397,7 +2846,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 47 + "__id__": 59 }, "_enabled": true, "label": null, @@ -2407,7 +2856,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 47 + "__id__": 59 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -2424,32 +2873,32 @@ }, "_children": [ { - "__id__": 64 + "__id__": 76 }, { - "__id__": 67 + "__id__": 79 }, { - "__id__": 69 + "__id__": 81 }, { - "__id__": 71 + "__id__": 83 } ], "_active": true, "_components": [ { - "__id__": 74 + "__id__": 86 }, { - "__id__": 75 + "__id__": 87 }, { - "__id__": 77 + "__id__": 89 } ], "_prefab": { - "__id__": 78 + "__id__": 90 }, "_opacity": 255, "_color": { @@ -2503,17 +2952,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 63 + "__id__": 75 }, "_children": [], "_active": true, "_components": [ { - "__id__": 65 + "__id__": 77 } ], "_prefab": { - "__id__": 66 + "__id__": 78 }, "_opacity": 255, "_color": { @@ -2567,7 +3016,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 64 + "__id__": 76 }, "_enabled": true, "_materials": [ @@ -2599,7 +3048,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 63 + "__id__": 75 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -2612,13 +3061,13 @@ "_name": "price", "_objFlags": 0, "_parent": { - "__id__": 63 + "__id__": 75 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 68 + "__id__": 80 }, "_opacity": 255, "_color": { @@ -2670,7 +3119,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 63 + "__id__": 75 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -2683,13 +3132,13 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 63 + "__id__": 75 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 70 + "__id__": 82 }, "_opacity": 255, "_color": { @@ -2741,7 +3190,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 63 + "__id__": 75 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -2754,17 +3203,17 @@ "_name": "cost_yuan", "_objFlags": 0, "_parent": { - "__id__": 63 + "__id__": 75 }, "_children": [], "_active": true, "_components": [ { - "__id__": 72 + "__id__": 84 } ], "_prefab": { - "__id__": 73 + "__id__": 85 }, "_opacity": 255, "_color": { @@ -2818,7 +3267,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 71 + "__id__": 83 }, "_enabled": true, "_materials": [ @@ -2850,7 +3299,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 63 + "__id__": 75 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -2863,7 +3312,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 75 }, "_enabled": true, "_materials": [ @@ -2897,7 +3346,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 75 }, "_enabled": true, "_normalMaterial": null, @@ -2906,7 +3355,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 76 + "__id__": 88 } ], "_N$interactable": true, @@ -2962,7 +3411,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 63 + "__id__": 75 }, "_id": "" }, @@ -2981,7 +3430,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 75 }, "_enabled": true, "label": null, @@ -2991,7 +3440,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 63 + "__id__": 75 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -3008,32 +3457,32 @@ }, "_children": [ { - "__id__": 80 + "__id__": 92 }, { - "__id__": 83 + "__id__": 95 }, { - "__id__": 85 + "__id__": 97 }, { - "__id__": 87 + "__id__": 99 } ], "_active": true, "_components": [ { - "__id__": 90 + "__id__": 102 }, { - "__id__": 91 + "__id__": 103 }, { - "__id__": 93 + "__id__": 105 } ], "_prefab": { - "__id__": 94 + "__id__": 106 }, "_opacity": 255, "_color": { @@ -3087,17 +3536,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 91 }, "_children": [], "_active": true, "_components": [ { - "__id__": 81 + "__id__": 93 } ], "_prefab": { - "__id__": 82 + "__id__": 94 }, "_opacity": 255, "_color": { @@ -3151,7 +3600,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 80 + "__id__": 92 }, "_enabled": true, "_materials": [ @@ -3183,7 +3632,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 79 + "__id__": 91 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -3196,13 +3645,13 @@ "_name": "price", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 91 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 84 + "__id__": 96 }, "_opacity": 255, "_color": { @@ -3254,7 +3703,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 79 + "__id__": 91 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -3267,13 +3716,13 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 91 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 86 + "__id__": 98 }, "_opacity": 255, "_color": { @@ -3325,7 +3774,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 79 + "__id__": 91 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -3338,17 +3787,17 @@ "_name": "cost_yuan", "_objFlags": 0, "_parent": { - "__id__": 79 + "__id__": 91 }, "_children": [], "_active": true, "_components": [ { - "__id__": 88 + "__id__": 100 } ], "_prefab": { - "__id__": 89 + "__id__": 101 }, "_opacity": 255, "_color": { @@ -3402,7 +3851,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 87 + "__id__": 99 }, "_enabled": true, "_materials": [ @@ -3434,7 +3883,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 79 + "__id__": 91 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -3447,7 +3896,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 79 + "__id__": 91 }, "_enabled": true, "_materials": [ @@ -3481,7 +3930,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 79 + "__id__": 91 }, "_enabled": true, "_normalMaterial": null, @@ -3490,7 +3939,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 92 + "__id__": 104 } ], "_N$interactable": true, @@ -3546,7 +3995,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 79 + "__id__": 91 }, "_id": "" }, @@ -3565,7 +4014,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 79 + "__id__": 91 }, "_enabled": true, "label": null, @@ -3575,7 +4024,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 79 + "__id__": 91 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -3592,32 +4041,32 @@ }, "_children": [ { - "__id__": 96 + "__id__": 108 }, { - "__id__": 99 + "__id__": 111 }, { - "__id__": 101 + "__id__": 113 }, { - "__id__": 103 + "__id__": 115 } ], "_active": true, "_components": [ { - "__id__": 106 + "__id__": 118 }, { - "__id__": 107 + "__id__": 119 }, { - "__id__": 109 + "__id__": 121 } ], "_prefab": { - "__id__": 110 + "__id__": 122 }, "_opacity": 255, "_color": { @@ -3671,17 +4120,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 95 + "__id__": 107 }, "_children": [], "_active": true, "_components": [ { - "__id__": 97 + "__id__": 109 } ], "_prefab": { - "__id__": 98 + "__id__": 110 }, "_opacity": 255, "_color": { @@ -3735,7 +4184,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 96 + "__id__": 108 }, "_enabled": true, "_materials": [ @@ -3767,7 +4216,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 95 + "__id__": 107 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -3780,13 +4229,13 @@ "_name": "price", "_objFlags": 0, "_parent": { - "__id__": 95 + "__id__": 107 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 100 + "__id__": 112 }, "_opacity": 255, "_color": { @@ -3838,7 +4287,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 95 + "__id__": 107 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -3851,13 +4300,13 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 95 + "__id__": 107 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 102 + "__id__": 114 }, "_opacity": 255, "_color": { @@ -3909,7 +4358,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 95 + "__id__": 107 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -3922,17 +4371,17 @@ "_name": "cost_yuan", "_objFlags": 0, "_parent": { - "__id__": 95 + "__id__": 107 }, "_children": [], "_active": true, "_components": [ { - "__id__": 104 + "__id__": 116 } ], "_prefab": { - "__id__": 105 + "__id__": 117 }, "_opacity": 255, "_color": { @@ -3986,7 +4435,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 103 + "__id__": 115 }, "_enabled": true, "_materials": [ @@ -4018,7 +4467,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 95 + "__id__": 107 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -4031,7 +4480,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 95 + "__id__": 107 }, "_enabled": true, "_materials": [ @@ -4065,7 +4514,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 95 + "__id__": 107 }, "_enabled": true, "_normalMaterial": null, @@ -4074,7 +4523,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 108 + "__id__": 120 } ], "_N$interactable": true, @@ -4130,7 +4579,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 95 + "__id__": 107 }, "_id": "" }, @@ -4149,7 +4598,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 95 + "__id__": 107 }, "_enabled": true, "label": null, @@ -4159,7 +4608,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 95 + "__id__": 107 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -4176,32 +4625,32 @@ }, "_children": [ { - "__id__": 112 + "__id__": 124 }, { - "__id__": 115 + "__id__": 127 }, { - "__id__": 117 + "__id__": 129 }, { - "__id__": 119 + "__id__": 131 } ], "_active": true, "_components": [ { - "__id__": 122 + "__id__": 134 }, { - "__id__": 123 + "__id__": 135 }, { - "__id__": 125 + "__id__": 137 } ], "_prefab": { - "__id__": 126 + "__id__": 138 }, "_opacity": 255, "_color": { @@ -4255,17 +4704,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 111 + "__id__": 123 }, "_children": [], "_active": true, "_components": [ { - "__id__": 113 + "__id__": 125 } ], "_prefab": { - "__id__": 114 + "__id__": 126 }, "_opacity": 255, "_color": { @@ -4319,7 +4768,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 112 + "__id__": 124 }, "_enabled": true, "_materials": [ @@ -4351,7 +4800,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 111 + "__id__": 123 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -4364,13 +4813,13 @@ "_name": "price", "_objFlags": 0, "_parent": { - "__id__": 111 + "__id__": 123 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 116 + "__id__": 128 }, "_opacity": 255, "_color": { @@ -4422,7 +4871,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 111 + "__id__": 123 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -4435,13 +4884,13 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 111 + "__id__": 123 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 118 + "__id__": 130 }, "_opacity": 255, "_color": { @@ -4493,7 +4942,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 111 + "__id__": 123 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -4506,17 +4955,17 @@ "_name": "cost_yuan", "_objFlags": 0, "_parent": { - "__id__": 111 + "__id__": 123 }, "_children": [], "_active": true, "_components": [ { - "__id__": 120 + "__id__": 132 } ], "_prefab": { - "__id__": 121 + "__id__": 133 }, "_opacity": 255, "_color": { @@ -4570,7 +5019,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 119 + "__id__": 131 }, "_enabled": true, "_materials": [ @@ -4602,7 +5051,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 111 + "__id__": 123 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -4615,7 +5064,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 111 + "__id__": 123 }, "_enabled": true, "_materials": [ @@ -4649,7 +5098,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 111 + "__id__": 123 }, "_enabled": true, "_normalMaterial": null, @@ -4658,7 +5107,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 124 + "__id__": 136 } ], "_N$interactable": true, @@ -4714,7 +5163,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 111 + "__id__": 123 }, "_id": "" }, @@ -4733,7 +5182,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 111 + "__id__": 123 }, "_enabled": true, "label": null, @@ -4743,7 +5192,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 111 + "__id__": 123 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -4760,32 +5209,32 @@ }, "_children": [ { - "__id__": 128 + "__id__": 140 }, { - "__id__": 131 + "__id__": 143 }, { - "__id__": 133 + "__id__": 145 }, { - "__id__": 135 + "__id__": 147 } ], "_active": true, "_components": [ { - "__id__": 138 + "__id__": 150 }, { - "__id__": 139 + "__id__": 151 }, { - "__id__": 141 + "__id__": 153 } ], "_prefab": { - "__id__": 142 + "__id__": 154 }, "_opacity": 255, "_color": { @@ -4839,17 +5288,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 127 + "__id__": 139 }, "_children": [], "_active": true, "_components": [ { - "__id__": 129 + "__id__": 141 } ], "_prefab": { - "__id__": 130 + "__id__": 142 }, "_opacity": 255, "_color": { @@ -4903,7 +5352,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 128 + "__id__": 140 }, "_enabled": true, "_materials": [ @@ -4935,7 +5384,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 127 + "__id__": 139 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -4948,13 +5397,13 @@ "_name": "price", "_objFlags": 0, "_parent": { - "__id__": 127 + "__id__": 139 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 132 + "__id__": 144 }, "_opacity": 255, "_color": { @@ -5006,7 +5455,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 127 + "__id__": 139 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -5019,13 +5468,13 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 127 + "__id__": 139 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 134 + "__id__": 146 }, "_opacity": 255, "_color": { @@ -5077,7 +5526,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 127 + "__id__": 139 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -5090,17 +5539,17 @@ "_name": "cost_yuan", "_objFlags": 0, "_parent": { - "__id__": 127 + "__id__": 139 }, "_children": [], "_active": true, "_components": [ { - "__id__": 136 + "__id__": 148 } ], "_prefab": { - "__id__": 137 + "__id__": 149 }, "_opacity": 255, "_color": { @@ -5154,7 +5603,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 135 + "__id__": 147 }, "_enabled": true, "_materials": [ @@ -5186,7 +5635,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 127 + "__id__": 139 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -5199,7 +5648,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 127 + "__id__": 139 }, "_enabled": true, "_materials": [ @@ -5233,7 +5682,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 127 + "__id__": 139 }, "_enabled": true, "_normalMaterial": null, @@ -5242,7 +5691,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 140 + "__id__": 152 } ], "_N$interactable": true, @@ -5298,7 +5747,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 127 + "__id__": 139 }, "_id": "" }, @@ -5317,7 +5766,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 127 + "__id__": 139 }, "_enabled": true, "label": null, @@ -5327,7 +5776,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 127 + "__id__": 139 }, "asset": { "__uuid__": "a81d74d9-943b-4d0e-aad5-2999276d3447" @@ -5344,17 +5793,17 @@ }, "_children": [ { - "__id__": 144 + "__id__": 156 } ], "_active": true, "_components": [ { - "__id__": 147 + "__id__": 159 } ], "_prefab": { - "__id__": 148 + "__id__": 160 }, "_opacity": 255, "_color": { @@ -5408,17 +5857,17 @@ "_name": "txt2", "_objFlags": 0, "_parent": { - "__id__": 143 + "__id__": 155 }, "_children": [], "_active": true, "_components": [ { - "__id__": 145 + "__id__": 157 } ], "_prefab": { - "__id__": 146 + "__id__": 158 }, "_opacity": 255, "_color": { @@ -5472,7 +5921,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 144 + "__id__": 156 }, "_enabled": true, "_materials": [ @@ -5517,7 +5966,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 143 + "__id__": 155 }, "_enabled": true, "_materials": [ @@ -5564,15 +6013,19 @@ "_parent": { "__id__": 18 }, - "_children": [], + "_children": [ + { + "__id__": 162 + } + ], "_active": true, "_components": [ { - "__id__": 150 + "__id__": 171 } ], "_prefab": { - "__id__": 151 + "__id__": 172 }, "_opacity": 255, "_color": { @@ -5621,12 +6074,346 @@ "groupIndex": 0, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "s_bq", + "_objFlags": 0, + "_parent": { + "__id__": 161 + }, + "_children": [ + { + "__id__": 163 + }, + { + "__id__": 166 + } + ], + "_active": true, + "_components": [ + { + "__id__": 169 + } + ], + "_prefab": { + "__id__": 170 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 206, + "height": 122 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -115.332, + 83.961, + 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": "zhe", + "_objFlags": 0, + "_parent": { + "__id__": 162 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 164 + } + ], + "_prefab": { + "__id__": 165 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 45, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 58.252, + -16.479, + 0, + 0, + 0, + -0.224951054343865, + 0.9743700647852352, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -26 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 149 + "__id__": 163 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "bd09a391-0f09-4dd6-a17e-29e44be01ed3" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "88f4116d-72c2-46cc-9f06-d164a85a9275" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "00VqPSL2lKpKI94EexQU5+", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "discount_7", + "_objFlags": 0, + "_parent": { + "__id__": 162 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 167 + } + ], + "_prefab": { + "__id__": 168 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 44 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -1.85, + 7.85, + 0, + 0, + 0, + -0.224951054343865, + 0.9743700647852352, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -26 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 166 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "535a83dd-d70a-480e-9190-b8776cc97c65" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bfcswQN0ZB8ZIE9G+jTz8z", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 162 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3d3ea606-2949-41b9-a98f-86f6f3122b0c" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "88f4116d-72c2-46cc-9f06-d164a85a9275" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9dHuw7Um5P/JUkXXouQ/wj", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 161 }, "_enabled": true, "_materials": [ @@ -5671,15 +6458,19 @@ "_parent": { "__id__": 18 }, - "_children": [], + "_children": [ + { + "__id__": 174 + } + ], "_active": true, "_components": [ { - "__id__": 153 + "__id__": 186 } ], "_prefab": { - "__id__": 154 + "__id__": 187 }, "_opacity": 255, "_color": { @@ -5728,12 +6519,458 @@ "groupIndex": 0, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "s_bq", + "_objFlags": 0, + "_parent": { + "__id__": 173 + }, + "_children": [ + { + "__id__": 175 + }, + { + "__id__": 178 + }, + { + "__id__": 181 + } + ], + "_active": true, + "_components": [ + { + "__id__": 184 + } + ], + "_prefab": { + "__id__": 185 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 206, + "height": 122 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -115.332, + 83.961, + 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": "zhe", + "_objFlags": 0, + "_parent": { + "__id__": 174 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 176 + } + ], + "_prefab": { + "__id__": 177 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 45, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 58.252, + -16.479, + 0, + 0, + 0, + -0.224951054343865, + 0.9743700647852352, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -26 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 152 + "__id__": 175 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "bd09a391-0f09-4dd6-a17e-29e44be01ed3" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "88f4116d-72c2-46cc-9f06-d164a85a9275" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3bbxGsNIlMLqXhXr9WFHwv", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "discount_7", + "_objFlags": 0, + "_parent": { + "__id__": 174 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 179 + } + ], + "_prefab": { + "__id__": 180 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 38, + "height": 44 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -18.381, + 11.059, + 0, + 0, + 0, + -0.224951054343865, + 0.9743700647852352, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -26 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 178 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "6143b77a-3c94-42ca-9026-dca9db58f56b" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "89R5yfC+1KMYUkV1EetIw7", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "discount_7", + "_objFlags": 0, + "_parent": { + "__id__": 174 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 182 + } + ], + "_prefab": { + "__id__": 183 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 38, + "height": 44 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 15.54, + -3.262, + 0, + 0, + 0, + -0.224951054343865, + 0.9743700647852352, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -26 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 181 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "6143b77a-3c94-42ca-9026-dca9db58f56b" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "11CaEHEPZNAb9YclpltqOj", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 174 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3d3ea606-2949-41b9-a98f-86f6f3122b0c" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "88f4116d-72c2-46cc-9f06-d164a85a9275" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "87vVFE7edG1Jch2fn8dtGd", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 173 }, "_enabled": true, "_materials": [ @@ -5778,15 +7015,19 @@ "_parent": { "__id__": 18 }, - "_children": [], + "_children": [ + { + "__id__": 189 + } + ], "_active": true, "_components": [ { - "__id__": 156 + "__id__": 198 } ], "_prefab": { - "__id__": 157 + "__id__": 199 }, "_opacity": 255, "_color": { @@ -5835,12 +7076,346 @@ "groupIndex": 0, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "s_bq", + "_objFlags": 0, + "_parent": { + "__id__": 188 + }, + "_children": [ + { + "__id__": 190 + }, + { + "__id__": 193 + } + ], + "_active": true, + "_components": [ + { + "__id__": 196 + } + ], + "_prefab": { + "__id__": 197 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 206, + "height": 122 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -115.332, + 83.961, + 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": "zhe", + "_objFlags": 0, + "_parent": { + "__id__": 189 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 191 + } + ], + "_prefab": { + "__id__": 192 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 45, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 58.252, + -16.479, + 0, + 0, + 0, + -0.224951054343865, + 0.9743700647852352, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -26 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 155 + "__id__": 190 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "bd09a391-0f09-4dd6-a17e-29e44be01ed3" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "88f4116d-72c2-46cc-9f06-d164a85a9275" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "52PdGmNepLQba3V7uL1jcf", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "discount_7", + "_objFlags": 0, + "_parent": { + "__id__": 189 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 194 + } + ], + "_prefab": { + "__id__": 195 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 44 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -0.923, + 9.751, + 0, + 0, + 0, + -0.224951054343865, + 0.9743700647852352, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -26 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 193 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "7a51cfc8-dc08-482d-91e8-d851ed02b4d0" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c1c3m23eNH0IhUwy6/emvS", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 189 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3d3ea606-2949-41b9-a98f-86f6f3122b0c" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "88f4116d-72c2-46cc-9f06-d164a85a9275" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "89O//cZstL9oI7N8PfLByU", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 188 }, "_enabled": true, "_materials": [ @@ -5887,85 +7462,85 @@ }, "_children": [ { - "__id__": 159 + "__id__": 201 }, { - "__id__": 161 + "__id__": 203 }, { - "__id__": 164 + "__id__": 206 }, { - "__id__": 167 + "__id__": 209 }, { - "__id__": 170 + "__id__": 212 }, { - "__id__": 173 + "__id__": 215 }, { - "__id__": 190 + "__id__": 232 }, { - "__id__": 193 + "__id__": 235 }, { - "__id__": 196 + "__id__": 238 }, { - "__id__": 199 + "__id__": 241 }, { - "__id__": 202 + "__id__": 244 }, { - "__id__": 205 + "__id__": 247 }, { - "__id__": 208 + "__id__": 250 }, { - "__id__": 225 + "__id__": 267 }, { - "__id__": 228 + "__id__": 270 }, { - "__id__": 231 + "__id__": 273 }, { - "__id__": 234 + "__id__": 276 }, { - "__id__": 237 + "__id__": 279 }, { - "__id__": 240 + "__id__": 282 }, { - "__id__": 243 + "__id__": 285 }, { - "__id__": 246 + "__id__": 288 }, { - "__id__": 249 + "__id__": 291 }, { - "__id__": 252 + "__id__": 294 }, { - "__id__": 266 + "__id__": 308 }, { - "__id__": 280 + "__id__": 322 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 297 + "__id__": 339 }, "_opacity": 255, "_color": { @@ -6019,13 +7594,13 @@ "_name": "coin", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 160 + "__id__": 202 }, "_opacity": 255, "_color": { @@ -6090,17 +7665,17 @@ "_name": "cost_5", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 162 + "__id__": 204 } ], "_prefab": { - "__id__": 163 + "__id__": 205 }, "_opacity": 255, "_color": { @@ -6154,7 +7729,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 161 + "__id__": 203 }, "_enabled": true, "_materials": [ @@ -6165,7 +7740,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "c27b90ef-5231-40ff-9c47-380561e1cc77" + "__uuid__": "1ced933d-f1a4-404f-893e-46a0e0a8b47f" }, "_type": 0, "_sizeMode": 1, @@ -6199,17 +7774,17 @@ "_name": "cost_0", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 165 + "__id__": 207 } ], "_prefab": { - "__id__": 166 + "__id__": 208 }, "_opacity": 255, "_color": { @@ -6263,7 +7838,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 164 + "__id__": 206 }, "_enabled": true, "_materials": [ @@ -6274,7 +7849,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" + "__uuid__": "c27b90ef-5231-40ff-9c47-380561e1cc77" }, "_type": 0, "_sizeMode": 1, @@ -6308,17 +7883,17 @@ "_name": "cost_0", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 168 + "__id__": 210 } ], "_prefab": { - "__id__": 169 + "__id__": 211 }, "_opacity": 255, "_color": { @@ -6372,7 +7947,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 167 + "__id__": 209 }, "_enabled": true, "_materials": [ @@ -6417,1587 +7992,7 @@ "_name": "cost_0", "_objFlags": 0, "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 171 - } - ], - "_prefab": { - "__id__": 172 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -144.34, - -2182.017, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.7, - 0.7 - ] - }, - "_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__": 170 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "b9B+ndSYFGLbzmRnSsmRgX", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coin", - "_objFlags": 0, - "_parent": { - "__id__": 158 - }, - "_children": [ - { - "__id__": 174 - }, - { - "__id__": 177 - }, - { - "__id__": 180 - }, - { - "__id__": 183 - }, - { - "__id__": 186 - } - ], - "_active": true, - "_components": [], - "_prefab": { - "__id__": 189 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 300, - "height": 200 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -159.613, - -2652.498, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.7, - 0.7 - ] - }, - "_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": "cost_5", - "_objFlags": 0, - "_parent": { - "__id__": 173 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 175 - } - ], - "_prefab": { - "__id__": 176 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -116.487, - 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__": 174 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "3ae58373-6b26-4cad-9373-d00a87902b60" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "c56C/bVv9NHLtsR2mmdJx6", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "cost_5", - "_objFlags": 0, - "_parent": { - "__id__": 173 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 178 - } - ], - "_prefab": { - "__id__": 179 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -85.4, - 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__": 177 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "1ced933d-f1a4-404f-893e-46a0e0a8b47f" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "a0PFqgVXFNZLLOWLbPIcIr", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "cost_0", - "_objFlags": 0, - "_parent": { - "__id__": 173 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 181 - } - ], - "_prefab": { - "__id__": 182 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -48.5, - 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__": 180 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d1AMagBzJNmJJqeG8Gelv0", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "cost_0", - "_objFlags": 0, - "_parent": { - "__id__": 173 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 184 - } - ], - "_prefab": { - "__id__": 185 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -8.5, - 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__": 183 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "22A4teavFE+Kl/QCWYDqt2", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "cost_0", - "_objFlags": 0, - "_parent": { - "__id__": 173 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 187 - } - ], - "_prefab": { - "__id__": 188 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 31.5, - 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__": 186 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "b0/jQCs+xGboAt0JF1vrmb", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "78xPPvcyBBU4GGwHlZb/v/", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "x", - "_objFlags": 0, - "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 191 - } - ], - "_prefab": { - "__id__": 192 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 22, - "height": 22 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -63.825, - -2654.028, - 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__": 190 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "39d7fe7c-990b-45b0-8693-88548695278b" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "bbhk1ejKZH8YbRjCSZNVRO", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "cost_5", - "_objFlags": 0, - "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 194 - } - ], - "_prefab": { - "__id__": 195 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -34.863, - -2655.607, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.7, - 0.7 - ] - }, - "_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__": 193 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "1ced933d-f1a4-404f-893e-46a0e0a8b47f" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "b0MaAw+nlIiYNxMcYleB6Q", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "x", - "_objFlags": 0, - "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 197 - } - ], - "_prefab": { - "__id__": 198 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 22, - "height": 22 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 53.33, - -2654.028, - 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__": 196 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "39d7fe7c-990b-45b0-8693-88548695278b" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "f8XM1m3bVC6L6W4xC/3CFQ", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "cost_5", - "_objFlags": 0, - "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 200 - } - ], - "_prefab": { - "__id__": 201 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 82.292, - -2655.607, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.7, - 0.7 - ] - }, - "_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__": 199 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "1ced933d-f1a4-404f-893e-46a0e0a8b47f" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "e5UKH6XwRAyb9m6JSHyHba", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "x", - "_objFlags": 0, - "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 203 - } - ], - "_prefab": { - "__id__": 204 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 22, - "height": 22 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 164.093, - -2654.028, - 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__": 202 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "39d7fe7c-990b-45b0-8693-88548695278b" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "f5J7+o/15NEp+TsyMUM1lc", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "cost_5", - "_objFlags": 0, - "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 206 - } - ], - "_prefab": { - "__id__": 207 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 193.055, - -2655.607, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.7, - 0.7 - ] - }, - "_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__": 205 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "1ced933d-f1a4-404f-893e-46a0e0a8b47f" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "27WCWtbz1PoLwXBSCFi9fT", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "coin", - "_objFlags": 0, - "_parent": { - "__id__": 158 - }, - "_children": [ - { - "__id__": 209 - }, - { - "__id__": 212 - }, - { - "__id__": 215 - }, - { - "__id__": 218 - }, - { - "__id__": 221 - } - ], - "_active": true, - "_components": [], - "_prefab": { - "__id__": 224 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 300, - "height": 200 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -156.867, - -3128.161, - 0, - 0, - 0, - 0, - 1, - 0.7, - 0.7, - 0.7 - ] - }, - "_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": "cost_5", - "_objFlags": 0, - "_parent": { - "__id__": 208 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 210 - } - ], - "_prefab": { - "__id__": 211 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 43, - "height": 46 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - -126.431, - 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__": 209 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "0474e049-57c0-451a-ba18-17d624cb4aef" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "84A97yHd5FQq1Vu1oF2po1", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "cost_0", - "_objFlags": 0, - "_parent": { - "__id__": 208 + "__id__": 200 }, "_children": [], "_active": true, @@ -8031,16 +8026,16 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -88.5, - 6.496390726949488e-13, + -144.34, + -2182.017, 0, 0, 0, 0, 1, - 1, - 1, - 1 + 0.7, + 0.7, + 0.7 ] }, "_eulerAngles": { @@ -8090,6 +8085,1586 @@ }, "_id": "" }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b9B+ndSYFGLbzmRnSsmRgX", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "coin", + "_objFlags": 0, + "_parent": { + "__id__": 200 + }, + "_children": [ + { + "__id__": 216 + }, + { + "__id__": 219 + }, + { + "__id__": 222 + }, + { + "__id__": 225 + }, + { + "__id__": 228 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 231 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 300, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -181.113, + -2652.498, + 0, + 0, + 0, + 0, + 1, + 0.7, + 0.7, + 0.7 + ] + }, + "_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": "cost_5", + "_objFlags": 0, + "_parent": { + "__id__": 215 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 217 + } + ], + "_prefab": { + "__id__": 218 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -116.487, + 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__": 216 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3ae58373-6b26-4cad-9373-d00a87902b60" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c56C/bVv9NHLtsR2mmdJx6", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "cost_5", + "_objFlags": 0, + "_parent": { + "__id__": 215 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 220 + } + ], + "_prefab": { + "__id__": 221 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -85.4, + 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__": 219 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c27b90ef-5231-40ff-9c47-380561e1cc77" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a0PFqgVXFNZLLOWLbPIcIr", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "cost_0", + "_objFlags": 0, + "_parent": { + "__id__": 215 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 223 + } + ], + "_prefab": { + "__id__": 224 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -48.5, + 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__": 222 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d1AMagBzJNmJJqeG8Gelv0", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "cost_0", + "_objFlags": 0, + "_parent": { + "__id__": 215 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 226 + } + ], + "_prefab": { + "__id__": 227 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -8.5, + 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__": 225 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "22A4teavFE+Kl/QCWYDqt2", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "cost_0", + "_objFlags": 0, + "_parent": { + "__id__": 215 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 229 + } + ], + "_prefab": { + "__id__": 230 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 31.5, + 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__": 228 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b0/jQCs+xGboAt0JF1vrmb", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "78xPPvcyBBU4GGwHlZb/v/", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "x", + "_objFlags": 0, + "_parent": { + "__id__": 200 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 233 + } + ], + "_prefab": { + "__id__": 234 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 22, + "height": 22 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -63.825, + -2654.028, + 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__": 232 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "39d7fe7c-990b-45b0-8693-88548695278b" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bbhk1ejKZH8YbRjCSZNVRO", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "cost_5", + "_objFlags": 0, + "_parent": { + "__id__": 200 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 236 + } + ], + "_prefab": { + "__id__": 237 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -34.863, + -2655.607, + 0, + 0, + 0, + 0, + 1, + 0.7, + 0.7, + 0.7 + ] + }, + "_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__": 235 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "1ced933d-f1a4-404f-893e-46a0e0a8b47f" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b0MaAw+nlIiYNxMcYleB6Q", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "x", + "_objFlags": 0, + "_parent": { + "__id__": 200 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 239 + } + ], + "_prefab": { + "__id__": 240 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 22, + "height": 22 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 53.33, + -2654.028, + 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__": 238 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "39d7fe7c-990b-45b0-8693-88548695278b" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f8XM1m3bVC6L6W4xC/3CFQ", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "cost_5", + "_objFlags": 0, + "_parent": { + "__id__": 200 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 242 + } + ], + "_prefab": { + "__id__": 243 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 82.292, + -2655.607, + 0, + 0, + 0, + 0, + 1, + 0.7, + 0.7, + 0.7 + ] + }, + "_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__": 241 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "1ced933d-f1a4-404f-893e-46a0e0a8b47f" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e5UKH6XwRAyb9m6JSHyHba", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "x", + "_objFlags": 0, + "_parent": { + "__id__": 200 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 245 + } + ], + "_prefab": { + "__id__": 246 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 22, + "height": 22 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 164.093, + -2654.028, + 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__": 244 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "39d7fe7c-990b-45b0-8693-88548695278b" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f5J7+o/15NEp+TsyMUM1lc", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "cost_5", + "_objFlags": 0, + "_parent": { + "__id__": 200 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 248 + } + ], + "_prefab": { + "__id__": 249 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 193.055, + -2655.607, + 0, + 0, + 0, + 0, + 1, + 0.7, + 0.7, + 0.7 + ] + }, + "_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__": 247 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "1ced933d-f1a4-404f-893e-46a0e0a8b47f" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "27WCWtbz1PoLwXBSCFi9fT", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "coin", + "_objFlags": 0, + "_parent": { + "__id__": 200 + }, + "_children": [ + { + "__id__": 251 + }, + { + "__id__": 254 + }, + { + "__id__": 257 + }, + { + "__id__": 260 + }, + { + "__id__": 263 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 266 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 300, + "height": 200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -178.367, + -3128.161, + 0, + 0, + 0, + 0, + 1, + 0.7, + 0.7, + 0.7 + ] + }, + "_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": "cost_5", + "_objFlags": 0, + "_parent": { + "__id__": 250 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 252 + } + ], + "_prefab": { + "__id__": 253 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -126.431, + 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__": 251 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "0474e049-57c0-451a-ba18-17d624cb4aef" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "84A97yHd5FQq1Vu1oF2po1", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "cost_0", + "_objFlags": 0, + "_parent": { + "__id__": 250 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 255 + } + ], + "_prefab": { + "__id__": 256 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 43, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -88.5, + 6.496390726949488e-13, + 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__": 254 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "478f346f-7aa8-4f88-bb46-877d0e27e9f6" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "569f5a4d-beff-465f-be16-fc3bcf467850" + }, + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -8106,17 +9681,17 @@ "_name": "cost_0", "_objFlags": 0, "_parent": { - "__id__": 208 + "__id__": 250 }, "_children": [], "_active": true, "_components": [ { - "__id__": 216 + "__id__": 258 } ], "_prefab": { - "__id__": 217 + "__id__": 259 }, "_opacity": 255, "_color": { @@ -8170,7 +9745,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 215 + "__id__": 257 }, "_enabled": true, "_materials": [ @@ -8181,7 +9756,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" + "__uuid__": "c27b90ef-5231-40ff-9c47-380561e1cc77" }, "_type": 0, "_sizeMode": 1, @@ -8215,17 +9790,17 @@ "_name": "cost_0", "_objFlags": 0, "_parent": { - "__id__": 208 + "__id__": 250 }, "_children": [], "_active": true, "_components": [ { - "__id__": 219 + "__id__": 261 } ], "_prefab": { - "__id__": 220 + "__id__": 262 }, "_opacity": 255, "_color": { @@ -8279,7 +9854,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 218 + "__id__": 260 }, "_enabled": true, "_materials": [ @@ -8324,17 +9899,17 @@ "_name": "cost_0", "_objFlags": 0, "_parent": { - "__id__": 208 + "__id__": 250 }, "_children": [], "_active": true, "_components": [ { - "__id__": 222 + "__id__": 264 } ], "_prefab": { - "__id__": 223 + "__id__": 265 }, "_opacity": 255, "_color": { @@ -8388,7 +9963,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 221 + "__id__": 263 }, "_enabled": true, "_materials": [ @@ -8444,17 +10019,17 @@ "_name": "x", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 226 + "__id__": 268 } ], "_prefab": { - "__id__": 227 + "__id__": 269 }, "_opacity": 255, "_color": { @@ -8508,7 +10083,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 225 + "__id__": 267 }, "_enabled": true, "_materials": [ @@ -8553,17 +10128,17 @@ "_name": "cost_5", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 229 + "__id__": 271 } ], "_prefab": { - "__id__": 230 + "__id__": 272 }, "_opacity": 255, "_color": { @@ -8617,7 +10192,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 228 + "__id__": 270 }, "_enabled": true, "_materials": [ @@ -8628,7 +10203,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "30b3ef49-bd7e-47a6-84b2-da05678348a6" + "__uuid__": "c27b90ef-5231-40ff-9c47-380561e1cc77" }, "_type": 0, "_sizeMode": 1, @@ -8662,17 +10237,17 @@ "_name": "x", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 232 + "__id__": 274 } ], "_prefab": { - "__id__": 233 + "__id__": 275 }, "_opacity": 255, "_color": { @@ -8726,7 +10301,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 231 + "__id__": 273 }, "_enabled": true, "_materials": [ @@ -8771,17 +10346,17 @@ "_name": "cost_5", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 235 + "__id__": 277 } ], "_prefab": { - "__id__": 236 + "__id__": 278 }, "_opacity": 255, "_color": { @@ -8835,7 +10410,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 234 + "__id__": 276 }, "_enabled": true, "_materials": [ @@ -8846,7 +10421,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "30b3ef49-bd7e-47a6-84b2-da05678348a6" + "__uuid__": "c27b90ef-5231-40ff-9c47-380561e1cc77" }, "_type": 0, "_sizeMode": 1, @@ -8880,17 +10455,17 @@ "_name": "x", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 238 + "__id__": 280 } ], "_prefab": { - "__id__": 239 + "__id__": 281 }, "_opacity": 255, "_color": { @@ -8944,7 +10519,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 237 + "__id__": 279 }, "_enabled": true, "_materials": [ @@ -8989,17 +10564,17 @@ "_name": "cost_5", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 241 + "__id__": 283 } ], "_prefab": { - "__id__": 242 + "__id__": 284 }, "_opacity": 255, "_color": { @@ -9053,7 +10628,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 240 + "__id__": 282 }, "_enabled": true, "_materials": [ @@ -9064,7 +10639,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "30b3ef49-bd7e-47a6-84b2-da05678348a6" + "__uuid__": "c27b90ef-5231-40ff-9c47-380561e1cc77" }, "_type": 0, "_sizeMode": 1, @@ -9098,17 +10673,17 @@ "_name": "30min", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 244 + "__id__": 286 } ], "_prefab": { - "__id__": 245 + "__id__": 287 }, "_opacity": 255, "_color": { @@ -9120,7 +10695,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 162, + "width": 135, "height": 38 }, "_anchorPoint": { @@ -9162,7 +10737,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 243 + "__id__": 285 }, "_enabled": true, "_materials": [ @@ -9173,7 +10748,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "bb238782-ccf7-4b3f-89e7-7ec99a5e39b2" + "__uuid__": "af15d004-82c1-403a-99f8-a2e703a2781d" }, "_type": 0, "_sizeMode": 1, @@ -9207,17 +10782,17 @@ "_name": "30min", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 247 + "__id__": 289 } ], "_prefab": { - "__id__": 248 + "__id__": 290 }, "_opacity": 255, "_color": { @@ -9271,7 +10846,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 246 + "__id__": 288 }, "_enabled": true, "_materials": [ @@ -9282,7 +10857,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "af15d004-82c1-403a-99f8-a2e703a2781d" + "__uuid__": "636ed2f1-50bf-4d66-a5b1-9dd7509fc277" }, "_type": 0, "_sizeMode": 1, @@ -9316,17 +10891,17 @@ "_name": "30min", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [], "_active": true, "_components": [ { - "__id__": 250 + "__id__": 292 } ], "_prefab": { - "__id__": 251 + "__id__": 293 }, "_opacity": 255, "_color": { @@ -9338,7 +10913,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 135, + "width": 133, "height": 38 }, "_anchorPoint": { @@ -9380,7 +10955,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 249 + "__id__": 291 }, "_enabled": true, "_materials": [ @@ -9391,7 +10966,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "636ed2f1-50bf-4d66-a5b1-9dd7509fc277" + "__uuid__": "75fc2652-6239-434e-b00b-bd2406dcf50a" }, "_type": 0, "_sizeMode": 1, @@ -9425,30 +11000,30 @@ "_name": "buy", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [ { - "__id__": 253 + "__id__": 295 }, { - "__id__": 256 + "__id__": 298 }, { - "__id__": 259 + "__id__": 301 } ], "_active": true, "_components": [ { - "__id__": 262 + "__id__": 304 }, { - "__id__": 263 + "__id__": 305 } ], "_prefab": { - "__id__": 265 + "__id__": 307 }, "_opacity": 255, "_color": { @@ -9502,17 +11077,17 @@ "_name": "cost_1", "_objFlags": 0, "_parent": { - "__id__": 252 + "__id__": 294 }, "_children": [], "_active": true, "_components": [ { - "__id__": 254 + "__id__": 296 } ], "_prefab": { - "__id__": 255 + "__id__": 297 }, "_opacity": 255, "_color": { @@ -9566,7 +11141,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 253 + "__id__": 295 }, "_enabled": true, "_materials": [ @@ -9611,17 +11186,17 @@ "_name": "cost_6", "_objFlags": 0, "_parent": { - "__id__": 252 + "__id__": 294 }, "_children": [], "_active": true, "_components": [ { - "__id__": 257 + "__id__": 299 } ], "_prefab": { - "__id__": 258 + "__id__": 300 }, "_opacity": 255, "_color": { @@ -9675,7 +11250,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 256 + "__id__": 298 }, "_enabled": true, "_materials": [ @@ -9686,7 +11261,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "3ad60e42-8744-4068-b7dd-24ef792c21fe" + "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" }, "_type": 0, "_sizeMode": 1, @@ -9720,17 +11295,17 @@ "_name": "cost_10", "_objFlags": 0, "_parent": { - "__id__": 252 + "__id__": 294 }, "_children": [], "_active": true, "_components": [ { - "__id__": 260 + "__id__": 302 } ], "_prefab": { - "__id__": 261 + "__id__": 303 }, "_opacity": 255, "_color": { @@ -9784,7 +11359,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 259 + "__id__": 301 }, "_enabled": true, "_materials": [ @@ -9829,7 +11404,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 252 + "__id__": 294 }, "_enabled": true, "_materials": [ @@ -9863,7 +11438,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 252 + "__id__": 294 }, "_enabled": true, "_normalMaterial": null, @@ -9872,7 +11447,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 264 + "__id__": 306 } ], "_N$interactable": true, @@ -9928,7 +11503,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 252 + "__id__": 294 }, "_id": "" }, @@ -9940,7 +11515,7 @@ "component": "", "_componentId": "48bfeZuYFZE2qmgxbW2IigB", "handler": "buyProduct", - "customEventData": "unlimited_health_bundle_1" + "customEventData": "unlimited_health_bundle_10" }, { "__type__": "cc.PrefabInfo", @@ -9958,30 +11533,30 @@ "_name": "buy", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [ { - "__id__": 267 + "__id__": 309 }, { - "__id__": 270 + "__id__": 312 }, { - "__id__": 273 + "__id__": 315 } ], "_active": true, "_components": [ { - "__id__": 276 + "__id__": 318 }, { - "__id__": 277 + "__id__": 319 } ], "_prefab": { - "__id__": 279 + "__id__": 321 }, "_opacity": 255, "_color": { @@ -10035,17 +11610,17 @@ "_name": "cost_6", "_objFlags": 0, "_parent": { - "__id__": 266 + "__id__": 308 }, "_children": [], "_active": true, "_components": [ { - "__id__": 268 + "__id__": 310 } ], "_prefab": { - "__id__": 269 + "__id__": 311 }, "_opacity": 255, "_color": { @@ -10099,7 +11674,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 267 + "__id__": 309 }, "_enabled": true, "_materials": [ @@ -10110,7 +11685,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "30b3ef49-bd7e-47a6-84b2-da05678348a6" + "__uuid__": "1ced933d-f1a4-404f-893e-46a0e0a8b47f" }, "_type": 0, "_sizeMode": 1, @@ -10144,17 +11719,17 @@ "_name": "cost_6", "_objFlags": 0, "_parent": { - "__id__": 266 + "__id__": 308 }, "_children": [], "_active": true, "_components": [ { - "__id__": 271 + "__id__": 313 } ], "_prefab": { - "__id__": 272 + "__id__": 314 }, "_opacity": 255, "_color": { @@ -10208,7 +11783,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 270 + "__id__": 312 }, "_enabled": true, "_materials": [ @@ -10219,7 +11794,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "30b3ef49-bd7e-47a6-84b2-da05678348a6" + "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" }, "_type": 0, "_sizeMode": 1, @@ -10253,17 +11828,17 @@ "_name": "cost_10", "_objFlags": 0, "_parent": { - "__id__": 266 + "__id__": 308 }, "_children": [], "_active": true, "_components": [ { - "__id__": 274 + "__id__": 316 } ], "_prefab": { - "__id__": 275 + "__id__": 317 }, "_opacity": 255, "_color": { @@ -10317,7 +11892,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 273 + "__id__": 315 }, "_enabled": true, "_materials": [ @@ -10362,7 +11937,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 266 + "__id__": 308 }, "_enabled": true, "_materials": [ @@ -10396,7 +11971,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 266 + "__id__": 308 }, "_enabled": true, "_normalMaterial": null, @@ -10405,7 +11980,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 278 + "__id__": 320 } ], "_N$interactable": true, @@ -10461,7 +12036,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 266 + "__id__": 308 }, "_id": "" }, @@ -10473,7 +12048,7 @@ "component": "", "_componentId": "48bfeZuYFZE2qmgxbW2IigB", "handler": "buyProduct", - "customEventData": "unlimited_health_bundle_2" + "customEventData": "unlimited_health_bundle_20" }, { "__type__": "cc.PrefabInfo", @@ -10491,33 +12066,33 @@ "_name": "buy", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 200 }, "_children": [ { - "__id__": 281 + "__id__": 323 }, { - "__id__": 284 + "__id__": 326 }, { - "__id__": 287 + "__id__": 329 }, { - "__id__": 290 + "__id__": 332 } ], "_active": true, "_components": [ { - "__id__": 293 + "__id__": 335 }, { - "__id__": 294 + "__id__": 336 } ], "_prefab": { - "__id__": 296 + "__id__": 338 }, "_opacity": 255, "_color": { @@ -10571,17 +12146,17 @@ "_name": "cost_6", "_objFlags": 0, "_parent": { - "__id__": 280 + "__id__": 322 }, "_children": [], "_active": true, "_components": [ { - "__id__": 282 + "__id__": 324 } ], "_prefab": { - "__id__": 283 + "__id__": 325 }, "_opacity": 255, "_color": { @@ -10605,7 +12180,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -117.841, + -132.505, 5, 0, 0, @@ -10635,7 +12210,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 281 + "__id__": 323 }, "_enabled": true, "_materials": [ @@ -10646,7 +12221,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" + "__uuid__": "0474e049-57c0-451a-ba18-17d624cb4aef" }, "_type": 0, "_sizeMode": 1, @@ -10680,17 +12255,17 @@ "_name": "cost_10", "_objFlags": 0, "_parent": { - "__id__": 280 + "__id__": 322 }, "_children": [], "_active": true, "_components": [ { - "__id__": 285 + "__id__": 327 } ], "_prefab": { - "__id__": 286 + "__id__": 328 }, "_opacity": 255, "_color": { @@ -10714,7 +12289,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -45.045, + -59.709, 5, 0, 0, @@ -10744,7 +12319,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 284 + "__id__": 326 }, "_enabled": true, "_materials": [ @@ -10789,17 +12364,17 @@ "_name": "cost_1", "_objFlags": 0, "_parent": { - "__id__": 280 + "__id__": 322 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { - "__id__": 288 + "__id__": 330 } ], "_prefab": { - "__id__": 289 + "__id__": 331 }, "_opacity": 255, "_color": { @@ -10853,7 +12428,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 287 + "__id__": 329 }, "_enabled": true, "_materials": [ @@ -10898,17 +12473,17 @@ "_name": "cost_6", "_objFlags": 0, "_parent": { - "__id__": 280 + "__id__": 322 }, "_children": [], "_active": true, "_components": [ { - "__id__": 291 + "__id__": 333 } ], "_prefab": { - "__id__": 292 + "__id__": 334 }, "_opacity": 255, "_color": { @@ -10932,7 +12507,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -83.109, + -97.773, 5.414, 0, 0, @@ -10962,7 +12537,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 290 + "__id__": 332 }, "_enabled": true, "_materials": [ @@ -10973,7 +12548,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "3ad60e42-8744-4068-b7dd-24ef792c21fe" + "__uuid__": "eda6def7-3f41-4e71-b328-27b858a8f167" }, "_type": 0, "_sizeMode": 1, @@ -11007,7 +12582,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 280 + "__id__": 322 }, "_enabled": true, "_materials": [ @@ -11041,7 +12616,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 280 + "__id__": 322 }, "_enabled": true, "_normalMaterial": null, @@ -11050,7 +12625,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 295 + "__id__": 337 } ], "_N$interactable": true, @@ -11106,7 +12681,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 280 + "__id__": 322 }, "_id": "" }, @@ -11118,7 +12693,7 @@ "component": "", "_componentId": "48bfeZuYFZE2qmgxbW2IigB", "handler": "buyProduct", - "customEventData": "unlimited_health_bundle_3" + "customEventData": "unlimited_health_bundle_30" }, { "__type__": "cc.PrefabInfo", @@ -11272,32 +12847,32 @@ }, "_children": [ { - "__id__": 305 + "__id__": 347 }, { - "__id__": 309 + "__id__": 351 }, { - "__id__": 313 + "__id__": 355 }, { - "__id__": 319 + "__id__": 361 }, { - "__id__": 356 + "__id__": 398 }, { - "__id__": 369 + "__id__": 411 } ], "_active": true, "_components": [ { - "__id__": 375 + "__id__": 417 } ], "_prefab": { - "__id__": 376 + "__id__": 418 }, "_opacity": 255, "_color": { @@ -11351,20 +12926,20 @@ "_name": "shop_1", "_objFlags": 0, "_parent": { - "__id__": 304 + "__id__": 346 }, "_children": [], "_active": true, "_components": [ { - "__id__": 306 + "__id__": 348 }, { - "__id__": 307 + "__id__": 349 } ], "_prefab": { - "__id__": 308 + "__id__": 350 }, "_opacity": 255, "_color": { @@ -11418,7 +12993,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 305 + "__id__": 347 }, "_enabled": true, "_materials": [ @@ -11450,7 +13025,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 305 + "__id__": 347 }, "_enabled": true, "alignMode": 1, @@ -11490,20 +13065,20 @@ "_name": "shop_1", "_objFlags": 0, "_parent": { - "__id__": 304 + "__id__": 346 }, "_children": [], "_active": true, "_components": [ { - "__id__": 310 + "__id__": 352 }, { - "__id__": 311 + "__id__": 353 } ], "_prefab": { - "__id__": 312 + "__id__": 354 }, "_opacity": 255, "_color": { @@ -11557,7 +13132,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 309 + "__id__": 351 }, "_enabled": true, "_materials": [ @@ -11589,7 +13164,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 309 + "__id__": 351 }, "_enabled": true, "alignMode": 1, @@ -11629,21 +13204,21 @@ "_name": "tx", "_objFlags": 0, "_parent": { - "__id__": 304 + "__id__": 346 }, "_children": [ { - "__id__": 314 + "__id__": 356 } ], "_active": true, "_components": [ { - "__id__": 317 + "__id__": 359 } ], "_prefab": { - "__id__": 318 + "__id__": 360 }, "_opacity": 255, "_color": { @@ -11697,17 +13272,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 313 + "__id__": 355 }, "_children": [], "_active": true, "_components": [ { - "__id__": 315 + "__id__": 357 } ], "_prefab": { - "__id__": 316 + "__id__": 358 }, "_opacity": 255, "_color": { @@ -11761,7 +13336,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 314 + "__id__": 356 }, "_enabled": true, "_materials": [ @@ -11804,7 +13379,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 313 + "__id__": 355 }, "_enabled": true, "_materials": [ @@ -11849,39 +13424,39 @@ "_name": "Stamina", "_objFlags": 0, "_parent": { - "__id__": 304 + "__id__": 346 }, "_children": [ { - "__id__": 320 + "__id__": 362 }, { - "__id__": 323 + "__id__": 365 }, { - "__id__": 326 + "__id__": 368 }, { - "__id__": 329 + "__id__": 371 }, { - "__id__": 332 + "__id__": 374 }, { - "__id__": 334 + "__id__": 376 }, { - "__id__": 337 + "__id__": 379 } ], "_active": true, "_components": [ { - "__id__": 353 + "__id__": 395 } ], "_prefab": { - "__id__": 355 + "__id__": 397 }, "_opacity": 255, "_color": { @@ -11935,17 +13510,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 319 + "__id__": 361 }, "_children": [], "_active": true, "_components": [ { - "__id__": 321 + "__id__": 363 } ], "_prefab": { - "__id__": 322 + "__id__": 364 }, "_opacity": 255, "_color": { @@ -11999,7 +13574,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 320 + "__id__": 362 }, "_enabled": true, "_materials": [ @@ -12044,17 +13619,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 319 + "__id__": 361 }, "_children": [], "_active": true, "_components": [ { - "__id__": 324 + "__id__": 366 } ], "_prefab": { - "__id__": 325 + "__id__": 367 }, "_opacity": 255, "_color": { @@ -12108,7 +13683,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 323 + "__id__": 365 }, "_enabled": true, "_materials": [ @@ -12153,17 +13728,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 319 + "__id__": 361 }, "_children": [], "_active": false, "_components": [ { - "__id__": 327 + "__id__": 369 } ], "_prefab": { - "__id__": 328 + "__id__": 370 }, "_opacity": 255, "_color": { @@ -12217,7 +13792,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 326 + "__id__": 368 }, "_enabled": true, "_materials": [ @@ -12262,17 +13837,17 @@ "_name": "man", "_objFlags": 0, "_parent": { - "__id__": 319 + "__id__": 361 }, "_children": [], "_active": false, "_components": [ { - "__id__": 330 + "__id__": 372 } ], "_prefab": { - "__id__": 331 + "__id__": 373 }, "_opacity": 255, "_color": { @@ -12326,7 +13901,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 329 + "__id__": 371 }, "_enabled": true, "_materials": [ @@ -12371,13 +13946,13 @@ "_name": "health", "_objFlags": 0, "_parent": { - "__id__": 319 + "__id__": 361 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 333 + "__id__": 375 }, "_opacity": 255, "_color": { @@ -12442,17 +14017,17 @@ "_name": "time", "_objFlags": 0, "_parent": { - "__id__": 319 + "__id__": 361 }, "_children": [], "_active": false, "_components": [ { - "__id__": 335 + "__id__": 377 } ], "_prefab": { - "__id__": 336 + "__id__": 378 }, "_opacity": 255, "_color": { @@ -12506,7 +14081,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 334 + "__id__": 376 }, "_enabled": true, "_materials": [ @@ -12550,23 +14125,23 @@ "_name": "skyLine", "_objFlags": 0, "_parent": { - "__id__": 319 + "__id__": 361 }, "_children": [ { - "__id__": 338 + "__id__": 380 }, { - "__id__": 341 + "__id__": 383 }, { - "__id__": 344 + "__id__": 386 } ], "_active": false, "_components": [], "_prefab": { - "__id__": 352 + "__id__": 394 }, "_opacity": 255, "_color": { @@ -12620,17 +14195,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 379 }, "_children": [], "_active": true, "_components": [ { - "__id__": 339 + "__id__": 381 } ], "_prefab": { - "__id__": 340 + "__id__": 382 }, "_opacity": 255, "_color": { @@ -12684,7 +14259,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 338 + "__id__": 380 }, "_enabled": true, "_materials": [ @@ -12727,17 +14302,17 @@ "_name": "skyTime", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 379 }, "_children": [], "_active": true, "_components": [ { - "__id__": 342 + "__id__": 384 } ], "_prefab": { - "__id__": 343 + "__id__": 385 }, "_opacity": 255, "_color": { @@ -12791,7 +14366,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 341 + "__id__": 383 }, "_enabled": true, "_materials": [ @@ -12835,20 +14410,20 @@ "_name": "up", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 379 }, "_children": [ { - "__id__": 345 + "__id__": 387 }, { - "__id__": 348 + "__id__": 390 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 351 + "__id__": 393 }, "_opacity": 255, "_color": { @@ -12902,17 +14477,17 @@ "_name": "tili", "_objFlags": 0, "_parent": { - "__id__": 344 + "__id__": 386 }, "_children": [], "_active": true, "_components": [ { - "__id__": 346 + "__id__": 388 } ], "_prefab": { - "__id__": 347 + "__id__": 389 }, "_opacity": 255, "_color": { @@ -12966,7 +14541,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 345 + "__id__": 387 }, "_enabled": true, "_materials": [ @@ -13019,17 +14594,17 @@ "_name": "light", "_objFlags": 0, "_parent": { - "__id__": 344 + "__id__": 386 }, "_children": [], "_active": true, "_components": [ { - "__id__": 349 + "__id__": 391 } ], "_prefab": { - "__id__": 350 + "__id__": 392 }, "_opacity": 255, "_color": { @@ -13083,7 +14658,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 348 + "__id__": 390 }, "_enabled": true, "_materials": [ @@ -13158,7 +14733,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 319 + "__id__": 361 }, "_enabled": false, "_normalMaterial": null, @@ -13167,7 +14742,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 354 + "__id__": 396 } ], "_N$interactable": true, @@ -13249,26 +14824,26 @@ "_name": "Coin", "_objFlags": 0, "_parent": { - "__id__": 304 + "__id__": 346 }, "_children": [ { - "__id__": 357 + "__id__": 399 }, { - "__id__": 360 + "__id__": 402 }, { - "__id__": 363 + "__id__": 405 }, { - "__id__": 366 + "__id__": 408 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 368 + "__id__": 410 }, "_opacity": 255, "_color": { @@ -13322,17 +14897,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 356 + "__id__": 398 }, "_children": [], "_active": true, "_components": [ { - "__id__": 358 + "__id__": 400 } ], "_prefab": { - "__id__": 359 + "__id__": 401 }, "_opacity": 255, "_color": { @@ -13386,7 +14961,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 357 + "__id__": 399 }, "_enabled": true, "_materials": [ @@ -13431,17 +15006,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 356 + "__id__": 398 }, "_children": [], "_active": true, "_components": [ { - "__id__": 361 + "__id__": 403 } ], "_prefab": { - "__id__": 362 + "__id__": 404 }, "_opacity": 255, "_color": { @@ -13495,7 +15070,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 360 + "__id__": 402 }, "_enabled": true, "_materials": [ @@ -13540,17 +15115,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 356 + "__id__": 398 }, "_children": [], "_active": false, "_components": [ { - "__id__": 364 + "__id__": 406 } ], "_prefab": { - "__id__": 365 + "__id__": 407 }, "_opacity": 255, "_color": { @@ -13604,7 +15179,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 363 + "__id__": 405 }, "_enabled": true, "_materials": [ @@ -13649,13 +15224,13 @@ "_name": "Coin", "_objFlags": 0, "_parent": { - "__id__": 356 + "__id__": 398 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 367 + "__id__": 409 }, "_opacity": 255, "_color": { @@ -13731,23 +15306,23 @@ "_name": "btn1", "_objFlags": 0, "_parent": { - "__id__": 304 + "__id__": 346 }, "_children": [], "_active": true, "_components": [ { - "__id__": 370 + "__id__": 412 }, { - "__id__": 371 + "__id__": 413 }, { - "__id__": 372 + "__id__": 414 } ], "_prefab": { - "__id__": 374 + "__id__": 416 }, "_opacity": 255, "_color": { @@ -13801,7 +15376,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 369 + "__id__": 411 }, "_enabled": true, "_materials": [ @@ -13835,7 +15410,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 369 + "__id__": 411 }, "_enabled": true, "alignMode": 1, @@ -13864,7 +15439,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 369 + "__id__": 411 }, "_enabled": true, "_normalMaterial": null, @@ -13873,7 +15448,7 @@ "zoomScale": 1.2, "clickEvents": [ { - "__id__": 373 + "__id__": 415 } ], "_N$interactable": true, @@ -13929,7 +15504,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 369 + "__id__": 411 }, "_id": "" }, @@ -13959,7 +15534,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 304 + "__id__": 346 }, "_enabled": true, "alignMode": 1, @@ -14005,11 +15580,11 @@ "_active": false, "_components": [ { - "__id__": 378 + "__id__": 420 } ], "_prefab": { - "__id__": 379 + "__id__": 421 }, "_opacity": 255, "_color": { @@ -14063,7 +15638,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 377 + "__id__": 419 }, "_enabled": true, "_materials": [ @@ -14120,17 +15695,17 @@ }, "_children": [ { - "__id__": 381 + "__id__": 423 } ], "_active": false, "_components": [ { - "__id__": 385 + "__id__": 427 } ], "_prefab": { - "__id__": 387 + "__id__": 429 }, "_opacity": 255, "_color": { @@ -14184,20 +15759,20 @@ "_name": "Background", "_objFlags": 512, "_parent": { - "__id__": 380 + "__id__": 422 }, "_children": [], "_active": true, "_components": [ { - "__id__": 382 + "__id__": 424 }, { - "__id__": 383 + "__id__": 425 } ], "_prefab": { - "__id__": 384 + "__id__": 426 }, "_opacity": 255, "_color": { @@ -14251,7 +15826,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 381 + "__id__": 423 }, "_enabled": true, "_materials": [ @@ -14285,7 +15860,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 381 + "__id__": 423 }, "_enabled": true, "alignMode": 0, @@ -14323,7 +15898,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 380 + "__id__": 422 }, "_enabled": true, "_normalMaterial": null, @@ -14332,7 +15907,7 @@ "zoomScale": 1.2, "clickEvents": [ { - "__id__": 386 + "__id__": 428 } ], "_N$interactable": true, @@ -14400,7 +15975,7 @@ "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" }, "_N$target": { - "__id__": 381 + "__id__": 423 }, "_id": "" }, @@ -14434,23 +16009,23 @@ }, "_children": [ { - "__id__": 389 + "__id__": 431 }, { - "__id__": 393 + "__id__": 435 }, { - "__id__": 396 + "__id__": 438 } ], "_active": false, "_components": [ { - "__id__": 399 + "__id__": 441 } ], "_prefab": { - "__id__": 400 + "__id__": 442 }, "_opacity": 255, "_color": { @@ -14504,20 +16079,20 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 388 + "__id__": 430 }, "_children": [], "_active": true, "_components": [ { - "__id__": 390 + "__id__": 432 }, { - "__id__": 391 + "__id__": 433 } ], "_prefab": { - "__id__": 392 + "__id__": 434 }, "_opacity": 120, "_color": { @@ -14571,7 +16146,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 389 + "__id__": 431 }, "_enabled": true, "_materials": [ @@ -14603,7 +16178,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 389 + "__id__": 431 }, "_enabled": true, "_id": "" @@ -14624,17 +16199,17 @@ "_name": "load", "_objFlags": 0, "_parent": { - "__id__": 388 + "__id__": 430 }, "_children": [], "_active": true, "_components": [ { - "__id__": 394 + "__id__": 436 } ], "_prefab": { - "__id__": 395 + "__id__": 437 }, "_opacity": 255, "_color": { @@ -14688,7 +16263,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 393 + "__id__": 435 }, "_enabled": true, "_materials": [ @@ -14731,17 +16306,17 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 388 + "__id__": 430 }, "_children": [], "_active": true, "_components": [ { - "__id__": 397 + "__id__": 439 } ], "_prefab": { - "__id__": 398 + "__id__": 440 }, "_opacity": 255, "_color": { @@ -14795,7 +16370,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 396 + "__id__": 438 }, "_enabled": true, "_materials": [ @@ -14839,7 +16414,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 388 + "__id__": 430 }, "_enabled": true, "alignMode": 1, @@ -14887,16 +16462,16 @@ "__id__": 18 }, "coin": { - "__id__": 366 + "__id__": 408 }, "Stamina": { - "__id__": 319 + "__id__": 361 }, "monthCardTime": { "__id__": 28 }, "coinAnim": { - "__id__": 377 + "__id__": 419 }, "_id": "" }, diff --git a/assets/shop/script/shop.ts b/assets/shop/script/shop.ts index e028e69..b8c5b8a 100644 --- a/assets/shop/script/shop.ts +++ b/assets/shop/script/shop.ts @@ -1,4 +1,5 @@ import JiaZai from "../../Script/JiaZai"; +import MapConroler from "../../Script/Map"; import Utils from "../../Script/module/Pay/Utils"; import List from "../../Script/module/RankList/List"; import NumberToImage from "../../Script/NumberToImage"; @@ -9,713 +10,714 @@ const { ccclass, property } = cc._decorator; @ccclass export default class NewClass extends cc.Component { - //商店界面 - @property(cc.Node) - shop: cc.Node = null; - //商品列表 - @property(cc.Node) - itemList: cc.Node = null; + //商店界面 + @property(cc.Node) + shop: cc.Node = null; + //商品列表 + @property(cc.Node) + itemList: cc.Node = null; - //金币数量 - @property(cc.Node) - coin: cc.Node = null; - //体力信息 - @property(cc.Node) - Stamina: cc.Node = null; - //月卡信息 - @property(cc.Node) - monthCardTime: cc.Node = null; - btn_Touch: boolean = true; - private onShowListener: () => void; - private scheduleCallback: Function = null; - private currentCoin: number = 0; - private coinAnimTime: number = 0; - private coinAnimDuration: number = 1.5; // 1.5秒 - private coinStart: number = 0; - private coinEnd: number = 0; - private coinAnimating: boolean = false; - //飞金币动画 - @property(cc.Node) - coinAnim: cc.Node = null; - private buy: boolean = false; + //金币数量 + @property(cc.Node) + coin: cc.Node = null; + //体力信息 + @property(cc.Node) + Stamina: cc.Node = null; + //月卡信息 + @property(cc.Node) + monthCardTime: cc.Node = null; + btn_Touch: boolean = true; + private onShowListener: () => void; + private scheduleCallback: Function = null; + private currentCoin: number = 0; + private coinAnimTime: number = 0; + private coinAnimDuration: number = 1.5; // 1.5秒 + private coinStart: number = 0; + private coinEnd: number = 0; + private coinAnimating: boolean = false; + //飞金币动画 + @property(cc.Node) + coinAnim: cc.Node = null; + private buy: boolean = false; - private iosPrice: number = 0; - private iosProductId: string = ""; - private iosCount: number = 1; - scheduleCallback3: any; - scheduleCallback2: Function; - reward: boolean = false; - private monthCard: boolean = false; + private iosPrice: number = 0; + private iosProductId: string = ""; + private iosCount: number = 1; + scheduleCallback3: any; + scheduleCallback2: Function; + reward: boolean = false; + private monthCard: boolean = false; - onLoad() { - this.btn_Touch = true; - this.monthCard = false; - // 检测微信小游戏切到后台 + onLoad() { + this.btn_Touch = true; + this.monthCard = false; + // 检测微信小游戏切到后台 - } - start() { - this.btn_Touch = true; - this.openShop(); - } + } + start() { + this.btn_Touch = true; + this.openShop(); + this.init(); + } - init() { - this.onShowListener = null; - console.log("初始化"); - if (cc.sys.platform === cc.sys.WECHAT_GAME) { - // 定义监听函数 - this.onShowListener = () => { - console.log("回到前台shop"); - this.onShow(); - }; - //@ts-ignore - wx.onShow(this.onShowListener); - } - this.btn_Touch = true; - var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); - // 同步显示 - // if (this.Stamina && this.Stamina.getChildByName("time")) { - // this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp; - // } - this.stopTimeCutDown(); - this.stopPowerTime(); - this.updatePower(); - this.setHealthInfo(true); - this.updateIcon(); - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); - } - //打开商店界面 - openShop() { - Utils.outTradeNo = null; - // 商品数据数组 - const products = [ - { product_id: "gold_1", price: 600, coin: 1200, title: "3x2六档金币" }, - { product_id: "gold_1", price: 600, coin: 1200, title: "3x2六档金币" }, - { product_id: "gold_2", price: 3600, coin: 8000, title: "" }, - { product_id: "gold_3", price: 6800, coin: 16000, title: "" }, - { product_id: "gold_4", price: 12800, coin: 32000, title: "" }, - { product_id: "gold_5", price: 32800, coin: 100000, title: "" }, - { product_id: "gold_6", price: 64800, coin: 240000, title: "" }, - ]; - for (let i = 2; i <= 7 && i < this.itemList.children.length; i++) { - const spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite); - const price = this.itemList.children[i].children[1]; - const title = this.itemList.children[i].children[2]; - const product = products[i - 1]; + init() { + this.onShowListener = null; + if (cc.sys.platform === cc.sys.WECHAT_GAME) { + // 定义监听函数 + this.onShowListener = () => { + console.log("回到前台"); + this.onShow(); + }; + //@ts-ignore + wx.onShow(this.onShowListener); + } + this.btn_Touch = true; + var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); + // 同步显示 + // if (this.Stamina && this.Stamina.getChildByName("time")) { + // this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp; + // } + this.stopTimeCutDown(); + this.stopPowerTime(); + this.updatePower(); + this.setHealthInfo(true); + this.updateIcon(); + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); + } + //打开商店界面 + openShop() { + Utils.outTradeNo = null; + // 商品数据数组 + const products = [ + { product_id: "gold_1", price: 600, coin: 1200, title: "3x2六档金币" }, + { product_id: "gold_1", price: 600, coin: 1200, title: "3x2六档金币" }, + { product_id: "gold_2", price: 3600, coin: 8000, title: "" }, + { product_id: "gold_3", price: 6800, coin: 16000, title: "" }, + { product_id: "gold_4", price: 12800, coin: 32000, title: "" }, + { product_id: "gold_5", price: 32800, coin: 100000, title: "" }, + { product_id: "gold_6", price: 64800, coin: 240000, title: "" }, + ]; + for (let i = 2; i <= 7 && i < this.itemList.children.length; i++) { + const spriteComp = this.itemList.children[i].children[0].getComponent(cc.Sprite); + const price = this.itemList.children[i].children[1]; + const title = this.itemList.children[i].children[2]; + const product = products[i - 1]; - if (spriteComp && product) { - // TODO: 根据 product_id 或 name 设置 spriteComp.spriteFrame - } + if (spriteComp && product) { + // TODO: 根据 product_id 或 name 设置 spriteComp.spriteFrame + } - if (price && product) { - NumberToImage.numberToImageNodes(product.price / 100, 35, 20, "cost_", price, false) - } - if (title && product) { - NumberToImage.numberToImageNodes(product.coin, 40, 25, "scoin_", title, true) - } - } - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); - this.updateIcon(); - } + if (price && product) { + NumberToImage.numberToImageNodes(product.price / 100, 35, 20, "cost_", price, false) + } + if (title && product) { + NumberToImage.numberToImageNodes(product.coin, 40, 25, "scoin_", title, true) + } + } + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); + this.updateIcon(); + } - startCoinAnim(target: number) { - if (this.coinAnimating && this.coinEnd === target) return; - this.coinStart = this.currentCoin; - this.coinEnd = target; - this.coinAnimTime = 0; - this.coinAnimating = true; - } - //优化 - protected update(dt: number): void { - if (this.coin && this.coinAnimating) { - this.coinAnimTime += dt; - let t = this.coinAnimTime / this.coinAnimDuration; - if (t >= 1) { - this.currentCoin = this.coinEnd; - this.coinAnimating = false; - NumberToImage.numberToImageNodes(this.currentCoin, 30, 15, "coin_", this.coin, true); - } else { - this.currentCoin = Math.floor(this.coinStart + (this.coinEnd - this.coinStart) * t); - NumberToImage.numberToImageNodes(this.currentCoin, 30, 15, "coin_", this.coin, true); - } - } - } + startCoinAnim(target: number) { + if (this.coinAnimating && this.coinEnd === target) return; + this.coinStart = this.currentCoin; + this.coinEnd = target; + this.coinAnimTime = 0; + this.coinAnimating = true; + } + //优化 + protected update(dt: number): void { + if (this.coin && this.coinAnimating) { + this.coinAnimTime += dt; + let t = this.coinAnimTime / this.coinAnimDuration; + if (t >= 1) { + this.currentCoin = this.coinEnd; + this.coinAnimating = false; + NumberToImage.numberToImageNodes(this.currentCoin, 30, 15, "coin_", this.coin, true); + } else { + this.currentCoin = Math.floor(this.coinStart + (this.coinEnd - this.coinStart) * t); + NumberToImage.numberToImageNodes(this.currentCoin, 30, 15, "coin_", this.coin, true); + } + } + } - playCoinAnim(target?: number) { - this.coinAnim.active = true; - this.coinAnim.getComponent(sp.Skeleton).setAnimation(0, "feijinbi", false); - // 监听动画完成事件 - this.coinAnim.getComponent(sp.Skeleton).setCompleteListener(() => { - // 动画播放完成后销毁节点 - this.coinAnim.active = false; - }); - this.startCoinAnim(5000); - } - //关闭商店界面 - closeShop(data, currentCoin) { - // 移除 wx.onShow 监听器 - if (cc.sys.platform === cc.sys.WECHAT_GAME && this.onShowListener) { - console.log("!!!!!!!!!!移除onshow"); - console.log(currentCoin); - //@ts-ignore - wx.offShow(this.onShowListener); - } - Utils.outTradeNo = null; - //销毁预制体 - if (this.node.parent.getComponent("JiaZai")) { - this.node.parent.getComponent("JiaZai").closeShop(); - } - else if (this.node.parent.getComponent("SceneManager")) { - this.node.parent.getComponent("SceneManager").closeShop(); - } - // this.shop.destroy(); - if (this.reward) { - this.reward = false; - const winCOIN = cc.find("Canvas"); // 假设 Canvas 节点 - if (winCOIN) { - const wincoin1 = winCOIN.getComponent(JiaZai); - if (wincoin1) { - if (wincoin1) { - wincoin1.rewarded(); - } - } - } - } - } - - onShow() { - console.log("从后台进入前台 shop"); - //如果月卡打开就return - if (this.monthCard) { - return; - } - const systemInfo = wx.getSystemInfoSync(); - if (systemInfo.platform === 'ios') { - if (cc.sys.platform === cc.sys.WECHAT_GAME) { - console.log("从后台进入前台订单号:", cc.fx.GameConfig.GM_INFO.iosOutTradeNo); - this.closeLoad(); - if (cc.fx.GameConfig.GM_INFO.iosOutTradeNo != null && cc.fx.GameConfig.GM_INFO.iosOutTradeNo != "") { - console.log("有苹果订单号,开始轮训"); - const iosOutTradeNo = cc.fx.GameConfig.GM_INFO.iosOutTradeNo; - cc.fx.GameConfig.GM_INFO.iosOutTradeNo = ""; - this.openLoad(); - this.btn_Touch = true; - Utils.getIosPayInfo(iosOutTradeNo, - (data) => { - console.log("获得轮训结果:", data); - const iosID = data.data?.payment_name || this.iosProductId; - let iosAmount = data.data?.goodsPrice || this.iosPrice; - iosAmount = parseInt(iosAmount); - if (data.code == 1) { - console.log("购买成功"); - console.log("商品id:", iosID); - const dataSuccess = { - outTradeNo: iosOutTradeNo, - pay_amount: iosAmount, - payment_name: iosID, - payment_num: this.iosCount, - type: "ios", - } - cc.fx.GameTool.shushu_Track("payment", dataSuccess); - let name = "购买金币道具:" + iosID; - let version = cc.fx.GameTool.getWechatGameVersion(); - // if (version == "正式版") { - console.log("引力付费透传", iosAmount, iosOutTradeNo, name); - MiniGameSdk.API.yinli_Pay(iosAmount, iosOutTradeNo, name) - // } - - Utils.setPayInfo( - (res) => { - this.closeLoad(); - //console.log("设置轮训结果:", res); - if (res.code === 1) { - console.log("_________正式发货", iosID); - MiniGameSdk.API.showToast("充值成功"); - cc.fx.GameTool.shopBuy(iosID, false); - if (iosID == "unlimited_health_bundle_1" || - iosID == "unlimited_health_bundle_2" || - iosID == "unlimited_health_bundle_3" - ) { - this.updatePower(); - } - //console.log("充值成功获得金币"); - } - else { - MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放"); - const dataFail4 = { - outTradeNo: iosOutTradeNo, - pay_amount: iosAmount, - payment_name: iosID, - payment_num: this.iosCount, - type: "ios", - fail_reason: "成功付款,但是发货时请求服务器失败,充值成功未发货", - } - cc.fx.GameTool.shushu_Track("payment_fail", dataFail4); - } - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); - if (this.node.parent.getComponent("JiaZai")) - this.node.parent.getComponent("JiaZai").updateCoin(); - else if (this.node.parent.getComponent("SceneManager")) { - this.node.parent.getComponent("SceneManager").updateCoin(); - } - }, iosOutTradeNo) - } - else if (data.code == 0) { - console.log("用户自己取消充值"); - MiniGameSdk.API.showToast("充值失败"); - this.closeLoad(); - this.btn_Touch = true; - const dataFail = { - outTradeNo: iosOutTradeNo, - pay_amount: iosAmount, - payment_name: iosID, - payment_num: this.iosCount, - type: "ios", - fail_reason: "用户取消充值", - } - cc.fx.GameTool.shushu_Track("payment_fail", dataFail); - } - else if (data.code == 2) { - this.closeLoad(); - console.log("轮训超时"); - MiniGameSdk.API.showToast("订单已关闭"); - const dataFail = { - outTradeNo: iosOutTradeNo, - pay_amount: iosAmount, - payment_name: iosID, - payment_num: this.iosCount, - type: "ios", - fail_reason: "用户充值后,轮训结果超时", - } - cc.fx.GameTool.shushu_Track("payment_fail", dataFail); - } - - this.btn_Touch = true; - cc.fx.GameConfig.GM_INFO.iosOutTradeNo = null; - }) - } - else { - this.closeLoad(); - } - } - } - - - } - - openLoad() { - this.node.getChildByName("Loading").active = true; - this.node.getChildByName("Loading").getChildByName("load").stopAllActions(); - this.node.getChildByName("Loading").getChildByName("load").runAction(cc.rotateTo(2, 1080).repeatForever()); - } - - closeLoad() { - this.node.getChildByName("Loading").active = false; - } - - setHealthInfo(type) { - if (cc.fx.GameConfig.GM_INFO.hp >= cc.fx.GameConfig.GM_INFO.hp_Max) { - this.Stamina.getChildByName("man").active = true; - this.Stamina.getChildByName("health").active = true; - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 25, 15, "hp_", this.Stamina.getChildByName("health"), false); - this.Stamina.getChildByName("time").active = false; - } - else { - this.Stamina.getChildByName("man").active = false; - this.Stamina.getChildByName("health").active = true; - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 25, 15, "hp_", this.Stamina.getChildByName("health"), false); - this.Stamina.getChildByName("time").active = true; - if (cc.fx.GameConfig.GM_INFO.min_Time != 0) { - let time = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); - this.Stamina.getChildByName("time").getComponent(cc.Label).string = time; - let power = cc.fx.GameTool.getUserPowerTime(); - if (!power) this.Stamina.getChildByName("time").opacity = 255; - else this.Stamina.getChildByName("time").opacity = 0; - this.stopTimeCutDown(); - this.startTimeCutDown(); - } - } - } - - startTimeCutDown() { - this.stopTimeCutDown(); - if (this.scheduleCallback3) { - this.unschedule(this.scheduleCallback3); - } - this.scheduleCallback3 = function () { - if (this.pause) return; - if (cc.fx.GameConfig.GM_INFO.min_Time <= 0) { - this.stopTimeCutDown(); - var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); - // 同步显示 - if (this.Stamina && this.Stamina.getChildByName("time")) { - this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp; - } - MiniGameSdk.API.showToast("恢复一点滴点体力"); - cc.fx.GameTool.setUserHealth(1, (data) => { - cc.fx.GameTool.getHealth(null); - this.setHealthInfo(true); - }, true) - } - else { - if (this.node.parent.getComponent("JiaZai")) { - } - else cc.fx.GameConfig.GM_INFO.min_Time -= 1; - var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); - // 同步显示 - if (this.Stamina && this.Stamina.getChildByName("time")) { - let power = cc.fx.GameTool.getUserPowerTime(); - if (!power) this.Stamina.getChildByName("time").opacity = 255; - else this.Stamina.getChildByName("time").opacity = 0; - this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp; - } - } - }.bind(this); - this.schedule(this.scheduleCallback3, 1); - } - - // 停止倒计时 - stopTimeCutDown() { - if (this.scheduleCallback3) { - this.unschedule(this.scheduleCallback3); - this.scheduleCallback3 = null; - } - } - - //点击充值购买 - - buyProduct(event, customData) { - if (!this.btn_Touch) { - return; - } - this.btn_Touch = false; - const productId = customData; - let id = "10011"; - let price = 100; - let count = 1; - id = productId; - console.log("购买商品id:", productId); - switch (productId) { - case "gold_1": - price = 600; - break; - case "gold_2": - price = 3600; - break; - case "gold_3": - price = 6800; - break; - case "gold_4": - price = 12800; - break; - case "gold_5": - price = 32800; - break; - case "gold_6": - price = 64800; - break; - case "unlimited_health_bundle_1": - price = 1800; - break; - case "unlimited_health_bundle_2": - price = 6600; - break; - case "unlimited_health_bundle_3": - price = 10800; - break; - case "month_Card": - price = 3000; - break; - } - //console.log("获得商品id:", id, count, price); - // 判断设备系统 - let systemType = "Android"; - try { - //@ts-ignore - const systemInfo = wx.getSystemInfoSync(); - if (systemInfo.platform === 'ios') { - systemType = "ios"; - } - } catch (e) { - console.error('获取系统信息失败', e); - } - - // Utils.GoKEFu(); - if (systemType == "ios") { - // MiniGameSdk.API.showToast("IOS系统暂不支持支付"); - // this.btn_Touch = true; - this.openLoad(); - this.btn_Touch = true; - let iosPayInfo = { - price: price, - payment_name: productId, - payment_count: 1, - } - this.iosPrice = price; - this.iosProductId = productId; - this.iosCount = 1; - console.log("准备跳客服回话:"); - console.log(this.iosProductId); - Utils.GoKEFu(iosPayInfo, (res) => { - this.closeLoad(); - }); - } - else { - // MiniGameSdk.API.showToast("充值成功"); - // cc.fx.GameTool.shopBuy(productId, false); - // setTimeout(() => { - // if (productId == "unlimited_health_bundle_1" || - // productId == "unlimited_health_bundle_2" || - // productId == "unlimited_health_bundle_3" - // ) { - // console.log("触发————————updatePower"); - // this.updatePower(); - // } - // }, 500); - - this.openLoad(); - this.btn_Touch = true; - //console.log("7.14_____________________", "调用充值接口"); - Utils.buyProp(id, count, price, systemType, productId, (res) => { - //console.log("获得充值结果", res); - if (res == null) { - MiniGameSdk.API.showToast("充值失败"); - this.btn_Touch = true; - const dataFail = { - outTradeNo: Utils.outTradeNo, - pay_amount: price, - payment_name: productId, - payment_num: 1, - type: systemType, - fail_reason: "网络异常,没有拉起支付", - } - cc.fx.GameTool.shushu_Track("payment_fail", dataFail); - this.closeLoad(); - return; - } - else if (res.err) { - MiniGameSdk.API.showToast("充值失败"); - //console.log(res); - this.btn_Touch = true; - let name = "支付拉起失败"; - if (res.errCode == -2) { - name = "用户取消充值"; - } - const dataFail = { - outTradeNo: Utils.outTradeNo, - pay_amount: price, - payment_name: productId, - payment_num: 1, - type: systemType, - fail_reason: name, - } - cc.fx.GameTool.shushu_Track("payment_fail", dataFail); - this.closeLoad(); - return; - } - else { - Utils.getPayInfo((data) => { - // MiniGameSdk.API.showToast("充值成功"); - console.log("7.28_______________充值成功,准备轮训", data); - //console.log("获得轮训结果:", data); - this.closeLoad(); - if (data.data.pay_state == 1) { - this.btn_Touch = true; - MiniGameSdk.API.showToast("取消充值"); - const dataFail2 = { - outTradeNo: Utils.outTradeNo, - pay_amount: price, - payment_name: productId, - payment_num: 1, - type: systemType, - fail_reason: "用户取消支付", - } - cc.fx.GameTool.shushu_Track("payment_fail", dataFail2); - } - else if (data.data.pay_state == 2) { - this.btn_Touch = true; - const dataSuccess = { - outTradeNo: Utils.outTradeNo, - pay_amount: price, - payment_name: productId, - payment_num: 1, - type: systemType, - } - cc.fx.GameTool.shushu_Track("payment", dataSuccess); - let name = "购买金币道具:" + productId; - let version = cc.fx.GameTool.getWechatGameVersion(); - // if (version == "正式版") { - console.log("引力付费透传", price, Utils.outTradeNo, name); - MiniGameSdk.API.yinli_Pay(price, Utils.outTradeNo, name); - // } - console.log("7.14_______________充值成功,轮训成功,准备发货"); - Utils.setPayInfo( - (res) => { - console.log("设置轮训结果:", res); - if (res.code === 1) { - console.log("7.14_________正式发货"); - MiniGameSdk.API.showToast("充值成功"); - cc.fx.GameTool.shopBuy(productId, false); - if (productId == "unlimited_health_bundle_1" || - productId == "unlimited_health_bundle_2" || - productId == "unlimited_health_bundle_3" - ) { - this.updatePower(); - } - //console.log("充值成功获得金币"); - } - else { - MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放"); - const dataFail4 = { - outTradeNo: Utils.outTradeNo, - pay_amount: price, - payment_name: productId, - payment_num: 1, - type: systemType, - fail_reason: "成功付款,但是发货时请求服务器失败,充值成功未发货", - } - cc.fx.GameTool.shushu_Track("payment_fail", dataFail4); - } - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); - if (this.node.parent.getComponent("JiaZai")) - this.node.parent.getComponent("JiaZai").updateCoin(); - else if (this.node.parent.getComponent("SceneManager")) { - this.node.parent.getComponent("SceneManager").updateCoin(); - } - }, Utils.outTradeNo) - } - else { - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); - const dataFail3 = { - outTradeNo: Utils.outTradeNo, - pay_amount: price, - payment_name: productId, - payment_num: 1, - type: systemType, - fail_reason: "拉起支付后,付款时网络异常付款失败", - } - cc.fx.GameTool.shushu_Track("payment_fail", dataFail3); - this.btn_Touch = true; - if (this.node.parent.getComponent("JiaZai")) - this.node.parent.getComponent("JiaZai").updateCoin(); - else if (this.node.parent.getComponent("SceneManager")) { - this.node.parent.getComponent("SceneManager").updateCoin(); - } - } - }) - } - }); - } - - } - - - //无限体力刷新功能 - updatePower() { - console.log("无限体力时间戳:", cc.fx.GameConfig.GM_INFO.userPowerTime) - if (cc.fx.GameConfig.GM_INFO.userPowerTime != 0) { - let nowTime = Math.floor(Date.now() / 1000); - if (cc.fx.GameConfig.GM_INFO.userPowerTime > nowTime) { - this.stopPowerTime(); - this.startPowerTime(); - console.log("还有无限体力时间_____________", (cc.fx.GameConfig.GM_INFO.userPowerTime - nowTime)); - this.Stamina.getChildByName("skyLine").active = true; - this.Stamina.getChildByName("time").opacity = 0; - this.Stamina.getChildByName("man").active = false; - } - else { - this.Stamina.getChildByName("skyLine").active = false; - console.log("无限体力时间已过期"); - this.setHealthInfo(true); - } - } - else { - this.Stamina.getChildByName("skyLine").active = false; - this.setHealthInfo(true); - console.log("没有无限体力时间"); - } - } - - startPowerTime() { - this.stopPowerTime(); - this.scheduleCallback2 = function () { - let nowTime = Math.floor(Date.now() / 1000); - if (cc.fx.GameConfig.GM_INFO.userPowerTime < nowTime) { - this.Stamina.getChildByName("skyLine").active = false; - this.stopPowerTime(); - this.setHealthInfo(true); - return; - } - else { - this.Stamina.getChildByName("skyLine").active = true; - this.Stamina.getChildByName("time").opacity = 0; - this.Stamina.getChildByName("man").active = false; - } - let time = cc.fx.GameConfig.GM_INFO.userPowerTime - nowTime; - if (time <= 0) { - time = 0; - this.Stamina.getChildByName("skyLine").active = false; - this.stopPowerTime(); - this.setHealthInfo(true); - var timeTemp = cc.fx.GameTool.getTimeMargin2(time); - // 同步显示 - if (this.Stamina && this.Stamina.getChildByName("skyLine").getChildByName("skyTime")) { - this.Stamina.getChildByName("skyLine").getChildByName("skyTime").getComponent(cc.Label).string = timeTemp; - } - } - else { - var timeTemp = cc.fx.GameTool.getTimeMargin2(time); - // 同步显示 - if (this.Stamina && this.Stamina.getChildByName("skyLine").getChildByName("skyTime")) { - this.Stamina.getChildByName("skyLine").getChildByName("skyTime").getComponent(cc.Label).string = timeTemp; - } - } - }.bind(this); - this.schedule(this.scheduleCallback2, 1); - } - - stopPowerTime() { - cc.fx.GameTool.getUserPowerTime(); - if (this.scheduleCallback2) { - this.unschedule(this.scheduleCallback2); - this.scheduleCallback2 = null; - } - } - openmonthCard() { - - const winCOIN = cc.find("Canvas"); // 假设 Canvas 节点 - if (winCOIN) { - const wincoin = winCOIN.getComponent(SceneManager); - if (wincoin) { - wincoin.openMonthlyCard(); - console.log("局内") - }; + playCoinAnim(target?: number) { + this.coinAnim.active = true; + this.coinAnim.getComponent(sp.Skeleton).setAnimation(0, "feijinbi", false); + // 监听动画完成事件 + this.coinAnim.getComponent(sp.Skeleton).setCompleteListener(() => { + // 动画播放完成后销毁节点 + this.coinAnim.active = false; + }); + this.startCoinAnim(5000); + } + //关闭商店界面 + closeShop(data, currentCoin) { + // 移除 wx.onShow 监听器 + if (cc.sys.platform === cc.sys.WECHAT_GAME && this.onShowListener) { + console.log("!!!!!!!!!!移除onshow"); + console.log(currentCoin); + //@ts-ignore + wx.offShow(this.onShowListener); + } + Utils.outTradeNo = null; + //销毁预制体 + if (this.node.parent.getComponent("JiaZai")) { + this.node.parent.getComponent("JiaZai").closeShop(); + } + else if (this.node.parent.getComponent("SceneManager")) { + this.node.parent.getComponent("SceneManager").closeShop(); + } + // this.shop.destroy(); + if (this.reward) { + this.reward = false; + const winCOIN = cc.find("Canvas"); // 假设 Canvas 节点 + if (winCOIN) { const wincoin1 = winCOIN.getComponent(JiaZai); if (wincoin1) { - if (wincoin1) { - wincoin1.openMonthlyCard(); - this.reward = true; - console.log("局外") - } + if (wincoin1) { + wincoin1.onGames(); + wincoin1.rewarded(); + } } - } - this.monthCard = true; - this.updateIcon() - } - //更新图标 - updateIcon() { - if (cc.fx.GameConfig.GM_INFO.hp_Max == 7) { - this.monthCardTime.active = true; + } + } + } - } else { - this.monthCardTime.active = false; + onShow() { + console.log("从后台进入前台 onShow"); + //如果月卡打开就return + if (this.monthCard) { + return; + } + const systemInfo = wx.getSystemInfoSync(); + if (systemInfo.platform === 'ios') { + if (cc.sys.platform === cc.sys.WECHAT_GAME) { + console.log("从后台进入前台订单号:", cc.fx.GameConfig.GM_INFO.iosOutTradeNo); + this.closeLoad(); + if (cc.fx.GameConfig.GM_INFO.iosOutTradeNo != null && cc.fx.GameConfig.GM_INFO.iosOutTradeNo != "") { + console.log("有苹果订单号,开始轮训"); + const iosOutTradeNo = cc.fx.GameConfig.GM_INFO.iosOutTradeNo; + cc.fx.GameConfig.GM_INFO.iosOutTradeNo = ""; + this.openLoad(); + this.btn_Touch = true; + Utils.getIosPayInfo(iosOutTradeNo, + (data) => { + console.log("获得轮训结果:", data); + const iosID = data.data?.payment_name || this.iosProductId; + let iosAmount = data.data?.goodsPrice || this.iosPrice; + iosAmount = parseInt(iosAmount); + if (data.code == 1) { + console.log("购买成功"); + console.log("商品id:", iosID); + const dataSuccess = { + outTradeNo: iosOutTradeNo, + pay_amount: iosAmount, + payment_name: iosID, + payment_num: this.iosCount, + type: "ios", + } + cc.fx.GameTool.shushu_Track("payment", dataSuccess); + let name = "购买金币道具:" + iosID; + let version = cc.fx.GameTool.getWechatGameVersion(); + if (version == "正式版") { + MiniGameSdk.API.yinli_Pay(iosAmount, iosOutTradeNo, name) + } - } - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.monthTime, 35, 15, "button_", this.monthCardTime.children[1], true); - } + Utils.setPayInfo( + (res) => { + this.closeLoad(); + //console.log("设置轮训结果:", res); + if (res.code === 1) { + console.log("_________正式发货", iosID); + MiniGameSdk.API.showToast("充值成功"); + cc.fx.GameTool.shopBuy(iosID, false); + if (iosID == "unlimited_health_bundle_10" || + iosID == "unlimited_health_bundle_20" || + iosID == "unlimited_health_bundle_30" + ) { + this.updatePower(); + } + //console.log("充值成功获得金币"); + } + else { + MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放"); + const dataFail4 = { + outTradeNo: iosOutTradeNo, + pay_amount: iosAmount, + payment_name: iosID, + payment_num: this.iosCount, + type: "ios", + fail_reason: "成功付款,但是发货时请求服务器失败,充值成功未发货", + } + cc.fx.GameTool.shushu_Track("payment_fail", dataFail4); + } + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); + if (this.node.parent.getComponent("JiaZai")) + this.node.parent.getComponent("JiaZai").updateCoin(); + else if (this.node.parent.getComponent("SceneManager")) { + this.node.parent.getComponent("SceneManager").updateCoin(); + } + }, iosOutTradeNo) + } + else if (data.code == 0) { + console.log("用户自己取消充值"); + MiniGameSdk.API.showToast("充值失败"); + this.closeLoad(); + this.btn_Touch = true; + const dataFail = { + outTradeNo: iosOutTradeNo, + pay_amount: iosAmount, + payment_name: iosID, + payment_num: this.iosCount, + type: "ios", + fail_reason: "用户取消充值", + } + cc.fx.GameTool.shushu_Track("payment_fail", dataFail); + } + else if (data.code == 2) { + this.closeLoad(); + console.log("轮训超时"); + MiniGameSdk.API.showToast("订单已关闭"); + const dataFail = { + outTradeNo: iosOutTradeNo, + pay_amount: iosAmount, + payment_name: iosID, + payment_num: this.iosCount, + type: "ios", + fail_reason: "用户充值后,轮训结果超时", + } + cc.fx.GameTool.shushu_Track("payment_fail", dataFail); + } - // update (dt) {} + this.btn_Touch = true; + cc.fx.GameConfig.GM_INFO.iosOutTradeNo = null; + }) + } + else { + this.closeLoad(); + } + } + } + + + } + + openLoad() { + this.node.getChildByName("Loading").active = true; + this.node.getChildByName("Loading").getChildByName("load").stopAllActions(); + this.node.getChildByName("Loading").getChildByName("load").runAction(cc.rotateTo(2, 1080).repeatForever()); + } + + closeLoad() { + this.node.getChildByName("Loading").active = false; + } + + setHealthInfo(type) { + if (cc.fx.GameConfig.GM_INFO.hp >= cc.fx.GameConfig.GM_INFO.hp_Max) { + this.Stamina.getChildByName("man").active = true; + this.Stamina.getChildByName("health").active = true; + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 25, 15, "hp_", this.Stamina.getChildByName("health"), false); + this.Stamina.getChildByName("time").active = false; + } + else { + this.Stamina.getChildByName("man").active = false; + this.Stamina.getChildByName("health").active = true; + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 25, 15, "hp_", this.Stamina.getChildByName("health"), false); + this.Stamina.getChildByName("time").active = true; + if (cc.fx.GameConfig.GM_INFO.min_Time != 0) { + let time = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); + this.Stamina.getChildByName("time").getComponent(cc.Label).string = time; + let power = cc.fx.GameTool.getUserPowerTime(); + if (!power) this.Stamina.getChildByName("time").opacity = 255; + else this.Stamina.getChildByName("time").opacity = 0; + this.stopTimeCutDown(); + this.startTimeCutDown(); + } + } + } + + startTimeCutDown() { + this.stopTimeCutDown(); + if (this.scheduleCallback3) { + this.unschedule(this.scheduleCallback3); + } + this.scheduleCallback3 = function () { + if (this.pause) return; + if (cc.fx.GameConfig.GM_INFO.min_Time <= 0) { + this.stopTimeCutDown(); + var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); + // 同步显示 + if (this.Stamina && this.Stamina.getChildByName("time")) { + this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp; + } + MiniGameSdk.API.showToast("恢复一点滴点体力"); + cc.fx.GameTool.setUserHealth(1, (data) => { + cc.fx.GameTool.getHealth(null); + this.setHealthInfo(true); + }, true) + } + else { + if (this.node.parent.getComponent("JiaZai")) { + } + else cc.fx.GameConfig.GM_INFO.min_Time -= 1; + var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time); + // 同步显示 + if (this.Stamina && this.Stamina.getChildByName("time")) { + let power = cc.fx.GameTool.getUserPowerTime(); + if (!power) this.Stamina.getChildByName("time").opacity = 255; + else this.Stamina.getChildByName("time").opacity = 0; + this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp; + } + } + }.bind(this); + this.schedule(this.scheduleCallback3, 1); + } + + // 停止倒计时 + stopTimeCutDown() { + if (this.scheduleCallback3) { + this.unschedule(this.scheduleCallback3); + this.scheduleCallback3 = null; + } + } + + //点击充值购买 + + buyProduct(event, customData) { + if (!this.btn_Touch) { + return; + } + this.btn_Touch = false; + const productId = customData; + let id = "10011"; + let price = 100; + let count = 1; + id = productId; + console.log("购买商品id:", productId); + switch (productId) { + case "gold_1": + price = 600; + break; + case "gold_2": + price = 3600; + break; + case "gold_3": + price = 6800; + break; + case "gold_4": + price = 12800; + break; + case "gold_5": + price = 32800; + break; + case "gold_6": + price = 64800; + break; + case "unlimited_health_bundle_10": + price = 1000; + break; + case "unlimited_health_bundle_20": + price = 2000; + break; + case "unlimited_health_bundle_30": + price = 3000; + break; + case "month_Card": + price = 3000; + break; + } + //console.log("获得商品id:", id, count, price); + // 判断设备系统 + let systemType = "Android"; + try { + //@ts-ignore + const systemInfo = wx.getSystemInfoSync(); + if (systemInfo.platform === 'ios') { + systemType = "ios"; + } + } catch (e) { + console.error('获取系统信息失败', e); + } + + // Utils.GoKEFu(); + if (systemType == "ios") { + // MiniGameSdk.API.showToast("IOS系统暂不支持支付"); + // this.btn_Touch = true; + this.openLoad(); + this.btn_Touch = true; + let iosPayInfo = { + price: price, + payment_name: productId, + payment_count: 1, + } + this.iosPrice = price; + this.iosProductId = productId; + this.iosCount = 1; + console.log("准备跳客服回话:"); + console.log(this.iosProductId); + Utils.GoKEFu(iosPayInfo, (res) => { + this.closeLoad(); + }); + } + else { + // MiniGameSdk.API.showToast("充值成功"); + // cc.fx.GameTool.shopBuy(productId, false); + // setTimeout(() => { + // if (productId == "unlimited_health_bundle_10" || + // productId == "unlimited_health_bundle_20" || + // productId == "unlimited_health_bundle_30" + // ) { + // console.log("触发————————updatePower"); + // this.updatePower(); + // } + // }, 500); + + this.openLoad(); + this.btn_Touch = true; + //console.log("7.14_____________________", "调用充值接口"); + Utils.buyProp(id, count, price, systemType, productId, (res) => { + //console.log("获得充值结果", res); + if (res == null) { + MiniGameSdk.API.showToast("充值失败"); + this.btn_Touch = true; + const dataFail = { + outTradeNo: Utils.outTradeNo, + pay_amount: price, + payment_name: productId, + payment_num: 1, + type: systemType, + fail_reason: "网络异常,没有拉起支付", + } + cc.fx.GameTool.shushu_Track("payment_fail", dataFail); + this.closeLoad(); + return; + } + else if (res.err) { + MiniGameSdk.API.showToast("充值失败"); + //console.log(res); + this.btn_Touch = true; + let name = "支付拉起失败"; + if (res.errCode == -2) { + name = "用户取消充值"; + } + const dataFail = { + outTradeNo: Utils.outTradeNo, + pay_amount: price, + payment_name: productId, + payment_num: 1, + type: systemType, + fail_reason: name, + } + cc.fx.GameTool.shushu_Track("payment_fail", dataFail); + this.closeLoad(); + return; + } + else { + Utils.getPayInfo((data) => { + // MiniGameSdk.API.showToast("充值成功"); + console.log("7.28_______________充值成功,准备轮训", data); + //console.log("获得轮训结果:", data); + this.closeLoad(); + if (data.data.pay_state == 1) { + this.btn_Touch = true; + MiniGameSdk.API.showToast("取消充值"); + const dataFail2 = { + outTradeNo: Utils.outTradeNo, + pay_amount: price, + payment_name: productId, + payment_num: 1, + type: systemType, + fail_reason: "用户取消支付", + } + cc.fx.GameTool.shushu_Track("payment_fail", dataFail2); + } + else if (data.data.pay_state == 2) { + this.btn_Touch = true; + const dataSuccess = { + outTradeNo: Utils.outTradeNo, + pay_amount: price, + payment_name: productId, + payment_num: 1, + type: systemType, + } + cc.fx.GameTool.shushu_Track("payment", dataSuccess); + let name = "购买金币道具:" + productId; + let version = cc.fx.GameTool.getWechatGameVersion(); + if (version == "正式版") { + MiniGameSdk.API.yinli_Pay(price, Utils.outTradeNo, name); + } + + console.log("7.14_______________充值成功,轮训成功,准备发货"); + Utils.setPayInfo( + (res) => { + console.log("设置轮训结果:", res); + if (res.code === 1) { + console.log("7.14_________正式发货"); + MiniGameSdk.API.showToast("充值成功"); + cc.fx.GameTool.shopBuy(productId, false); + if (productId == "unlimited_health_bundle_10" || + productId == "unlimited_health_bundle_20" || + productId == "unlimited_health_bundle_30" + ) { + this.updatePower(); + } + //console.log("充值成功获得金币"); + } + else { + MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放"); + const dataFail4 = { + outTradeNo: Utils.outTradeNo, + pay_amount: price, + payment_name: productId, + payment_num: 1, + type: systemType, + fail_reason: "成功付款,但是发货时请求服务器失败,充值成功未发货", + } + cc.fx.GameTool.shushu_Track("payment_fail", dataFail4); + } + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); + if (this.node.parent.getComponent("JiaZai")) + this.node.parent.getComponent("JiaZai").updateCoin(); + else if (this.node.parent.getComponent("SceneManager")) { + this.node.parent.getComponent("SceneManager").updateCoin(); + } + }, Utils.outTradeNo) + } + else { + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true); + const dataFail3 = { + outTradeNo: Utils.outTradeNo, + pay_amount: price, + payment_name: productId, + payment_num: 1, + type: systemType, + fail_reason: "拉起支付后,付款时网络异常付款失败", + } + cc.fx.GameTool.shushu_Track("payment_fail", dataFail3); + this.btn_Touch = true; + if (this.node.parent.getComponent("JiaZai")) + this.node.parent.getComponent("JiaZai").updateCoin(); + else if (this.node.parent.getComponent("SceneManager")) { + this.node.parent.getComponent("SceneManager").updateCoin(); + } + } + }) + } + }); + } + + } + + + //无限体力刷新功能 + updatePower() { + console.log("无限体力时间戳:", cc.fx.GameConfig.GM_INFO.userPowerTime) + MapConroler._instance.setPropNum(); + if (cc.fx.GameConfig.GM_INFO.userPowerTime != 0) { + let nowTime = Math.floor(Date.now() / 1000); + if (cc.fx.GameConfig.GM_INFO.userPowerTime > nowTime) { + this.stopPowerTime(); + this.startPowerTime(); + console.log("还有无限体力时间_____________", (cc.fx.GameConfig.GM_INFO.userPowerTime - nowTime)); + this.Stamina.getChildByName("skyLine").active = true; + this.Stamina.getChildByName("time").opacity = 0; + this.Stamina.getChildByName("man").active = false; + } + else { + this.Stamina.getChildByName("skyLine").active = false; + console.log("无限体力时间已过期"); + this.setHealthInfo(true); + } + } + else { + this.Stamina.getChildByName("skyLine").active = false; + this.setHealthInfo(true); + console.log("没有无限体力时间"); + } + } + + startPowerTime() { + this.stopPowerTime(); + this.scheduleCallback2 = function () { + let nowTime = Math.floor(Date.now() / 1000); + if (cc.fx.GameConfig.GM_INFO.userPowerTime < nowTime) { + this.Stamina.getChildByName("skyLine").active = false; + this.stopPowerTime(); + this.setHealthInfo(true); + return; + } + else { + this.Stamina.getChildByName("skyLine").active = true; + this.Stamina.getChildByName("time").opacity = 0; + this.Stamina.getChildByName("man").active = false; + } + let time = cc.fx.GameConfig.GM_INFO.userPowerTime - nowTime; + if (time <= 0) { + time = 0; + this.Stamina.getChildByName("skyLine").active = false; + this.stopPowerTime(); + this.setHealthInfo(true); + var timeTemp = cc.fx.GameTool.getTimeMargin2(time); + // 同步显示 + if (this.Stamina && this.Stamina.getChildByName("skyLine").getChildByName("skyTime")) { + this.Stamina.getChildByName("skyLine").getChildByName("skyTime").getComponent(cc.Label).string = timeTemp; + } + } + else { + var timeTemp = cc.fx.GameTool.getTimeMargin2(time); + // 同步显示 + if (this.Stamina && this.Stamina.getChildByName("skyLine").getChildByName("skyTime")) { + this.Stamina.getChildByName("skyLine").getChildByName("skyTime").getComponent(cc.Label).string = timeTemp; + } + } + }.bind(this); + this.schedule(this.scheduleCallback2, 1); + } + + stopPowerTime() { + cc.fx.GameTool.getUserPowerTime(); + if (this.scheduleCallback2) { + this.unschedule(this.scheduleCallback2); + this.scheduleCallback2 = null; + } + } + openmonthCard() { + + const winCOIN = cc.find("Canvas"); // 假设 Canvas 节点 + if (winCOIN) { + const wincoin = winCOIN.getComponent(SceneManager); + if (wincoin) { + wincoin.openMonthlyCard(); + console.log("局内") + }; + const wincoin1 = winCOIN.getComponent(JiaZai); + if (wincoin1) { + if (wincoin1) { + wincoin1.openMonthlyCard(); + this.reward = true; + console.log("局外") + } + } + } + this.monthCard = true; + this.updateIcon() + } + //更新图标 + updateIcon() { + if (cc.fx.GameConfig.GM_INFO.hp_Max == 7) { + this.monthCardTime.active = true; + + } else { + this.monthCardTime.active = false; + + } + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.monthTime, 35, 15, "button_", this.monthCardTime.children[1], true); + } + + // update (dt) {} }