diff --git a/assets/Scene/GameScene.fire b/assets/Scene/GameScene.fire index 3b24612..a74f796 100644 --- a/assets/Scene/GameScene.fire +++ b/assets/Scene/GameScene.fire @@ -81,22 +81,22 @@ "__id__": 438 }, { - "__id__": 491 + "__id__": 530 } ], "_active": true, "_components": [ { - "__id__": 497 + "__id__": 536 }, { - "__id__": 498 + "__id__": 537 }, { - "__id__": 499 + "__id__": 538 }, { - "__id__": 500 + "__id__": 539 } ], "_prefab": null, @@ -1551,8 +1551,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 126, - "height": 132 + "width": 150, + "height": 150 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2266,8 +2266,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 116, - "height": 120 + "width": 150, + "height": 150 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3695,8 +3695,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 108, - "height": 130 + "width": 150, + "height": 150 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -7803,8 +7803,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 18, - "height": 48 + "width": 40, + "height": 56 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -20204,8 +20204,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 57, - "height": 104 + "width": 97, + "height": 108 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -21054,12 +21054,15 @@ }, { "__id__": 483 + }, + { + "__id__": 490 } ], "_active": false, "_components": [ { - "__id__": 490 + "__id__": 529 } ], "_prefab": null, @@ -21487,11 +21490,11 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 2 + "__id__": 438 }, "component": "", - "_componentId": "80998T1AYNNRZdRxsVvXR65", - "handler": "returnHome", + "_componentId": "19d952d5kVBrLSzAIGeElFK", + "handler": "clickExit", "customEventData": "" }, { @@ -23496,6 +23499,1831 @@ "handler": "clickVibrate", "customEventData": "" }, + { + "__type__": "cc.Node", + "_name": "pauseTs", + "_objFlags": 0, + "_parent": { + "__id__": 438 + }, + "_children": [ + { + "__id__": 491 + }, + { + "__id__": 495 + }, + { + "__id__": 501 + } + ], + "_active": false, + "_components": [ + { + "__id__": 528 + } + ], + "_prefab": null, + "_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": "20pe9fN/5JlKWqQmc8bkk1" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite(Splash)", + "_objFlags": 0, + "_parent": { + "__id__": 490 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 492 + }, + { + "__id__": 493 + }, + { + "__id__": 494 + } + ], + "_prefab": null, + "_opacity": 150, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "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": "69yinZgpJLvqGHaDuy2zIx" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 491 + }, + "_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": "1cy2XIdfRB7bRuuhxgmxh4" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 491 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_id": "e0O8HXy71PKafn3iUFdbmh" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 491 + }, + "_enabled": true, + "_id": "7cjMSdYU1KUq0en/hCC3ti" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 490 + }, + "_children": [ + { + "__id__": 496 + } + ], + "_active": true, + "_components": [ + { + "__id__": 500 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 994, + "height": 1462 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 38.815, + 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": "c5CoFifO9DcpWQgXeePGay" + }, + { + "__type__": "cc.Node", + "_name": "closet", + "_objFlags": 0, + "_parent": { + "__id__": 495 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 497 + }, + { + "__id__": 498 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 66, + "height": 66 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 431.951, + 586.501, + 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": "9ba3rtWc5KOZSoEeEVG3Jc" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 496 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "8e755f4b-6c32-4acd-95f2-e48afcf0c3ee" + }, + "_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": "17SpHoC21JNbuRV0tjUwaW" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 496 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 499 + } + ], + "_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": { + "__id__": 496 + }, + "_id": "71S72skPtFPJUKSs4GVST3" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 13 + }, + "component": "", + "_componentId": "2234assp7RIvpDgrnqljp2R", + "handler": "homeBtn", + "customEventData": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 495 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "bf006254-d63b-49e7-9bb2-26cd7328e3e8" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "3buGNhIwZBlJF+lM5DUl0e" + }, + { + "__type__": "cc.Node", + "_name": "Health", + "_objFlags": 0, + "_parent": { + "__id__": 490 + }, + "_children": [ + { + "__id__": 502 + }, + { + "__id__": 504 + }, + { + "__id__": 508 + }, + { + "__id__": 514 + }, + { + "__id__": 518 + }, + { + "__id__": 522 + }, + { + "__id__": 526 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_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": [ + -4.935, + -54.722, + 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": "b3eOINsrhB4qNKewcqE9WX" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 501 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 503 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 291, + "height": 66 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 15.137, + 752.897, + 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": "f8zaSAU/ZIg4ckkpDDN/4S" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 502 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "255341b2-a231-4265-b923-8e7c5e0fef83" + }, + "_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": "6fV87tQ4JCXKPH0hV81aUp" + }, + { + "__type__": "cc.Node", + "_name": "yuandi", + "_objFlags": 0, + "_parent": { + "__id__": 501 + }, + "_children": [ + { + "__id__": 505 + } + ], + "_active": true, + "_components": [ + { + "__id__": 507 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 516, + "height": 516 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 182.291, + 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": "92PohHadxIMrRnrNsxiNSK" + }, + { + "__type__": "cc.Node", + "_name": "guang", + "_objFlags": 0, + "_parent": { + "__id__": 504 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 506 + } + ], + "_prefab": null, + "_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, + 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": "1balpdaXRLt5rrH1bhBHFK" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 505 + }, + "_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": "6ee1eBw7VKTY6n7r9h2yoN" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 504 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "59873a8f-b079-4344-a77a-a72c76753cb0" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "7bHxaWBo1OFocgMD+GG3DQ" + }, + { + "__type__": "cc.Node", + "_name": "boom_show", + "_objFlags": 0, + "_parent": { + "__id__": 501 + }, + "_children": [ + { + "__id__": 509 + }, + { + "__id__": 511 + } + ], + "_active": true, + "_components": [ + { + "__id__": 513 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 364, + "height": 276 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 176.394, + 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": "a5nGoEwf1ABb595XDK//Uc" + }, + { + "__type__": "cc.Node", + "_name": "hp_-", + "_objFlags": 0, + "_parent": { + "__id__": 508 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 510 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 66, + "height": 29 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 67.39, + -80.691, + 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": "b8rl9HJrFI/YVJscNu4YKT" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 509 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "44cbc1be-fe4c-40df-8e52-3c2f768d61ee" + }, + "_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": "a8y9vrtlNPbrhwIVYteAEL" + }, + { + "__type__": "cc.Node", + "_name": "hp_1", + "_objFlags": 0, + "_parent": { + "__id__": 508 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 512 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 97, + "height": 108 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 126.926, + -81.045, + 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": "82BDnV6CNGdL82TXumAxQ+" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 511 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "9026aa5a-1be4-4f61-8d50-e44e1df4c071" + }, + "_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": "19NnnH2nZNoom60bxeGJnI" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 508 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3de74abd-a830-4ee0-8d46-7c9e7f3684fe" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "d2adfa00-68ea-4d63-97a0-44fca153a2d7" + }, + "_id": "7dVCEws2FHjYM7uXRutlEB" + }, + { + "__type__": "cc.Node", + "_name": "homeBtn", + "_objFlags": 0, + "_parent": { + "__id__": 501 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 515 + }, + { + "__id__": 516 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 66, + "height": 66 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 434.98, + 677.475, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "2fmxveWLZOW6CnsSvGgnmz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 514 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "8e755f4b-6c32-4acd-95f2-e48afcf0c3ee" + }, + "_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": "94F31T4XVDyILri8uEp/2t" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 514 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 517 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 514 + }, + "_id": "966rJcgX1FxbzSjXXgM7jr" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 438 + }, + "component": "", + "_componentId": "19d952d5kVBrLSzAIGeElFK", + "handler": "cancelExit", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "timeBtn", + "_objFlags": 0, + "_parent": { + "__id__": 501 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 519 + }, + { + "__id__": 520 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 636, + "height": 174 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -289.197, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "5bP2ueBc5JdpkWLbKwMJCX" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 518 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c3bf0b81-eeab-4042-b247-e3576fd7932b" + }, + "_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": "8dsx5Q4G9AD6aP2F0mEwFc" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 518 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 521 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 518 + }, + "_id": "32SvzePFJLVZzTsMFZ5bEC" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 438 + }, + "component": "", + "_componentId": "19d952d5kVBrLSzAIGeElFK", + "handler": "cancelExit", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "return", + "_objFlags": 0, + "_parent": { + "__id__": 501 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 523 + }, + { + "__id__": 524 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 434, + "height": 144 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -479.505, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "fd+LQsLvxA2IQJTm5UeXyh" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 522 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "e711bf3b-8b72-412a-b5c6-cc3de6fceae0" + }, + "_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": "43+ya8bU9Ps48JNa0p3IaE" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 522 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 525 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 522 + }, + "_id": "f8najm7klLdaphYt2hffeB" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 13 + }, + "component": "", + "_componentId": "2234assp7RIvpDgrnqljp2R", + "handler": "returnHome", + "customEventData": "" + }, + { + "__type__": "cc.Node", + "_name": "result_title4", + "_objFlags": 0, + "_parent": { + "__id__": 501 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 527 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 586, + "height": 57 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 541.599, + 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": "96XM3Nn0ZNoJVCPNmlcpE9" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 526 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "515197c3-1b04-4ef9-aa31-bfc11ffc3856" + }, + "_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": "3c3VchkGJC4q+OMrfXTEKx" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 490 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 1080, + "_originalHeight": 1920, + "_id": "f7zDK0yi5CSojFkXxVSlX6" + }, { "__type__": "19d952d5kVBrLSzAIGeElFK", "_name": "", @@ -23513,6 +25341,9 @@ "vibrate": { "__id__": 483 }, + "exit": { + "__id__": 490 + }, "_id": "6d0jQLhAdE4oIRvhVjh2ZZ" }, { @@ -23524,16 +25355,16 @@ }, "_children": [ { - "__id__": 492 + "__id__": 531 } ], "_active": false, "_components": [ { - "__id__": 495 + "__id__": 534 }, { - "__id__": 496 + "__id__": 535 } ], "_prefab": null, @@ -23589,16 +25420,16 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 491 + "__id__": 530 }, "_children": [], "_active": true, "_components": [ { - "__id__": 493 + "__id__": 532 }, { - "__id__": 494 + "__id__": 533 } ], "_prefab": null, @@ -23654,7 +25485,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 492 + "__id__": 531 }, "_enabled": true, "_materials": [ @@ -23686,7 +25517,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 492 + "__id__": 531 }, "_enabled": true, "_id": "4fwjz1lnFLD45L1lqUY038" @@ -23696,7 +25527,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 491 + "__id__": 530 }, "_enabled": true, "_materials": [ @@ -23738,7 +25569,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 491 + "__id__": 530 }, "_enabled": false, "_id": "00qpMLeBFNhYRX9r3QZvyP" diff --git a/assets/Scene/HomeScene.fire b/assets/Scene/HomeScene.fire index 38b4b75..68fb313 100644 --- a/assets/Scene/HomeScene.fire +++ b/assets/Scene/HomeScene.fire @@ -5876,6 +5876,7 @@ "vibrate": { "__id__": 109 }, + "exit": null, "_id": "09T1CBxRNLYrp9d2cfApFS" }, { diff --git a/assets/Script/setUi.ts b/assets/Script/setUi.ts index 0db52ec..92f3ee8 100644 --- a/assets/Script/setUi.ts +++ b/assets/Script/setUi.ts @@ -5,6 +5,9 @@ // Learn life-cycle callbacks: // - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html +import JiaZai from "./JiaZai"; +import SceneManager from "./SceneManager"; + const { ccclass, property } = cc._decorator; @@ -23,8 +26,8 @@ export default class setUi extends cc.Component { @property(cc.Node) vibrate: cc.Node = null; - - // mapInfo: number[][] = []; + @property(cc.Node) + exit: cc.Node = null; musicState: boolean = true; effectState: boolean = true; @@ -53,9 +56,6 @@ export default class setUi extends cc.Component { start() { } - init(time) { - - } clickMusic() { if (this.musicState) { @@ -129,6 +129,26 @@ export default class setUi extends cc.Component { } + //退出游戏 + clickExit() { + this.exit.active = true; + } + //取消 + cancelExit() { + this.exit.active = false; + // 获取场景中的 pause 组件 + // const pauseTs = cc.find("Canvas"); + // if (pauseTs) { + // const pause = pauseTs.getComponent(SceneManager); + // if (pause) { + // pause.closePause(); + // } else { + // console.warn("pause 组件未找到"); + // } + // } else { + // console.warn("pause 节点未找到"); + // } + } //关闭ui closeUi() { cc.fx.AudioManager._instance.playEffect("anniu_little", null); diff --git a/assets/UI/UI/pop/gameui.plist b/assets/UI/UI/pop/gameui.plist index b7cebe2..3d4611d 100644 --- a/assets/UI/UI/pop/gameui.plist +++ b/assets/UI/UI/pop/gameui.plist @@ -15,7 +15,7 @@ spriteSourceSize {281,71} textureRect - {{552,695},{281,71}} + {{0,300},{281,71}} textureRotated @@ -30,9 +30,9 @@ spriteSourceSize {255,70} textureRect - {{1897,551},{255,70}} + {{1394,230},{255,70}} textureRotated - + 30miao.png @@ -45,7 +45,7 @@ spriteSourceSize {255,70} textureRect - {{1550,710},{255,70}} + {{1649,230},{255,70}} textureRotated @@ -60,7 +60,7 @@ spriteSourceSize {76,82} textureRect - {{1913,1},{76,82}} + {{1118,300},{76,82}} textureRotated @@ -75,9 +75,9 @@ spriteSourceSize {636,174} textureRect - {{365,1},{636,174}} + {{616,968},{636,174}} textureRotated - + baozha.png @@ -90,9 +90,9 @@ spriteSourceSize {348,66} textureRect - {{333,769},{348,66}} + {{689,230},{348,66}} textureRotated - + bgl.png @@ -105,9 +105,9 @@ spriteSourceSize {154,172} textureRect - {{1653,839},{154,172}} + {{0,968},{154,172}} textureRotated - + chubuqule.png @@ -120,37 +120,37 @@ spriteSourceSize {281,64} textureRect - {{1239,1037},{281,64}} + {{898,166},{281,64}} textureRotated - + chuizi.png aliases spriteOffset - {-1,0} + {0,0} spriteSize - {306,316} + {316,316} spriteSourceSize {316,316} textureRect - {{1589,67},{306,316}} + {{646,1340},{316,316}} textureRotated - + chuizis.png aliases spriteOffset - {0,1} + {0,0} spriteSize - {126,132} + {150,150} spriteSourceSize {150,150} textureRect - {{1467,1182},{126,132}} + {{1736,654},{150,150}} textureRotated @@ -159,13 +159,13 @@ aliases spriteOffset - {-1,0} + {0,0} spriteSize - {238,284} + {284,284} spriteSourceSize {284,284} textureRect - {{933,1037},{238,284}} + {{362,1340},{284,284}} textureRotated @@ -180,7 +180,7 @@ spriteSourceSize {80,100} textureRect - {{1907,85},{80,100}} + {{0,398},{80,100}} textureRotated @@ -195,9 +195,9 @@ spriteSourceSize {264,104} textureRect - {{1305,1037},{264,104}} + {{1007,398},{264,104}} textureRotated - + closet.png @@ -210,7 +210,7 @@ spriteSourceSize {66,66} textureRect - {{1807,710},{66,66}} + {{1037,230},{66,66}} textureRotated @@ -225,7 +225,7 @@ spriteSourceSize {312,62} textureRect - {{1060,583},{312,62}} + {{586,166},{312,62}} textureRotated @@ -236,13 +236,13 @@ spriteOffset {0,0} spriteSize - {70,71} + {86,98} spriteSourceSize - {70,71} + {86,98} textureRect - {{1897,479},{70,71}} + {{1822,300},{86,98}} textureRotated - + coins4.png @@ -255,7 +255,7 @@ spriteSourceSize {171,191} textureRect - {{662,958},{171,191}} + {{1272,1142},{171,191}} textureRotated @@ -270,7 +270,7 @@ spriteSourceSize {58,64} textureRect - {{933,965},{58,64}} + {{1179,166},{58,64}} textureRotated @@ -285,7 +285,7 @@ spriteSourceSize {234,36} textureRect - {{167,1281},{234,36}} + {{109,0},{234,36}} textureRotated @@ -300,24 +300,24 @@ spriteSourceSize {802,118} textureRect - {{1,1},{802,118}} + {{314,514},{802,118}} textureRotated - + door.png aliases spriteOffset - {0,1} + {0,0} spriteSize - {616,96} + {616,100} spriteSourceSize {616,100} textureRect - {{835,695},{616,96}} + {{80,398},{616,100}} textureRotated - + doudakai.png @@ -330,7 +330,7 @@ spriteSourceSize {322,64} textureRect - {{1589,1},{322,64}} + {{1237,166},{322,64}} textureRotated @@ -345,7 +345,22 @@ spriteSourceSize {144,164} textureRect - {{662,1151},{144,164}} + {{150,804},{144,164}} + textureRotated + + + fangqi.png + + aliases + + spriteOffset + {0,0} + spriteSize + {291,66} + spriteSourceSize + {291,66} + textureRect + {{1103,230},{291,66}} textureRotated @@ -360,9 +375,9 @@ spriteSourceSize {434,144} textureRect - {{950,1},{434,144}} + {{0,654},{434,144}} textureRotated - + giveup.png @@ -375,7 +390,7 @@ spriteSourceSize {434,144} textureRect - {{950,437},{434,144}} + {{434,654},{434,144}} textureRotated @@ -390,9 +405,9 @@ spriteSourceSize {476,164} textureRect - {{167,803},{476,164}} + {{294,804},{476,164}} textureRotated - + guide.png @@ -405,7 +420,7 @@ spriteSourceSize {174,236} textureRect - {{1405,343},{174,236}} + {{188,1340},{174,236}} textureRotated @@ -420,9 +435,9 @@ spriteSourceSize {412,65} textureRect - {{1242,1},{412,65}} + {{0,230},{412,65}} textureRotated - + houhuifu.png @@ -435,9 +450,24 @@ spriteSourceSize {289,54} textureRect - {{1411,1026},{289,54}} + {{1539,0},{289,54}} textureRotated - + + + hpme.png + + aliases + + spriteOffset + {0,0} + spriteSize + {586,57} + spriteSourceSize + {586,57} + textureRect + {{766,109},{586,57}} + textureRotated + huifuyidian.png @@ -450,7 +480,7 @@ spriteSourceSize {561,54} textureRect - {{365,639},{561,54}} + {{0,54},{561,54}} textureRotated @@ -459,30 +489,30 @@ aliases spriteOffset - {0,1} + {0,0} spriteSize - {242,294} + {316,316} spriteSourceSize {316,316} textureRect - {{1357,782},{242,294}} + {{962,1340},{316,316}} textureRotated - + ices.png aliases spriteOffset - {0,1} + {0,0} spriteSize - {108,130} + {150,150} spriteSourceSize {150,150} textureRect - {{928,585},{108,130}} + {{1886,654},{150,150}} textureRotated - + jianshao.png @@ -495,9 +525,24 @@ spriteSourceSize {363,57} textureRect - {{603,958},{363,57}} + {{1352,109},{363,57}} textureRotated - + + + jianshaohp.png + + aliases + + spriteOffset + {0,0} + spriteSize + {586,57} + spriteSourceSize + {586,57} + textureRect + {{0,166},{586,57}} + textureRotated + jinruguanqiaq.png @@ -510,9 +555,9 @@ spriteSourceSize {516,164} textureRect - {{1,805},{516,164}} + {{770,804},{516,164}} textureRotated - + jixu.png @@ -525,9 +570,9 @@ spriteSourceSize {476,164} textureRect - {{167,803},{476,164}} + {{1286,804},{476,164}} textureRotated - + kuang.png.jpg @@ -540,7 +585,7 @@ spriteSourceSize {314,96} textureRect - {{1581,494},{314,96}} + {{1194,300},{314,96}} textureRotated @@ -555,9 +600,9 @@ spriteSourceSize {154,172} textureRect - {{1653,995},{154,172}} + {{154,968},{154,172}} textureRotated - + lockzi.png @@ -570,7 +615,7 @@ spriteSourceSize {109,32} textureRect - {{165,769},{109,32}} + {{0,0},{109,32}} textureRotated @@ -585,9 +630,9 @@ spriteSourceSize {158,44} textureRect - {{333,1119},{158,44}} + {{1381,0},{158,44}} textureRotated - + nali.png @@ -600,9 +645,9 @@ spriteSourceSize {582,55} textureRect - {{893,1},{582,55}} + {{561,54},{582,55}} textureRotated - + next.png @@ -615,9 +660,9 @@ spriteSourceSize {636,174} textureRect - {{541,1},{636,174}} + {{1252,968},{636,174}} textureRotated - + ninyihuode.png @@ -630,7 +675,7 @@ spriteSourceSize {189,43} textureRect - {{1386,581},{189,43}} + {{1192,0},{189,43}} textureRotated @@ -645,9 +690,9 @@ spriteSourceSize {766,56} textureRect - {{165,1},{766,56}} + {{0,109},{766,56}} textureRotated - + nulldaoju.png @@ -660,9 +705,9 @@ spriteSourceSize {154,172} textureRect - {{1467,1026},{154,172}} + {{308,968},{154,172}} textureRotated - + open.png @@ -675,22 +720,22 @@ spriteSourceSize {264,104} textureRect - {{1888,808},{264,104}} + {{1271,398},{264,104}} textureRotated - + pskuang.png aliases spriteOffset - {-155.5,46.5} + {0,0} spriteSize - {3,3} + {314,96} spriteSourceSize {314,96} textureRect - {{121,780},{3,3}} + {{1508,300},{314,96}} textureRotated @@ -705,9 +750,9 @@ spriteSourceSize {434,144} textureRect - {{1096,1},{434,144}} + {{868,654},{434,144}} textureRotated - + set.png @@ -720,9 +765,9 @@ spriteSourceSize {154,174} textureRect - {{1374,626},{154,174}} + {{1888,968},{154,174}} textureRotated - + shijaijndaol.png @@ -735,39 +780,39 @@ spriteSourceSize {283,64} textureRect - {{1173,1037},{283,64}} + {{1559,166},{283,64}} textureRotated - + starb.png aliases spriteOffset - {8,-7} + {0,0} spriteSize - {286,300} + {316,316} spriteSourceSize {316,316} textureRect - {{1055,749},{286,300}} + {{1278,1340},{316,316}} textureRotated - + stars.png aliases spriteOffset - {-1,0} + {0,0} spriteSize - {116,120} + {150,150} spriteSourceSize {150,150} textureRect - {{933,695},{116,120}} + {{0,804},{150,150}} textureRotated - + start.png @@ -780,9 +825,24 @@ spriteSourceSize {520,198} textureRect - {{403,769},{520,198}} + {{1443,1142},{520,198}} textureRotated - + + + stay.png + + aliases + + spriteOffset + {0,0} + spriteSize + {258,78} + spriteSourceSize + {258,78} + textureRect + {{860,300},{258,78}} + textureRotated + stop.png @@ -795,9 +855,9 @@ spriteSourceSize {154,172} textureRect - {{1641,1151},{154,172}} + {{462,968},{154,172}} textureRotated - + stopzi.png @@ -810,9 +870,9 @@ spriteSourceSize {150,65} textureRect - {{933,813},{150,65}} + {{412,230},{150,65}} textureRotated - + tili.png @@ -825,7 +885,7 @@ spriteSourceSize {127,65} textureRect - {{1815,1220},{127,65}} + {{562,230},{127,65}} textureRotated @@ -840,9 +900,9 @@ spriteSourceSize {290,73} textureRect - {{1907,187},{290,73}} + {{570,300},{290,73}} textureRotated - + tiliyiman.png @@ -855,7 +915,7 @@ spriteSourceSize {233,55} textureRect - {{1653,782},{233,55}} + {{1143,54},{233,55}} textureRotated @@ -870,9 +930,9 @@ spriteSourceSize {777,42} textureRect - {{121,1},{777,42}} + {{415,0},{777,42}} textureRotated - + touxiang.png @@ -885,9 +945,9 @@ spriteSourceSize {188,198} textureRect - {{603,768},{188,198}} + {{0,1340},{188,198}} textureRotated - + try.png @@ -900,9 +960,9 @@ spriteSourceSize {636,174} textureRect - {{717,1},{636,174}} + {{0,1142},{636,174}} textureRotated - + trya.png @@ -915,9 +975,39 @@ spriteSourceSize {144,164} textureRect - {{1827,1074},{144,164}} + {{1762,804},{144,164}} textureRotated - + + + tuichu.png + + aliases + + spriteOffset + {0,0} + spriteSize + {434,144} + spriteSourceSize + {434,144} + textureRect + {{1302,654},{434,144}} + textureRotated + + + xiangxiang.png + + aliases + + spriteOffset + {0,0} + spriteSize + {636,174} + spriteSourceSize + {636,174} + textureRect + {{636,1142},{636,174}} + textureRotated + ximie.png @@ -930,9 +1020,9 @@ spriteSourceSize {692,140} textureRect - {{223,1},{692,140}} + {{1116,514},{692,140}} textureRotated - + xin.png @@ -941,11 +1031,11 @@ spriteOffset {0,0} spriteSize - {94,90} + {98,98} spriteSourceSize {98,98} textureRect - {{1309,343},{94,90}} + {{1908,300},{98,98}} textureRotated @@ -956,13 +1046,13 @@ spriteOffset {0,0} spriteSize - {340,278} + {340,340} spriteSourceSize {340,340} textureRect - {{1309,1},{340,278}} + {{1594,1340},{340,340}} textureRotated - + yichu.png @@ -975,7 +1065,7 @@ spriteSourceSize {289,72} textureRect - {{223,695},{289,72}} + {{281,300},{289,72}} textureRotated @@ -990,9 +1080,9 @@ spriteSourceSize {72,36} textureRect - {{514,695},{72,36}} + {{343,0},{72,36}} textureRotated - + yinxiao.png @@ -1005,7 +1095,7 @@ spriteSourceSize {311,116} textureRect - {{1577,592},{311,116}} + {{1535,398},{311,116}} textureRotated @@ -1020,7 +1110,7 @@ spriteSourceSize {311,100} textureRect - {{1060,647},{311,100}} + {{696,398},{311,100}} textureRotated @@ -1035,7 +1125,7 @@ spriteSourceSize {314,117} textureRect - {{1581,375},{314,117}} + {{0,514},{314,117}} textureRotated @@ -1051,9 +1141,9 @@ realTextureFileName gameui.png size - {1993,1322} + {2042,1680} smartupdate - $TexturePacker:SmartUpdate:238e38e5565de50e604e9fc7c4082b5e:0d1102846191b2def2aa54cda8c25de2:13103c15d0108e7aab1316a48f90f5be$ + $TexturePacker:SmartUpdate:740d3c6571c7cd77c65d7ad2c2b27c90:1aebd3750f8f20dcee2b4ba501126681:13103c15d0108e7aab1316a48f90f5be$ textureFileName gameui.png diff --git a/assets/UI/UI/pop/gameui.plist.meta b/assets/UI/UI/pop/gameui.plist.meta index bdc03c0..dfa7b6e 100644 --- a/assets/UI/UI/pop/gameui.plist.meta +++ b/assets/UI/UI/pop/gameui.plist.meta @@ -4,8 +4,8 @@ "importer": "asset", "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "size": { - "width": 1993, - "height": 1322 + "width": 2042, + "height": 1680 }, "type": "Texture Packer", "subMetas": { @@ -19,8 +19,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 552, - "trimY": 695, + "trimX": 0, + "trimY": 300, "width": 281, "height": 71, "rawWidth": 281, @@ -39,11 +39,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1897, - "trimY": 551, + "trimX": 1394, + "trimY": 230, "width": 255, "height": 70, "rawWidth": 255, @@ -65,8 +65,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1550, - "trimY": 710, + "trimX": 1649, + "trimY": 230, "width": 255, "height": 70, "rawWidth": 255, @@ -88,8 +88,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1913, - "trimY": 1, + "trimX": 1118, + "trimY": 300, "width": 76, "height": 82, "rawWidth": 76, @@ -108,11 +108,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 365, - "trimY": 1, + "trimX": 616, + "trimY": 968, "width": 636, "height": 174, "rawWidth": 636, @@ -131,11 +131,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 333, - "trimY": 769, + "trimX": 689, + "trimY": 230, "width": 348, "height": 66, "rawWidth": 348, @@ -154,11 +154,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1653, - "trimY": 839, + "trimX": 0, + "trimY": 968, "width": 154, "height": 172, "rawWidth": 154, @@ -177,11 +177,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1239, - "trimY": 1037, + "trimX": 898, + "trimY": 166, "width": 281, "height": 64, "rawWidth": 281, @@ -200,12 +200,12 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, - "offsetX": -1, + "rotated": false, + "offsetX": 0, "offsetY": 0, - "trimX": 1589, - "trimY": 67, - "width": 306, + "trimX": 646, + "trimY": 1340, + "width": 316, "height": 316, "rawWidth": 316, "rawHeight": 316, @@ -225,11 +225,11 @@ "trimThreshold": 1, "rotated": false, "offsetX": 0, - "offsetY": 1, - "trimX": 1467, - "trimY": 1182, - "width": 126, - "height": 132, + "offsetY": 0, + "trimX": 1736, + "trimY": 654, + "width": 150, + "height": 150, "rawWidth": 150, "rawHeight": 150, "borderTop": 0, @@ -247,11 +247,11 @@ "trimType": "auto", "trimThreshold": 1, "rotated": false, - "offsetX": -1, + "offsetX": 0, "offsetY": 0, - "trimX": 933, - "trimY": 1037, - "width": 238, + "trimX": 362, + "trimY": 1340, + "width": 284, "height": 284, "rawWidth": 284, "rawHeight": 284, @@ -272,8 +272,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1907, - "trimY": 85, + "trimX": 0, + "trimY": 398, "width": 80, "height": 100, "rawWidth": 80, @@ -292,11 +292,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1305, - "trimY": 1037, + "trimX": 1007, + "trimY": 398, "width": 264, "height": 104, "rawWidth": 264, @@ -318,8 +318,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1807, - "trimY": 710, + "trimX": 1037, + "trimY": 230, "width": 66, "height": 66, "rawWidth": 66, @@ -341,8 +341,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1060, - "trimY": 583, + "trimX": 586, + "trimY": 166, "width": 312, "height": 62, "rawWidth": 312, @@ -361,15 +361,15 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1897, - "trimY": 479, - "width": 70, - "height": 71, - "rawWidth": 70, - "rawHeight": 71, + "trimX": 1822, + "trimY": 300, + "width": 86, + "height": 98, + "rawWidth": 86, + "rawHeight": 98, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, @@ -387,8 +387,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 662, - "trimY": 958, + "trimX": 1272, + "trimY": 1142, "width": 171, "height": 191, "rawWidth": 171, @@ -410,8 +410,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 933, - "trimY": 965, + "trimX": 1179, + "trimY": 166, "width": 58, "height": 64, "rawWidth": 58, @@ -433,8 +433,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 167, - "trimY": 1281, + "trimX": 109, + "trimY": 0, "width": 234, "height": 36, "rawWidth": 234, @@ -453,11 +453,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1, - "trimY": 1, + "trimX": 314, + "trimY": 514, "width": 802, "height": 118, "rawWidth": 802, @@ -476,13 +476,13 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, - "offsetY": 1, - "trimX": 835, - "trimY": 695, + "offsetY": 0, + "trimX": 80, + "trimY": 398, "width": 616, - "height": 96, + "height": 100, "rawWidth": 616, "rawHeight": 100, "borderTop": 0, @@ -502,8 +502,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1589, - "trimY": 1, + "trimX": 1237, + "trimY": 166, "width": 322, "height": 64, "rawWidth": 322, @@ -525,8 +525,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 662, - "trimY": 1151, + "trimX": 150, + "trimY": 804, "width": 144, "height": 164, "rawWidth": 144, @@ -538,6 +538,29 @@ "spriteType": "normal", "subMetas": {} }, + "fangqi.png": { + "ver": "1.0.6", + "uuid": "255341b2-a231-4265-b923-8e7c5e0fef83", + "importer": "sprite-frame", + "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1103, + "trimY": 230, + "width": 291, + "height": 66, + "rawWidth": 291, + "rawHeight": 66, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "fanhui.png": { "ver": "1.0.6", "uuid": "c932b16b-a071-4939-b25b-a246d3798854", @@ -545,11 +568,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 950, - "trimY": 1, + "trimX": 0, + "trimY": 654, "width": 434, "height": 144, "rawWidth": 434, @@ -571,8 +594,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 950, - "trimY": 437, + "trimX": 434, + "trimY": 654, "width": 434, "height": 144, "rawWidth": 434, @@ -591,11 +614,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 167, - "trimY": 803, + "trimX": 294, + "trimY": 804, "width": 476, "height": 164, "rawWidth": 476, @@ -617,8 +640,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1405, - "trimY": 343, + "trimX": 188, + "trimY": 1340, "width": 174, "height": 236, "rawWidth": 174, @@ -637,11 +660,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1242, - "trimY": 1, + "trimX": 0, + "trimY": 230, "width": 412, "height": 65, "rawWidth": 412, @@ -660,11 +683,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1411, - "trimY": 1026, + "trimX": 1539, + "trimY": 0, "width": 289, "height": 54, "rawWidth": 289, @@ -676,6 +699,29 @@ "spriteType": "normal", "subMetas": {} }, + "hpme.png": { + "ver": "1.0.6", + "uuid": "f3fe0271-e9d5-4907-9542-980e47b4deaa", + "importer": "sprite-frame", + "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 766, + "trimY": 109, + "width": 586, + "height": 57, + "rawWidth": 586, + "rawHeight": 57, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "huifuyidian.png": { "ver": "1.0.6", "uuid": "7e089816-7c3a-4f58-baff-1023aceab868", @@ -686,8 +732,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 365, - "trimY": 639, + "trimX": 0, + "trimY": 54, "width": 561, "height": 54, "rawWidth": 561, @@ -706,13 +752,13 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, - "offsetY": 1, - "trimX": 1357, - "trimY": 782, - "width": 242, - "height": 294, + "offsetY": 0, + "trimX": 962, + "trimY": 1340, + "width": 316, + "height": 316, "rawWidth": 316, "rawHeight": 316, "borderTop": 0, @@ -729,13 +775,13 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, - "offsetY": 1, - "trimX": 928, - "trimY": 585, - "width": 108, - "height": 130, + "offsetY": 0, + "trimX": 1886, + "trimY": 654, + "width": 150, + "height": 150, "rawWidth": 150, "rawHeight": 150, "borderTop": 0, @@ -752,11 +798,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 603, - "trimY": 958, + "trimX": 1352, + "trimY": 109, "width": 363, "height": 57, "rawWidth": 363, @@ -768,6 +814,29 @@ "spriteType": "normal", "subMetas": {} }, + "jianshaohp.png": { + "ver": "1.0.6", + "uuid": "515197c3-1b04-4ef9-aa31-bfc11ffc3856", + "importer": "sprite-frame", + "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 166, + "width": 586, + "height": 57, + "rawWidth": 586, + "rawHeight": 57, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "jinruguanqiaq.png": { "ver": "1.0.6", "uuid": "b4acf893-be37-47c3-adee-6cc6509aeb39", @@ -775,11 +844,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1, - "trimY": 805, + "trimX": 770, + "trimY": 804, "width": 516, "height": 164, "rawWidth": 516, @@ -798,11 +867,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 167, - "trimY": 803, + "trimX": 1286, + "trimY": 804, "width": 476, "height": 164, "rawWidth": 476, @@ -824,8 +893,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1581, - "trimY": 494, + "trimX": 1194, + "trimY": 300, "width": 314, "height": 96, "rawWidth": 314, @@ -844,11 +913,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1653, - "trimY": 995, + "trimX": 154, + "trimY": 968, "width": 154, "height": 172, "rawWidth": 154, @@ -870,8 +939,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 165, - "trimY": 769, + "trimX": 0, + "trimY": 0, "width": 109, "height": 32, "rawWidth": 109, @@ -890,11 +959,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 333, - "trimY": 1119, + "trimX": 1381, + "trimY": 0, "width": 158, "height": 44, "rawWidth": 158, @@ -913,11 +982,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 893, - "trimY": 1, + "trimX": 561, + "trimY": 54, "width": 582, "height": 55, "rawWidth": 582, @@ -936,11 +1005,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 541, - "trimY": 1, + "trimX": 1252, + "trimY": 968, "width": 636, "height": 174, "rawWidth": 636, @@ -962,8 +1031,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1386, - "trimY": 581, + "trimX": 1192, + "trimY": 0, "width": 189, "height": 43, "rawWidth": 189, @@ -982,11 +1051,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 165, - "trimY": 1, + "trimX": 0, + "trimY": 109, "width": 766, "height": 56, "rawWidth": 766, @@ -1005,11 +1074,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1467, - "trimY": 1026, + "trimX": 308, + "trimY": 968, "width": 154, "height": 172, "rawWidth": 154, @@ -1028,11 +1097,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1888, - "trimY": 808, + "trimX": 1271, + "trimY": 398, "width": 264, "height": 104, "rawWidth": 264, @@ -1052,12 +1121,12 @@ "trimType": "auto", "trimThreshold": 1, "rotated": false, - "offsetX": -155.5, - "offsetY": 46.5, - "trimX": 121, - "trimY": 780, - "width": 3, - "height": 3, + "offsetX": 0, + "offsetY": 0, + "trimX": 1508, + "trimY": 300, + "width": 314, + "height": 96, "rawWidth": 314, "rawHeight": 96, "borderTop": 0, @@ -1074,11 +1143,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1096, - "trimY": 1, + "trimX": 868, + "trimY": 654, "width": 434, "height": 144, "rawWidth": 434, @@ -1097,11 +1166,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1374, - "trimY": 626, + "trimX": 1888, + "trimY": 968, "width": 154, "height": 174, "rawWidth": 154, @@ -1120,11 +1189,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1173, - "trimY": 1037, + "trimX": 1559, + "trimY": 166, "width": 283, "height": 64, "rawWidth": 283, @@ -1143,13 +1212,13 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, - "offsetX": 8, - "offsetY": -7, - "trimX": 1055, - "trimY": 749, - "width": 286, - "height": 300, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1278, + "trimY": 1340, + "width": 316, + "height": 316, "rawWidth": 316, "rawHeight": 316, "borderTop": 0, @@ -1166,13 +1235,13 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, - "offsetX": -1, + "rotated": false, + "offsetX": 0, "offsetY": 0, - "trimX": 933, - "trimY": 695, - "width": 116, - "height": 120, + "trimX": 0, + "trimY": 804, + "width": 150, + "height": 150, "rawWidth": 150, "rawHeight": 150, "borderTop": 0, @@ -1189,11 +1258,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 403, - "trimY": 769, + "trimX": 1443, + "trimY": 1142, "width": 520, "height": 198, "rawWidth": 520, @@ -1205,6 +1274,29 @@ "spriteType": "normal", "subMetas": {} }, + "stay.png": { + "ver": "1.0.6", + "uuid": "c6a597f3-a4e3-4687-9685-f866df8eabc7", + "importer": "sprite-frame", + "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 860, + "trimY": 300, + "width": 258, + "height": 78, + "rawWidth": 258, + "rawHeight": 78, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "stop.png": { "ver": "1.0.6", "uuid": "3992b89e-8452-4af0-8388-2f9e46cb77c7", @@ -1212,11 +1304,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1641, - "trimY": 1151, + "trimX": 462, + "trimY": 968, "width": 154, "height": 172, "rawWidth": 154, @@ -1235,11 +1327,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 933, - "trimY": 813, + "trimX": 412, + "trimY": 230, "width": 150, "height": 65, "rawWidth": 150, @@ -1261,8 +1353,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1815, - "trimY": 1220, + "trimX": 562, + "trimY": 230, "width": 127, "height": 65, "rawWidth": 127, @@ -1281,11 +1373,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1907, - "trimY": 187, + "trimX": 570, + "trimY": 300, "width": 290, "height": 73, "rawWidth": 290, @@ -1307,8 +1399,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1653, - "trimY": 782, + "trimX": 1143, + "trimY": 54, "width": 233, "height": 55, "rawWidth": 233, @@ -1327,11 +1419,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 121, - "trimY": 1, + "trimX": 415, + "trimY": 0, "width": 777, "height": 42, "rawWidth": 777, @@ -1350,11 +1442,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 603, - "trimY": 768, + "trimX": 0, + "trimY": 1340, "width": 188, "height": 198, "rawWidth": 188, @@ -1373,11 +1465,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 717, - "trimY": 1, + "trimX": 0, + "trimY": 1142, "width": 636, "height": 174, "rawWidth": 636, @@ -1396,11 +1488,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1827, - "trimY": 1074, + "trimX": 1762, + "trimY": 804, "width": 144, "height": 164, "rawWidth": 144, @@ -1412,6 +1504,52 @@ "spriteType": "normal", "subMetas": {} }, + "tuichu.png": { + "ver": "1.0.6", + "uuid": "e711bf3b-8b72-412a-b5c6-cc3de6fceae0", + "importer": "sprite-frame", + "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1302, + "trimY": 654, + "width": 434, + "height": 144, + "rawWidth": 434, + "rawHeight": 144, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, + "xiangxiang.png": { + "ver": "1.0.6", + "uuid": "c3bf0b81-eeab-4042-b247-e3576fd7932b", + "importer": "sprite-frame", + "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 636, + "trimY": 1142, + "width": 636, + "height": 174, + "rawWidth": 636, + "rawHeight": 174, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "ximie.png": { "ver": "1.0.6", "uuid": "4564c5d4-503a-4d52-ab07-8f71a3fa1d88", @@ -1419,11 +1557,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 223, - "trimY": 1, + "trimX": 1116, + "trimY": 514, "width": 692, "height": 140, "rawWidth": 692, @@ -1445,10 +1583,10 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1309, - "trimY": 343, - "width": 94, - "height": 90, + "trimX": 1908, + "trimY": 300, + "width": 98, + "height": 98, "rawWidth": 98, "rawHeight": 98, "borderTop": 0, @@ -1465,13 +1603,13 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1309, - "trimY": 1, + "trimX": 1594, + "trimY": 1340, "width": 340, - "height": 278, + "height": 340, "rawWidth": 340, "rawHeight": 340, "borderTop": 0, @@ -1491,8 +1629,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 223, - "trimY": 695, + "trimX": 281, + "trimY": 300, "width": 289, "height": 72, "rawWidth": 289, @@ -1511,11 +1649,11 @@ "rawTextureUuid": "1f8faacb-88f6-4128-85d9-65adb5eeaa5d", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 514, - "trimY": 695, + "trimX": 343, + "trimY": 0, "width": 72, "height": 36, "rawWidth": 72, @@ -1537,8 +1675,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1577, - "trimY": 592, + "trimX": 1535, + "trimY": 398, "width": 311, "height": 116, "rawWidth": 311, @@ -1560,8 +1698,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1060, - "trimY": 647, + "trimX": 696, + "trimY": 398, "width": 311, "height": 100, "rawWidth": 311, @@ -1583,8 +1721,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 1581, - "trimY": 375, + "trimX": 0, + "trimY": 514, "width": 314, "height": 117, "rawWidth": 314, diff --git a/assets/UI/UI/pop/gameui.png b/assets/UI/UI/pop/gameui.png index 8cf88d9..0718ba7 100644 Binary files a/assets/UI/UI/pop/gameui.png and b/assets/UI/UI/pop/gameui.png differ diff --git a/assets/UI/UI/pop/gameui.png.meta b/assets/UI/UI/pop/gameui.png.meta index 8563854..80dc9f6 100644 --- a/assets/UI/UI/pop/gameui.png.meta +++ b/assets/UI/UI/pop/gameui.png.meta @@ -8,8 +8,8 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 1993, - "height": 1322, + "width": 2042, + "height": 1680, "platformSettings": {}, "subMetas": {} } \ No newline at end of file diff --git a/assets/shop/prefab/shop.prefab b/assets/shop/prefab/shop.prefab index ef3de1c..3b547b1 100644 --- a/assets/shop/prefab/shop.prefab +++ b/assets/shop/prefab/shop.prefab @@ -33,14 +33,14 @@ "_active": true, "_components": [ { - "__id__": 321 + "__id__": 320 }, { - "__id__": 322 + "__id__": 321 } ], "_prefab": { - "__id__": 323 + "__id__": 322 }, "_opacity": 255, "_color": { @@ -9876,19 +9876,23 @@ "__id__": 272 }, { - "__id__": 279 + "__id__": 278 }, { - "__id__": 300 + "__id__": 299 }, { - "__id__": 314 + "__id__": 312 } ], "_active": true, - "_components": [], + "_components": [ + { + "__id__": 318 + } + ], "_prefab": { - "__id__": 320 + "__id__": 319 }, "_opacity": 255, "_color": { @@ -9921,7 +9925,7 @@ 1, 1, 1, - 1 + 0 ] }, "_eulerAngles": { @@ -10092,13 +10096,10 @@ "_components": [ { "__id__": 276 - }, - { - "__id__": 277 } ], "_prefab": { - "__id__": 278 + "__id__": 277 }, "_opacity": 255, "_color": { @@ -10123,7 +10124,7 @@ "ctor": "Float64Array", "array": [ -412.791, - 188.252, + 111.536, 0, 0, 0, @@ -10288,35 +10289,6 @@ }, "_id": "" }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 272 - }, - "_enabled": false, - "alignMode": 1, - "_target": { - "__id__": 1 - }, - "_alignFlags": 0, - "_left": 49.716999999999985, - "_right": 327.573, - "_top": 64.18799999999999, - "_bottom": 0, - "_verticalCenter": 0, - "_horizontalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 188, - "_originalHeight": 0, - "_id": "" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -10337,32 +10309,32 @@ }, "_children": [ { - "__id__": 280 + "__id__": 279 }, { - "__id__": 283 + "__id__": 282 }, { - "__id__": 286 + "__id__": 285 }, { - "__id__": 289 + "__id__": 288 }, { - "__id__": 292 + "__id__": 291 }, { - "__id__": 294 + "__id__": 293 } ], "_active": true, "_components": [ { - "__id__": 297 + "__id__": 296 } ], "_prefab": { - "__id__": 299 + "__id__": 298 }, "_opacity": 255, "_color": { @@ -10387,7 +10359,7 @@ "ctor": "Float64Array", "array": [ -81.953, - 243.354, + 166.638, 0, 0, 0, @@ -10416,17 +10388,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 279 + "__id__": 278 }, "_children": [], "_active": true, "_components": [ { - "__id__": 281 + "__id__": 280 } ], "_prefab": { - "__id__": 282 + "__id__": 281 }, "_opacity": 255, "_color": { @@ -10480,7 +10452,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 280 + "__id__": 279 }, "_enabled": true, "_materials": [ @@ -10525,17 +10497,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 279 + "__id__": 278 }, "_children": [], "_active": true, "_components": [ { - "__id__": 284 + "__id__": 283 } ], "_prefab": { - "__id__": 285 + "__id__": 284 }, "_opacity": 255, "_color": { @@ -10589,7 +10561,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 283 + "__id__": 282 }, "_enabled": true, "_materials": [ @@ -10634,17 +10606,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 279 + "__id__": 278 }, "_children": [], "_active": false, "_components": [ { - "__id__": 287 + "__id__": 286 } ], "_prefab": { - "__id__": 288 + "__id__": 287 }, "_opacity": 255, "_color": { @@ -10698,7 +10670,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 286 + "__id__": 285 }, "_enabled": true, "_materials": [ @@ -10743,17 +10715,17 @@ "_name": "man", "_objFlags": 0, "_parent": { - "__id__": 279 + "__id__": 278 }, "_children": [], "_active": true, "_components": [ { - "__id__": 290 + "__id__": 289 } ], "_prefab": { - "__id__": 291 + "__id__": 290 }, "_opacity": 255, "_color": { @@ -10807,7 +10779,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 289 + "__id__": 288 }, "_enabled": true, "_materials": [ @@ -10852,13 +10824,13 @@ "_name": "health", "_objFlags": 0, "_parent": { - "__id__": 279 + "__id__": 278 }, "_children": [], "_active": false, "_components": [], "_prefab": { - "__id__": 293 + "__id__": 292 }, "_opacity": 255, "_color": { @@ -10923,17 +10895,17 @@ "_name": "time", "_objFlags": 0, "_parent": { - "__id__": 279 + "__id__": 278 }, "_children": [], "_active": false, "_components": [ { - "__id__": 295 + "__id__": 294 } ], "_prefab": { - "__id__": 296 + "__id__": 295 }, "_opacity": 255, "_color": { @@ -10987,7 +10959,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 294 + "__id__": 293 }, "_enabled": true, "_materials": [ @@ -11031,16 +11003,16 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 279 + "__id__": 278 }, - "_enabled": true, + "_enabled": false, "_normalMaterial": null, "_grayMaterial": null, "duration": 0.1, "zoomScale": 1.1, "clickEvents": [ { - "__id__": 298 + "__id__": 297 } ], "_N$interactable": true, @@ -11095,9 +11067,7 @@ "_N$hoverSprite": null, "hoverSprite": null, "_N$disabledSprite": null, - "_N$target": { - "__id__": 279 - }, + "_N$target": null, "_id": "" }, { @@ -11128,26 +11098,22 @@ }, "_children": [ { - "__id__": 301 + "__id__": 300 }, { - "__id__": 304 + "__id__": 303 }, { - "__id__": 307 + "__id__": 306 }, { - "__id__": 310 + "__id__": 309 } ], "_active": true, - "_components": [ - { - "__id__": 312 - } - ], + "_components": [], "_prefab": { - "__id__": 313 + "__id__": 311 }, "_opacity": 255, "_color": { @@ -11172,7 +11138,7 @@ "ctor": "Float64Array", "array": [ 335.588, - 243.354, + 166.638, 0, 0, 0, @@ -11201,17 +11167,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 300 + "__id__": 299 }, "_children": [], "_active": true, "_components": [ { - "__id__": 302 + "__id__": 301 } ], "_prefab": { - "__id__": 303 + "__id__": 302 }, "_opacity": 255, "_color": { @@ -11265,7 +11231,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 301 + "__id__": 300 }, "_enabled": true, "_materials": [ @@ -11310,17 +11276,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 300 + "__id__": 299 }, "_children": [], "_active": true, "_components": [ { - "__id__": 305 + "__id__": 304 } ], "_prefab": { - "__id__": 306 + "__id__": 305 }, "_opacity": 255, "_color": { @@ -11374,7 +11340,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 304 + "__id__": 303 }, "_enabled": true, "_materials": [ @@ -11419,17 +11385,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 300 + "__id__": 299 }, "_children": [], "_active": false, "_components": [ { - "__id__": 308 + "__id__": 307 } ], "_prefab": { - "__id__": 309 + "__id__": 308 }, "_opacity": 255, "_color": { @@ -11483,7 +11449,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 307 + "__id__": 306 }, "_enabled": true, "_materials": [ @@ -11528,13 +11494,13 @@ "_name": "Coin", "_objFlags": 0, "_parent": { - "__id__": 300 + "__id__": 299 }, "_children": [], "_active": true, "_components": [], "_prefab": { - "__id__": 311 + "__id__": 310 }, "_opacity": 255, "_color": { @@ -11594,78 +11560,6 @@ "fileId": "abaidugJ1M1Jyqc7VJZvnF", "sync": false }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 300 - }, - "_enabled": false, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.1, - "clickEvents": [ - null - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 3, - "transition": 3, - "_N$normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_N$hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_N$disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_N$normalSprite": null, - "_N$pressedSprite": null, - "pressedSprite": null, - "_N$hoverSprite": null, - "hoverSprite": null, - "_N$disabledSprite": null, - "_N$target": { - "__id__": 300 - }, - "_id": "" - }, { "__type__": "cc.PrefabInfo", "root": { @@ -11687,18 +11581,18 @@ "_children": [], "_active": true, "_components": [ + { + "__id__": 313 + }, + { + "__id__": 314 + }, { "__id__": 315 - }, - { - "__id__": 316 - }, - { - "__id__": 317 } ], "_prefab": { - "__id__": 319 + "__id__": 317 }, "_opacity": 255, "_color": { @@ -11752,7 +11646,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 314 + "__id__": 312 }, "_enabled": true, "_materials": [ @@ -11786,7 +11680,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 314 + "__id__": 312 }, "_enabled": true, "alignMode": 1, @@ -11815,7 +11709,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 314 + "__id__": 312 }, "_enabled": true, "_normalMaterial": null, @@ -11824,7 +11718,7 @@ "zoomScale": 1.2, "clickEvents": [ { - "__id__": 318 + "__id__": 316 } ], "_N$interactable": true, @@ -11880,7 +11774,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 314 + "__id__": 312 }, "_id": "" }, @@ -11905,6 +11799,35 @@ "fileId": "e6/Gg5UhNAkoUU5TcXcEec", "sync": false }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 267 + }, + "_enabled": true, + "alignMode": 1, + "_target": { + "__id__": 1 + }, + "_alignFlags": 1, + "_left": 0, + "_right": 0, + "_top": 340.61199999999997, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -11931,10 +11854,10 @@ "__id__": 18 }, "coin": { - "__id__": 310 + "__id__": 309 }, "Stamina": { - "__id__": 279 + "__id__": 278 }, "_id": "" }, diff --git a/assets/shop/script/shop.ts b/assets/shop/script/shop.ts index a2dda8a..a441824 100644 --- a/assets/shop/script/shop.ts +++ b/assets/shop/script/shop.ts @@ -23,7 +23,15 @@ export default class NewClass extends cc.Component { Stamina: cc.Node = null; btn_Touch: boolean = true; private onShowListener: () => void; - private scheduleCallback: Function = null; + 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; + + private buy: boolean = false; onLoad() { this.btn_Touch = true; // 检测微信小游戏切到后台 @@ -71,8 +79,32 @@ export default class NewClass extends cc.Component { } } NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 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); + } + } +} //关闭商店界面 closeShop() {