diff --git a/assets/Scene/HomeScene.fire b/assets/Scene/HomeScene.fire index 8984d50..0fa8ea7 100644 --- a/assets/Scene/HomeScene.fire +++ b/assets/Scene/HomeScene.fire @@ -20,7 +20,7 @@ "__id__": 4 }, { - "__id__": 339 + "__id__": 370 } ], "_active": false, @@ -199,19 +199,22 @@ "__id__": 322 }, { - "__id__": 327 + "__id__": 353 + }, + { + "__id__": 358 } ], "_active": true, "_components": [ { - "__id__": 336 + "__id__": 367 }, { - "__id__": 337 + "__id__": 368 }, { - "__id__": 338 + "__id__": 369 } ], "_prefab": null, @@ -14905,7 +14908,7 @@ }, { "__type__": "cc.Node", - "_name": "zhuanchang", + "_name": "onMCReward", "_objFlags": 0, "_parent": { "__id__": 4 @@ -14913,12 +14916,1139 @@ "_children": [ { "__id__": 323 + }, + { + "__id__": 328 + }, + { + "__id__": 331 + }, + { + "__id__": 334 + }, + { + "__id__": 337 + }, + { + "__id__": 347 + } + ], + "_active": false, + "_components": [], + "_prefab": { + "__id__": 352 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 1920 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "18FLmZL7VL1r1/Lb/3JSLD" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite(Splash)", + "_objFlags": 0, + "_parent": { + "__id__": 322 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 324 + }, + { + "__id__": 325 + }, + { + "__id__": 326 + } + ], + "_prefab": { + "__id__": 327 + }, + "_opacity": 150, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 2340 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 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": "94sroCs0pL+orHLUaHcUvV" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 323 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "27CtyhENhH64ZHYWe4hXoY" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 323 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": -210, + "_bottom": -210, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 1080, + "_originalHeight": 2340, + "_id": "c4jhrHVRZOgKYR7RllagEt" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 323 + }, + "_enabled": true, + "_id": "8a0PgqSs9AHZQJoMMHUUAB" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "7eXokSdchHgrBaWe10DRsX", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "lqbg", + "_objFlags": 0, + "_parent": { + "__id__": 322 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 329 + } + ], + "_prefab": { + "__id__": 330 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 914, + "height": 1347 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -14.747, + 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": "723G1svVdMw4zyxg9F8UFY" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 328 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "954feb1c-d5fc-4c47-8577-6285e17154d4" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "164j83nuNHKr/q8/H24AAb" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "42LmNoxGhO67Td+h94X++n", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "guang", + "_objFlags": 0, + "_parent": { + "__id__": 322 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 332 + } + ], + "_prefab": { + "__id__": 333 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 650, + "height": 638 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 96.811, + 0, + 0, + 0, + 0, + 1, + 2, + 2, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "5eIqkekE5NOKgcHk6SfQ1U" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 331 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "2e2278c3-1dc7-4672-8200-bfc317f4ad75" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "24ZOOiPh9Dc4EYOYqpUdib" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "d3+HUycU5AdbsxCnjjG1Gl", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "coins4", + "_objFlags": 0, + "_parent": { + "__id__": 322 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 335 + } + ], + "_prefab": { + "__id__": 336 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 171, + "height": 191 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -22.21, + 140.391, + 0, + 0, + 0, + 0, + 1, + 1.8, + 1.8, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "a4SpICd3hOnL2NQTlszkaO" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 334 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c2bd513a-a1ab-44fa-9d02-6ce2b94cfd7a" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8" + }, + "_id": "6f+fVPYwpOD6QjLqb+G7Jh" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "d3wiWd90lML4oTnrxJffhK", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "DaysLeft", + "_objFlags": 0, + "_parent": { + "__id__": 322 + }, + "_children": [ + { + "__id__": 338 + }, + { + "__id__": 341 + }, + { + "__id__": 343 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 346 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -20.005, + 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": "6ch4PjtshEzpeMyDKSG8Ym" + }, + { + "__type__": "cc.Node", + "_name": "haisheng", + "_objFlags": 0, + "_parent": { + "__id__": 337 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 339 + } + ], + "_prefab": { + "__id__": 340 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 89, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -89.519, + -383.409, + 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": "6bAUvBS6tBjoOFQylPJQK5" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 338 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c4e289ba-3afd-4838-bf0c-571cadce8db2" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "c60beb21-ffe5-48e6-bc66-f4ba20a401cc" + }, + "_id": "e1aALq05dMl5gd5UQF/y8J" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "02OyPjluNLTLKOCDIXmXmB", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "time", + "_objFlags": 0, + "_parent": { + "__id__": 337 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 342 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 35.857, + -380.699, + 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": "6bDlQAs1FJ4ID4hNFAplWM" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "22JDmdIklHyKs5k8rBZ9RX", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "lqtian", + "_objFlags": 0, + "_parent": { + "__id__": 337 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 344 + } + ], + "_prefab": { + "__id__": 345 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 97.657, + -386.642, + 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": "b52Eo+eLVNhpJhsPnqINGG" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 343 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "2b6c09cd-62b2-4b90-8f3f-498e1a7b4c3f" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "c60beb21-ffe5-48e6-bc66-f4ba20a401cc" + }, + "_id": "e9oE+R0LtGFY+Je4h1x/Vl" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "7eIEnRCypLt66rLHNKf/3I", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "c3jBryxn1Lv5BArWkkUxzp", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "lq", + "_objFlags": 0, + "_parent": { + "__id__": 322 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 348 + }, + { + "__id__": 349 + } + ], + "_prefab": { + "__id__": 351 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 635, + "height": 173 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -545.282, + 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": "e6TWHc195C4oy7ZOgwyfMu" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 347 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "8419f8d6-48b4-4ecd-8228-34d620ae0da9" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "c60beb21-ffe5-48e6-bc66-f4ba20a401cc" + }, + "_id": "1bi/Gf665Iob5UNarwKGGt" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 347 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 350 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 0, + "transition": 0, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": null, + "_id": "15Zec3LtJGV7VLv65CgzqP" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 4 + }, + "component": "", + "_componentId": "1dc93b4fehOrpGgTkihBH4g", + "handler": "onCardReward", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "c61FLmjDpNXb2SOtzqo/Gl", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 322 + }, + "asset": { + "__uuid__": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f" + }, + "fileId": "", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "zhuanchang", + "_objFlags": 0, + "_parent": { + "__id__": 4 + }, + "_children": [ + { + "__id__": 354 } ], "_active": false, "_components": [ { - "__id__": 326 + "__id__": 357 } ], "_prefab": null, @@ -14974,16 +16104,16 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 322 + "__id__": 353 }, "_children": [], "_active": true, "_components": [ { - "__id__": 324 + "__id__": 355 }, { - "__id__": 325 + "__id__": 356 } ], "_prefab": null, @@ -15039,7 +16169,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 323 + "__id__": 354 }, "_enabled": true, "_materials": [ @@ -15071,7 +16201,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 323 + "__id__": 354 }, "_enabled": true, "_id": "59BOMZmhdPJajqBGyoUDBU" @@ -15081,7 +16211,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 322 + "__id__": 353 }, "_enabled": true, "_materials": [ @@ -15127,19 +16257,19 @@ }, "_children": [ { - "__id__": 328 + "__id__": 359 }, { - "__id__": 331 + "__id__": 362 }, { - "__id__": 333 + "__id__": 364 } ], "_active": false, "_components": [ { - "__id__": 335 + "__id__": 366 } ], "_prefab": null, @@ -15195,16 +16325,16 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 327 + "__id__": 358 }, "_children": [], "_active": true, "_components": [ { - "__id__": 329 + "__id__": 360 }, { - "__id__": 330 + "__id__": 361 } ], "_prefab": null, @@ -15260,7 +16390,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 328 + "__id__": 359 }, "_enabled": true, "_materials": [ @@ -15292,7 +16422,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 328 + "__id__": 359 }, "_enabled": true, "_id": "f7VWpZp11LWprv6A8lnYhR" @@ -15302,13 +16432,13 @@ "_name": "load", "_objFlags": 0, "_parent": { - "__id__": 327 + "__id__": 358 }, "_children": [], "_active": true, "_components": [ { - "__id__": 332 + "__id__": 363 } ], "_prefab": null, @@ -15364,7 +16494,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 331 + "__id__": 362 }, "_enabled": true, "_materials": [ @@ -15396,13 +16526,13 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 327 + "__id__": 358 }, "_children": [], "_active": true, "_components": [ { - "__id__": 334 + "__id__": 365 } ], "_prefab": null, @@ -15458,7 +16588,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 333 + "__id__": 364 }, "_enabled": true, "_materials": [ @@ -15491,7 +16621,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 327 + "__id__": 358 }, "_enabled": true, "alignMode": 1, @@ -15601,10 +16731,12 @@ "setUi": { "__id__": 96 }, - "monthCardBtn": null, - "monthCardBtn2": null, - "monthCardTime": null, - "monthCard": null, + "monthCardReward": { + "__id__": 322 + }, + "cardTime": { + "__id__": 341 + }, "_id": "0dna+7W/NMp6RyIrSQLx5u" }, { @@ -15618,13 +16750,13 @@ "_active": true, "_components": [ { - "__id__": 340 + "__id__": 371 }, { - "__id__": 341 + "__id__": 372 }, { - "__id__": 342 + "__id__": 373 } ], "_prefab": null, @@ -15680,7 +16812,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 339 + "__id__": 370 }, "_enabled": true, "_materials": [ @@ -15713,7 +16845,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 339 + "__id__": 370 }, "_enabled": true, "alignMode": 1, @@ -15740,11 +16872,11 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 339 + "__id__": 370 }, "_enabled": true, "uid_Number": { - "__id__": 340 + "__id__": 371 }, "_id": "67zCbKKV9PvYlB9x+eob0L" } diff --git a/assets/Script/GameManager.ts b/assets/Script/GameManager.ts index 0283911..7314697 100644 --- a/assets/Script/GameManager.ts +++ b/assets/Script/GameManager.ts @@ -836,12 +836,7 @@ export default class GameManager extends cc.Component { } //复活购买次数初始化 setRevive(data) { - - if (data.data.rebornGiftCount == undefined) { - cc.fx.GameConfig.GM_INFO.revive = 0; - } else { cc.fx.GameConfig.GM_INFO.revive = data.data.rebornGiftCount; - } console.log(data.data.rebornGiftCount, cc.fx.GameConfig.GM_INFO.revive, "🔥🔥🔥🔥🔥🔥🔥🔥") } diff --git a/assets/Script/JiaZai.ts b/assets/Script/JiaZai.ts index ae52c0f..160ec3a 100644 --- a/assets/Script/JiaZai.ts +++ b/assets/Script/JiaZai.ts @@ -64,14 +64,20 @@ export default class JiaZai extends cc.Component { setUi: cc.Node = null; scheduleCallback2: any; //月卡 + // @property(cc.Node) + // monthCardBtn: cc.Node = null; + // @property(cc.Node) + // monthCardBtn2: cc.Node = null; + // @property(cc.Node) + // monthCardTime: cc.Node = null; + // @property(cc.Node) + // monthCard: cc.Node = null; + @property(cc.Node) - monthCardBtn: cc.Node = null; + monthCardReward: cc.Node = null; + //剩余天数 @property(cc.Node) - monthCardBtn2: cc.Node = null; - @property(cc.Node) - monthCardTime: cc.Node = null; - @property(cc.Node) - monthCard: cc.Node = null; + cardTime: cc.Node = null; // LIFE-CYCLE CALLBACKS: onLoad() { @@ -187,8 +193,9 @@ export default class JiaZai extends cc.Component { // //打开heath弹窗 // this.openHeath(); this.uploadToCloud(cc.fx.GameConfig.GM_INFO.level + 1); - // this.rewarded(); - // this.getMonthlyCardValidityDays(); + + this.getMonthlyCardValidityDays(); + this.rewarded(); Utils.getMonthlyCard((data) => { if (data.code == 1) { cc.fx.GameConfig.GM_INFO.hp_Max = 7; @@ -750,63 +757,53 @@ export default class JiaZai extends cc.Component { openMonthCard() { this.openMonthlyCard(); this.monthlyCardNode.getComponent("monthlyCard").home = 1; - // this.monthCard.active = true; - // Utils.getMonthlyCard((data) => { - // if (data.msg == "不在有效期") { - // this.monthCardBtn.active = true; - // this.monthCardBtn2.active = false; - // } else { - // this.monthCardBtn.active = false; - // this.monthCardBtn2.active = true; - // NumberToImage.numberToImageNodes(25, 35, 20, "month_", this.monthCardTime, true); - // } - // }) + } //关闭界面 - closeMonthCard() { - Utils.getMonthlyCard((data) => { - if (data.msg == "不在有效期") { - this.monthCardBtn.active = true; - this.monthCardBtn2.active = false; - } else { - this.monthCardBtn.active = false; - this.monthCardBtn2.active = true; - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.monthTime, 35, 20, "month_", this.monthCardTime, true); - } - }) - this.monthCard.active = false; - this.rewarded(); + // closeMonthCard() { + // Utils.getMonthlyCard((data) => { + // if (data.msg == "不在有效期") { + // this.monthCardBtn.active = true; + // this.monthCardBtn2.active = false; + // } else { + // this.monthCardBtn.active = false; + // this.monthCardBtn2.active = true; + // NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.monthTime, 35, 20, "month_", this.monthCardTime, true); + // } + // }) + // this.monthCard.active = false; + // this.rewarded(); - } - //购买月卡 - buyMonthCard() { - Utils.setMonthlyCard(0, (data) => { - console.log("购买月卡'✅ ", data.code); - if (data.code == 1) { - let rewardData = [ - { type: "coin", count: 6000 }, - ] - cc.fx.GameConfig.GM_INFO.hp_Max = 7; - cc.fx.GameConfig.GM_INFO.hp = 7; - cc.fx.GameTool.changeCoin(6000); - setTimeout(() => { - this.updateCoin(); - this.setHealthInfo(false); - this.startTimeCutDown(); - this.openRewardWindow(rewardData, 1); - }, 300); - cc.fx.GameTool.setUserHealth(0, (data) => { - cc.fx.GameTool.getHealth(null); - }) - this.monthCardBtn.active = false; - this.monthCardBtn2.active = true; - NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.monthTime, 35, 20, "month_", this.monthCardTime, true); + // } + // //购买月卡 + // buyMonthCard() { + // Utils.setMonthlyCard(0, (data) => { + // console.log("购买月卡'✅ ", data.code); + // if (data.code == 1) { + // let rewardData = [ + // { type: "coin", count: 6000 }, + // ] + // cc.fx.GameConfig.GM_INFO.hp_Max = 7; + // cc.fx.GameConfig.GM_INFO.hp = 7; + // cc.fx.GameTool.changeCoin(6000); + // setTimeout(() => { + // this.updateCoin(); + // this.setHealthInfo(false); + // this.startTimeCutDown(); + // this.openRewardWindow(rewardData, 1); + // }, 300); + // cc.fx.GameTool.setUserHealth(0, (data) => { + // cc.fx.GameTool.getHealth(null); + // }) + // this.monthCardBtn.active = false; + // this.monthCardBtn2.active = true; + // NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.monthTime, 35, 20, "month_", this.monthCardTime, true); - } - }) - } + // } + // }) + // } - rewarded() { + rewarded() { Utils.monthGetReward((data) => { if (data.data == null) { console.log("到期"); @@ -824,33 +821,17 @@ export default class JiaZai extends cc.Component { this.startTimeCutDown(); }, 300); - } if (data.data != null && data.code == 0) { console.log("未到期已领取"); } if (data.code == 1) { - cc.fx.GameTool.changeCoin(500); - this.updateCoin(); - - let rewardData = [ - { type: "coin", count: 500 }, - ] - setTimeout(() => { - this.openRewardWindow(rewardData); - }, 500); - const dataTemp = { - change_reason: "month", - id: "1001", - num: 500, - compensate: false - } - cc.fx.GameTool.shushu_Track("resource_get", dataTemp); - - + this.monthCardReward.active = true; + NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.monthTime, 40, 20, "month_", this.cardTime, true); } }) } + //缓存弹窗 monthH() { // return; @@ -900,7 +881,8 @@ export default class JiaZai extends cc.Component { const remainingDays = Math.max(0, days); cc.fx.GameConfig.GM_INFO.monthTime = remainingDays; - console.log('月卡剩余天数 (零点刷新):', remainingDays); + console.log('%c月卡剩余天数 (零点刷新): ' + remainingDays, + 'color: green; font-weight: bold;'); } else { } }); @@ -954,5 +936,19 @@ export default class JiaZai extends cc.Component { } } + onCardReward() { + cc.fx.GameTool.changeCoin(500); + this.updateCoin(); + const dataTemp = { + change_reason: "month", + id: "1001", + num: 500, + compensate: false + } + cc.fx.GameTool.shushu_Track("resource_get", dataTemp); + this.monthCardReward.active = false; + } + + // update (dt) {} } diff --git a/assets/Script/Revive.ts b/assets/Script/Revive.ts index 4871791..9d6e1c1 100644 --- a/assets/Script/Revive.ts +++ b/assets/Script/Revive.ts @@ -17,6 +17,7 @@ const { ccclass, property } = cc._decorator; @ccclass export default class Revive extends cc.Component { + @property(cc.Node) btn_Touch: boolean = false; @@ -72,6 +73,7 @@ export default class Revive extends cc.Component { console.log("_________正式发货"); MiniGameSdk.API.showToast("充值成功"); cc.fx.GameTool.shopBuy(this.iosProductId, false); + this.revivew() if (this.iosProductId == "reborn_Gift") { this.buyGift(); } @@ -150,7 +152,14 @@ export default class Revive extends cc.Component { Utils.rebornGift(1, (data) => { console.log("购买'✅ ", data.code); if (data.code == 1) { - MapConroler._instance.setPropNum(); + + } + }) + // update (dt) {} + } + //发奖励 + revivew() { + MapConroler._instance.setPropNum(); const jiazaiNode = cc.find("Canvas"); // 假设 JiaZai 挂在 Canvas 节点 const jiazaiComp = jiazaiNode.getComponent(JiaZai); if (jiazaiComp) { @@ -172,11 +181,7 @@ export default class Revive extends cc.Component { this.node.active = false; }, 200); MapConroler._instance.runRewiveCopy(); - } - }) - // update (dt) {} } - buyProduct(customData) { // cc.fx.GameTool.shopBuy("revive", false); // MapConroler._instance.setPropNum(); @@ -316,6 +321,7 @@ export default class Revive extends cc.Component { console.log("7.14_________正式发货"); MiniGameSdk.API.showToast("充值成功"); cc.fx.GameTool.shopBuy(productId, false); + this.revivew(); if (productId == "reborn_Gift") { this.buyGift(); } diff --git a/assets/Script/monthlyCard.ts b/assets/Script/monthlyCard.ts index ee3a86c..78e979a 100644 --- a/assets/Script/monthlyCard.ts +++ b/assets/Script/monthlyCard.ts @@ -78,9 +78,9 @@ export default class NewClass extends cc.Component { if (res.code === 1) { console.log("_________正式发货"); MiniGameSdk.API.showToast("充值成功"); - cc.fx.GameTool.shopBuy(this.iosProductId, false); + if (this.iosProductId == "month_Card") { - this.buyMonthCard(); + this.buyMonthCard(this.iosProductId); } //console.log("充值成功获得金币"); } @@ -168,13 +168,14 @@ export default class NewClass extends cc.Component { } //购买月卡 - buyMonthCard() { + buyMonthCard(id) { Utils.setMonthlyCard(0, (data) => { console.log("购买月卡'✅ ", data.code); if (data.code == 1) { // let rewardData = [ // { type: "coin", count: 6000 }, // ] + cc.fx.GameTool.shopBuy(id, false); cc.fx.GameConfig.GM_INFO.hp_Max = 7; cc.fx.GameConfig.GM_INFO.hp = 7; // cc.fx.GameTool.changeCoin(6000); @@ -412,9 +413,9 @@ export default class NewClass extends cc.Component { if (res.code === 1) { console.log("7.14_________正式发货"); MiniGameSdk.API.showToast("充值成功"); - cc.fx.GameTool.shopBuy(productId, false); + if (productId == "month_Card") { - this.buyMonthCard(); + this.buyMonthCard(productId); } //console.log("充值成功获得金币"); } diff --git a/assets/shop/img/lqbg.png b/assets/shop/img/lqbg.png new file mode 100644 index 0000000..88f9fc0 Binary files /dev/null and b/assets/shop/img/lqbg.png differ diff --git a/assets/shop/img/lqbg.png.meta b/assets/shop/img/lqbg.png.meta new file mode 100644 index 0000000..6ea4c3e --- /dev/null +++ b/assets/shop/img/lqbg.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "015de0a3-500b-4ffb-98af-9b51007f4f83", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 914, + "height": 1348, + "platformSettings": {}, + "subMetas": { + "lqbg": { + "ver": "1.0.6", + "uuid": "954feb1c-d5fc-4c47-8577-6285e17154d4", + "importer": "sprite-frame", + "rawTextureUuid": "015de0a3-500b-4ffb-98af-9b51007f4f83", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0.5, + "trimX": 0, + "trimY": 0, + "width": 914, + "height": 1347, + "rawWidth": 914, + "rawHeight": 1348, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/shop/img/yueka.plist b/assets/shop/img/yueka.plist index 9c9f631..011951e 100644 --- a/assets/shop/img/yueka.plist +++ b/assets/shop/img/yueka.plist @@ -15,7 +15,7 @@ spriteSourceSize {516,164} textureRect - {{1195,0},{516,164}} + {{1328,0},{516,164}} textureRotated @@ -30,7 +30,7 @@ spriteSourceSize {123,90} textureRect - {{1072,0},{123,90}} + {{1205,0},{123,90}} textureRotated @@ -45,7 +45,7 @@ spriteSourceSize {506,506} textureRect - {{1248,490},{506,506}} + {{1496,490},{506,506}} textureRotated @@ -60,7 +60,7 @@ spriteSourceSize {794,210} textureRect - {{0,164},{794,210}} + {{635,164},{794,210}} textureRotated @@ -75,7 +75,22 @@ spriteSourceSize {58,58} textureRect - {{1014,0},{58,58}} + {{1147,0},{58,58}} + textureRotated + + + haisheng.png + + aliases + + spriteOffset + {0,0} + spriteSize + {89,42} + spriteSourceSize + {89,42} + textureRect + {{772,0},{89,42}} textureRotated @@ -90,7 +105,7 @@ spriteSourceSize {248,326} textureRect - {{1114,164},{248,326}} + {{1749,164},{248,326}} textureRotated @@ -105,7 +120,37 @@ spriteSourceSize {320,320} textureRect - {{794,164},{320,320}} + {{1429,164},{320,320}} + textureRotated + + + lq.png + + aliases + + spriteOffset + {0,0} + spriteSize + {635,173} + spriteSourceSize + {635,173} + textureRect + {{0,164},{635,173}} + textureRotated + + + lqtian.png + + aliases + + spriteOffset + {0,0} + spriteSize + {44,40} + spriteSourceSize + {44,40} + textureRect + {{684,0},{44,40}} textureRotated @@ -120,7 +165,7 @@ spriteSourceSize {286,42} textureRect - {{728,0},{286,42}} + {{861,0},{286,42}} textureRotated @@ -150,7 +195,7 @@ spriteSourceSize {1000,406} textureRect - {{248,490},{1000,406}} + {{496,490},{1000,406}} textureRotated @@ -165,7 +210,7 @@ spriteSourceSize {248,326} textureRect - {{1362,164},{248,326}} + {{0,490},{248,326}} textureRotated @@ -180,7 +225,7 @@ spriteSourceSize {248,326} textureRect - {{0,490},{248,326}} + {{248,490},{248,326}} textureRotated @@ -195,7 +240,7 @@ spriteSourceSize {44,40} textureRect - {{684,0},{44,40}} + {{728,0},{44,40}} textureRotated @@ -241,9 +286,9 @@ realTextureFileName yueka.png size - {1754,996} + {2002,996} smartupdate - $TexturePacker:SmartUpdate:be988a3fbb232978060220687567e4fb:2676f661d720583c5d093865b3e0b41d:f9d521de5bc0db19166bcf92821562f3$ + $TexturePacker:SmartUpdate:31468ea6569fed60cde5a27ae2edf1f2:95c923329506deb632b0e819bc5756f8:f9d521de5bc0db19166bcf92821562f3$ textureFileName yueka.png diff --git a/assets/shop/img/yueka.plist.meta b/assets/shop/img/yueka.plist.meta index 47f566f..3904376 100644 --- a/assets/shop/img/yueka.plist.meta +++ b/assets/shop/img/yueka.plist.meta @@ -4,7 +4,7 @@ "importer": "asset", "rawTextureUuid": "b72f8f63-5869-4f82-83a6-70c719b5e4ac", "size": { - "width": 1754, + "width": 2002, "height": 996 }, "type": "Texture Packer", @@ -19,7 +19,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1195, + "trimX": 1328, "trimY": 0, "width": 516, "height": 164, @@ -42,7 +42,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1072, + "trimX": 1205, "trimY": 0, "width": 123, "height": 90, @@ -65,7 +65,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1248, + "trimX": 1496, "trimY": 490, "width": 506, "height": 506, @@ -88,7 +88,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 0, + "trimX": 635, "trimY": 164, "width": 794, "height": 210, @@ -111,7 +111,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1014, + "trimX": 1147, "trimY": 0, "width": 58, "height": 58, @@ -124,6 +124,29 @@ "spriteType": "normal", "subMetas": {} }, + "haisheng.png": { + "ver": "1.0.6", + "uuid": "c4e289ba-3afd-4838-bf0c-571cadce8db2", + "importer": "sprite-frame", + "rawTextureUuid": "b72f8f63-5869-4f82-83a6-70c719b5e4ac", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 772, + "trimY": 0, + "width": 89, + "height": 42, + "rawWidth": 89, + "rawHeight": 42, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "jiantou.png": { "ver": "1.0.6", "uuid": "506a1673-0424-419b-804a-634729897214", @@ -134,7 +157,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1114, + "trimX": 1749, "trimY": 164, "width": 248, "height": 326, @@ -157,7 +180,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 794, + "trimX": 1429, "trimY": 164, "width": 320, "height": 320, @@ -170,6 +193,52 @@ "spriteType": "normal", "subMetas": {} }, + "lq.png": { + "ver": "1.0.6", + "uuid": "8419f8d6-48b4-4ecd-8228-34d620ae0da9", + "importer": "sprite-frame", + "rawTextureUuid": "b72f8f63-5869-4f82-83a6-70c719b5e4ac", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 164, + "width": 635, + "height": 173, + "rawWidth": 635, + "rawHeight": 173, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, + "lqtian.png": { + "ver": "1.0.6", + "uuid": "2b6c09cd-62b2-4b90-8f3f-498e1a7b4c3f", + "importer": "sprite-frame", + "rawTextureUuid": "b72f8f63-5869-4f82-83a6-70c719b5e4ac", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 684, + "trimY": 0, + "width": 44, + "height": 40, + "rawWidth": 44, + "rawHeight": 40, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "shengxiaozhong.png": { "ver": "1.0.6", "uuid": "3fa8a798-dfb7-403a-93a7-a57a80e07245", @@ -180,7 +249,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 728, + "trimX": 861, "trimY": 0, "width": 286, "height": 42, @@ -226,7 +295,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 248, + "trimX": 496, "trimY": 490, "width": 1000, "height": 406, @@ -249,8 +318,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1362, - "trimY": 164, + "trimX": 0, + "trimY": 490, "width": 248, "height": 326, "rawWidth": 248, @@ -272,7 +341,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 0, + "trimX": 248, "trimY": 490, "width": 248, "height": 326, @@ -295,7 +364,7 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 684, + "trimX": 728, "trimY": 0, "width": 44, "height": 40, diff --git a/assets/shop/img/yueka.png b/assets/shop/img/yueka.png index 267d910..1cb1690 100644 Binary files a/assets/shop/img/yueka.png and b/assets/shop/img/yueka.png differ diff --git a/assets/shop/img/yueka.png.meta b/assets/shop/img/yueka.png.meta index e6b1513..391ae8b 100644 --- a/assets/shop/img/yueka.png.meta +++ b/assets/shop/img/yueka.png.meta @@ -8,7 +8,7 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 1754, + "width": 2002, "height": 996, "platformSettings": {}, "subMetas": {} diff --git a/assets/shop/prefab/onMCReward.prefab b/assets/shop/prefab/onMCReward.prefab new file mode 100644 index 0000000..48ad471 --- /dev/null +++ b/assets/shop/prefab/onMCReward.prefab @@ -0,0 +1,1054 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false, + "readonly": false + }, + { + "__type__": "cc.Node", + "_name": "onMCReward", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 7 + }, + { + "__id__": 10 + }, + { + "__id__": 13 + }, + { + "__id__": 16 + }, + { + "__id__": 26 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 29 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 1920 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite(Splash)", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 4 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 6 + }, + "_opacity": 150, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 2340 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 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__": 2 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": -210, + "_bottom": -210, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 1080, + "_originalHeight": 2340, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7eXokSdchHgrBaWe10DRsX", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "lqbg", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 9 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 914, + "height": 1347 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -14.747, + 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__": 7 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "954feb1c-d5fc-4c47-8577-6285e17154d4" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "42LmNoxGhO67Td+h94X++n", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "guang", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 11 + } + ], + "_prefab": { + "__id__": 12 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 650, + "height": 638 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 96.811, + 0, + 0, + 0, + 0, + 1, + 2, + 2, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "2e2278c3-1dc7-4672-8200-bfc317f4ad75" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d3+HUycU5AdbsxCnjjG1Gl", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "coins4", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 14 + } + ], + "_prefab": { + "__id__": 15 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 171, + "height": 191 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -22.21, + 140.391, + 0, + 0, + 0, + 0, + 1, + 1.8, + 1.8, + 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__": 13 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c2bd513a-a1ab-44fa-9d02-6ce2b94cfd7a" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d3wiWd90lML4oTnrxJffhK", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "DaysLeft", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 17 + }, + { + "__id__": 20 + }, + { + "__id__": 22 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 25 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -20.005, + 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": "haisheng", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 18 + } + ], + "_prefab": { + "__id__": 19 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 89, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -89.519, + -383.409, + 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__": 17 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c4e289ba-3afd-4838-bf0c-571cadce8db2" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "c60beb21-ffe5-48e6-bc66-f4ba20a401cc" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "02OyPjluNLTLKOCDIXmXmB", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "time", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 21 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 15.653, + -380.699, + 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.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "22JDmdIklHyKs5k8rBZ9RX", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "lqtian", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 23 + } + ], + "_prefab": { + "__id__": 24 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 97.657, + -386.642, + 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__": 22 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "2b6c09cd-62b2-4b90-8f3f-498e1a7b4c3f" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "c60beb21-ffe5-48e6-bc66-f4ba20a401cc" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7eIEnRCypLt66rLHNKf/3I", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c3jBryxn1Lv5BArWkkUxzp", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "lq", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 27 + } + ], + "_prefab": { + "__id__": 28 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 635, + "height": 173 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -545.282, + 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__": 26 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "8419f8d6-48b4-4ecd-8228-34d620ae0da9" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "c60beb21-ffe5-48e6-bc66-f4ba20a401cc" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c61FLmjDpNXb2SOtzqo/Gl", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "", + "sync": false + } +] \ No newline at end of file diff --git a/assets/shop/prefab/onMCReward.prefab.meta b/assets/shop/prefab/onMCReward.prefab.meta new file mode 100644 index 0000000..aa4f21a --- /dev/null +++ b/assets/shop/prefab/onMCReward.prefab.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.3.2", + "uuid": "1a9f7d54-86c0-4e75-a1ac-ff623f0c9a1f", + "importer": "prefab", + "optimizationPolicy": "AUTO", + "asyncLoadAssets": false, + "readonly": false, + "subMetas": {} +} \ No newline at end of file