diff --git a/assets/Gacha/img/方块迷阵-卡池图.jpg b/assets/Gacha/img/方块迷阵-卡池图.jpg new file mode 100644 index 0000000..19ac095 Binary files /dev/null and b/assets/Gacha/img/方块迷阵-卡池图.jpg differ diff --git a/assets/Gacha/img/方块迷阵-卡池图.jpg.meta b/assets/Gacha/img/方块迷阵-卡池图.jpg.meta new file mode 100644 index 0000000..8772891 --- /dev/null +++ b/assets/Gacha/img/方块迷阵-卡池图.jpg.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "35d57bf9-3d87-4f37-9928-377a7d450ca0", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 1080, + "height": 2340, + "platformSettings": {}, + "subMetas": { + "方块迷阵-卡池图": { + "ver": "1.0.6", + "uuid": "a6161723-a0a4-4a83-adc0-00ff4a7bd711", + "importer": "sprite-frame", + "rawTextureUuid": "35d57bf9-3d87-4f37-9928-377a7d450ca0", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 1080, + "height": 2340, + "rawWidth": 1080, + "rawHeight": 2340, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/Gacha/script/GachaManager.ts b/assets/Gacha/script/GachaManager.ts new file mode 100644 index 0000000..dec77cc --- /dev/null +++ b/assets/Gacha/script/GachaManager.ts @@ -0,0 +1,23 @@ +import NumberToImage from "../../Script/NumberToImage"; +const { ccclass, property } = cc._decorator; +//排行榜 +@ccclass +export default class GachaManager extends cc.Component { + @property(cc.Sprite) //用户头像换图 + phone: cc.Sprite = null; + + + + onLoad() { + this.node.opacity = 0; + // this.init(); + } + //初始化数据 + init(data, topData) { + + } + + start() { + } + +} diff --git a/assets/Gacha/script/GachaManager.ts.meta b/assets/Gacha/script/GachaManager.ts.meta new file mode 100644 index 0000000..96d3656 --- /dev/null +++ b/assets/Gacha/script/GachaManager.ts.meta @@ -0,0 +1,10 @@ +{ + "ver": "1.1.0", + "uuid": "9598e6b9-ee77-412c-954a-1b37ce9c37be", + "importer": "typescript", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/Scene/HomeScene.fire b/assets/Scene/HomeScene.fire index f05513f..aca86ee 100644 --- a/assets/Scene/HomeScene.fire +++ b/assets/Scene/HomeScene.fire @@ -20,7 +20,7 @@ "__id__": 5 }, { - "__id__": 611 + "__id__": 632 } ], "_active": false, @@ -296,18 +296,21 @@ }, { "__id__": 603 + }, + { + "__id__": 608 } ], "_active": true, "_components": [ { - "__id__": 608 + "__id__": 629 }, { - "__id__": 609 + "__id__": 630 }, { - "__id__": 610 + "__id__": 631 } ], "_prefab": null, @@ -26411,6 +26414,1115 @@ "_originalHeight": 0, "_id": "52wqdGbuVMBpqhKEc1+7d/" }, + { + "__type__": "cc.Node", + "_name": "Gacha", + "_objFlags": 0, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 609 + }, + { + "__id__": 611 + }, + { + "__id__": 613 + }, + { + "__id__": 615 + }, + { + "__id__": 617 + }, + { + "__id__": 619 + }, + { + "__id__": 621 + }, + { + "__id__": 623 + }, + { + "__id__": 625 + }, + { + "__id__": 627 + } + ], + "_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": [ + 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": "b7QJPz+FlM6aoPGaXynjYu" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 610 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 2340 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 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": "38U/WC8fpM7o+EzwpGnhZN" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 609 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "2929f757-ff0e-4919-96d2-d7689f497926" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "28hBibrwhKXrxK0MFW4Nu+" + }, + { + "__type__": "cc.Node", + "_name": "方块迷阵-卡池图", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 612 + } + ], + "_prefab": null, + "_opacity": 200, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 2340 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 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": "36sXQmjadMj7X1YPH0kHee" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 611 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a6161723-a0a4-4a83-adc0-00ff4a7bd711" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "6amCEzuB5Av6FTXtF/zWsU" + }, + { + "__type__": "cc.Node", + "_name": "skeleton", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 614 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 180 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -0.619, + 197.237, + 0, + 0, + 0, + 0, + 1, + 1.5, + 1.5, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "b7hPjgNC9P4qHGRT2xb9Ph" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 613 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "default", + "defaultAnimation": "001", + "_preCacheMode": 0, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "001", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": { + "__uuid__": "4377da99-cb4b-4072-8daf-1acb88e2600d" + }, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "37sgnzI1hBbYfAKXAFo3cA" + }, + { + "__type__": "cc.Node", + "_name": "skeleton", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 616 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 180 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -311.215, + 177.523, + 0, + 0, + 0, + 0.02181488503456112, + 0.9997620270799091, + 1.25, + 1.25, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 2.5 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "06LgZinFtIy4ioVnMvCShU" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 615 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "default", + "defaultAnimation": "002", + "_preCacheMode": 0, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "002", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": { + "__uuid__": "879b9780-0fb7-43a4-823c-b3c2fb511b81" + }, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "7dKG3Zx3NAu6SCtbjpMd2a" + }, + { + "__type__": "cc.Node", + "_name": "skeleton", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 618 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 180 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 308.407, + 176.539, + 0, + 0, + 0, + -0.02181488503456112, + 0.9997620270799091, + 1.25, + 1.25, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -2.5 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "50AdqEnhtPgao4IQemWCIp" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 617 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "default", + "defaultAnimation": "006", + "_preCacheMode": 0, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "006", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": { + "__uuid__": "8f075b1e-2f12-4b9b-8600-abe8f8de6846" + }, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "44eJtBWS9DyqiDnTtRNvqU" + }, + { + "__type__": "cc.Node", + "_name": "skeleton", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 620 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 180 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -388.783, + -219.349, + 0, + 0, + 0, + 0.02181488503456112, + 0.9997620270799091, + 0.85, + 0.85, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 2.5 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "49p1F+vJhD+4DrE+TmrN0M" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 619 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "default", + "defaultAnimation": "005", + "_preCacheMode": 0, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "005", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": { + "__uuid__": "eec1e77d-4a7d-4850-8f75-70783a1fb019" + }, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "8abFt+SPxNsZ+gLX8A1bHk" + }, + { + "__type__": "cc.Node", + "_name": "skeleton", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 622 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 180 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -198.521, + -214.633, + 0, + 0, + 0, + -0.02181488503456112, + 0.9997620270799091, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -2.5 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "f6BYTSg61CZbqdm7eAc7GC" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 621 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "default", + "defaultAnimation": "008", + "_preCacheMode": 0, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "008", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": { + "__uuid__": "32d9a510-5cad-4839-a76f-0627308568b3" + }, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "f2dJ40vThIUrFOW3CJfLgC" + }, + { + "__type__": "cc.Node", + "_name": "skeleton", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 624 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 180 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -7.625, + -214.705, + 0, + 0, + 0, + 0, + 1, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "acDky/5atOMrDhrK7sJxC1" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 623 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "default", + "defaultAnimation": "004", + "_preCacheMode": 0, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "004", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": { + "__uuid__": "d9e7f55a-453a-4d4d-b3dd-7384e770da8b" + }, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "0cxcRcYBpHNbziPXZU6n+a" + }, + { + "__type__": "cc.Node", + "_name": "skeleton", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 626 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 180 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 190.092, + -212.725, + 0, + 0, + 0, + -0.01745240643728351, + 0.9998476951563913, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -2 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "4bajgIGPBK34fEKmgJA3iY" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 625 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "default", + "defaultAnimation": "003", + "_preCacheMode": 0, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "003", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": { + "__uuid__": "d1db9e21-17bf-46fb-afce-b40098cd7839" + }, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "0d4nLO+BZH+b785s7AArqB" + }, + { + "__type__": "cc.Node", + "_name": "skeleton", + "_objFlags": 0, + "_parent": { + "__id__": 608 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 628 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 180, + "height": 180 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 391.471, + -209.473, + 0, + 0, + 0, + -0.038387809087519945, + 0.9992629164106211, + 0.9, + 0.9, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -4.4 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "39Gxt0qMFJ6oquTvTSrq3p" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 627 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "default", + "defaultAnimation": "007", + "_preCacheMode": 0, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "007", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": { + "__uuid__": "b52dbb94-eee2-42eb-b50f-1b0dd820c1f8" + }, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "43DFMwVeZNXLJeuqe5qnIE" + }, { "__type__": "cc.Canvas", "_name": "", @@ -26533,13 +27645,13 @@ "_active": true, "_components": [ { - "__id__": 612 + "__id__": 633 }, { - "__id__": 613 + "__id__": 634 }, { - "__id__": 614 + "__id__": 635 } ], "_prefab": null, @@ -26595,7 +27707,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 611 + "__id__": 632 }, "_enabled": true, "_materials": [ @@ -26628,7 +27740,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 611 + "__id__": 632 }, "_enabled": true, "alignMode": 1, @@ -26655,11 +27767,11 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 611 + "__id__": 632 }, "_enabled": true, "uid_Number": { - "__id__": 612 + "__id__": 633 }, "_id": "67zCbKKV9PvYlB9x+eob0L" } diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 14f9693..e049113 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -2235,7 +2235,7 @@ export default class MapConroler extends cc.Component { addTime(time) { if (this.gameOver == true || this.timeNumber <= 0) return; this.timeNumber += time; - NumberToImage.getTimeMargi3((this.timeNumber - 1), 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3((this.timeNumber), 45, "company_", this.timeLabel) } //检测是否可以通过门 @@ -3890,7 +3890,7 @@ export default class MapConroler extends cc.Component { if (this.timeNumber <= 0) { this.stopTimeCutDown(); // var timeTemp = cc.fx.GameTool.getTimeMargin3(this.timeNumber); - NumberToImage.getTimeMargi3((this.timeNumber - 1), 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3((this.timeNumber), 45, "company_", this.timeLabel) // this.timeLabel.string = timeTemp.toString(); if (!this.pause) this.failLevel("time"); } @@ -3901,7 +3901,7 @@ export default class MapConroler extends cc.Component { if (!this.pause) this.failLevel("time"); } // var timeTemp = cc.fx.GameTool.getTimeMargin3(this.timeNumber); - NumberToImage.getTimeMargi3((this.timeNumber - 1), 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3((this.timeNumber), 45, "company_", this.timeLabel) // this.timeLabel.string = timeTemp.toString(); } }.bind(this); @@ -4003,7 +4003,7 @@ export default class MapConroler extends cc.Component { cc.fx.GameConfig.GM_INFO.freezeAmount -= 1; // 倒计时加20秒 this.timeNumber += 20; - NumberToImage.getTimeMargi3((this.timeNumber - 1), 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3((this.timeNumber), 45, "company_", this.timeLabel) if (cc.fx.GameConfig.GM_INFO.freezeAmount < 0) cc.fx.GameConfig.GM_INFO.freezeAmount = 0; this.setPropNum(); diff --git a/assets/resources/spine/action27.meta b/assets/resources/spine/action27.meta new file mode 100644 index 0000000..fddea8c --- /dev/null +++ b/assets/resources/spine/action27.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.3", + "uuid": "73314742-8aa0-4c5c-8959-0fa12a38d103", + "importer": "folder", + "isBundle": false, + "bundleName": "", + "priority": 1, + "compressionType": {}, + "optimizeHotUpdate": {}, + "inlineSpriteFrames": {}, + "isRemoteBundle": {}, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/resources/spine/action27/skeleton.atlas b/assets/resources/spine/action27/skeleton.atlas new file mode 100644 index 0000000..86e21a8 --- /dev/null +++ b/assets/resources/spine/action27/skeleton.atlas @@ -0,0 +1,111 @@ + +skeleton.png +size: 974,479 +format: RGBA8888 +filter: Linear,Linear +repeat: none +0090001 + rotate: true + xy: 2, 348 + size: 129, 190 + orig: 200, 200 + offset: 16, 0 + index: -1 +0090002 + rotate: true + xy: 190, 192 + size: 146, 191 + orig: 200, 200 + offset: 15, 0 + index: -1 +0090003 + rotate: true + xy: 576, 182 + size: 156, 182 + orig: 200, 200 + offset: 13, 0 + index: -1 +0090004 + rotate: true + xy: 769, 2 + size: 175, 199 + orig: 200, 200 + offset: 12, 0 + index: -1 +0090005 + rotate: true + xy: 569, 5 + size: 172, 198 + orig: 200, 200 + offset: 12, 0 + index: -1 +0090006 + rotate: true + xy: 187, 22 + size: 168, 195 + orig: 200, 200 + offset: 12, 0 + index: -1 +0090007 + rotate: true + xy: 384, 22 + size: 168, 183 + orig: 200, 200 + offset: 12, 0 + index: -1 +0090008 + rotate: true + xy: 2, 26 + size: 167, 183 + orig: 200, 200 + offset: 12, 0 + index: -1 +0090009 + rotate: true + xy: 760, 179 + size: 159, 183 + orig: 200, 200 + offset: 13, 0 + index: -1 +0090010 + rotate: true + xy: 2, 195 + size: 151, 186 + orig: 200, 200 + offset: 14, 0 + index: -1 +0090011 + rotate: true + xy: 383, 192 + size: 146, 191 + orig: 200, 200 + offset: 15, 0 + index: -1 +0090012 + rotate: true + xy: 194, 340 + size: 137, 193 + orig: 200, 200 + offset: 15, 0 + index: -1 +0090013 + rotate: true + xy: 389, 340 + size: 137, 193 + orig: 200, 200 + offset: 15, 0 + index: -1 +0090014 + rotate: true + xy: 584, 340 + size: 137, 193 + orig: 200, 200 + offset: 15, 0 + index: -1 +0090015 + rotate: true + xy: 779, 340 + size: 137, 193 + orig: 200, 200 + offset: 15, 0 + index: -1 diff --git a/assets/resources/spine/action27/skeleton.atlas.meta b/assets/resources/spine/action27/skeleton.atlas.meta new file mode 100644 index 0000000..6c06c8e --- /dev/null +++ b/assets/resources/spine/action27/skeleton.atlas.meta @@ -0,0 +1,6 @@ +{ + "ver": "1.0.3", + "uuid": "a023b779-85c2-4f90-ba58-5172c200adb3", + "importer": "asset", + "subMetas": {} +} \ No newline at end of file diff --git a/assets/resources/spine/action27/skeleton.json b/assets/resources/spine/action27/skeleton.json new file mode 100644 index 0000000..4f4a8b6 --- /dev/null +++ b/assets/resources/spine/action27/skeleton.json @@ -0,0 +1 @@ +{"skeleton":{"hash":"vCfWI1AAQZ+iUmuJBwO1+SDkky0","spine":"3.8.75","x":-100,"y":-100,"width":200,"height":200,"images":"../009/","audio":""},"bones":[{"name":"root"},{"name":"骨骼","parent":"root"}],"slots":[{"name":"0090001","bone":"root","attachment":"0090015"}],"skins":[{"name":"default","attachments":{"0090001":{"0090001":{"width":200,"height":200},"0090002":{"width":200,"height":200},"0090003":{"width":200,"height":200},"0090004":{"width":200,"height":200},"0090005":{"width":200,"height":200},"0090006":{"width":200,"height":200},"0090007":{"width":200,"height":200},"0090008":{"width":200,"height":200},"0090009":{"width":200,"height":200},"0090010":{"width":200,"height":200},"0090011":{"width":200,"height":200},"0090012":{"width":200,"height":200},"0090013":{"width":200,"height":200},"0090014":{"width":200,"height":200},"0090015":{"width":200,"height":200}}}}],"animations":{"009":{"slots":{"0090001":{"attachment":[{"name":"0090001"},{"time":0.0667,"name":"0090002"},{"time":0.1333,"name":"0090003"},{"time":0.2,"name":"0090004"},{"time":0.3,"name":"0090005"},{"time":0.4,"name":"0090006"},{"time":0.5,"name":"0090007"},{"time":0.6,"name":"0090008"},{"time":0.7,"name":"0090009"},{"time":0.8,"name":"0090010"},{"time":0.9,"name":"0090011"},{"time":1,"name":"0090012"},{"time":1.1,"name":"0090013"},{"time":1.2,"name":"0090014"},{"time":1.3,"name":"0090015"},{"time":1.4,"name":"0090014"},{"time":1.5,"name":"0090013"},{"time":1.6,"name":"0090001"}]}}},"animation":{}}} \ No newline at end of file diff --git a/assets/resources/spine/action27/skeleton.json.meta b/assets/resources/spine/action27/skeleton.json.meta new file mode 100644 index 0000000..b6a7c5b --- /dev/null +++ b/assets/resources/spine/action27/skeleton.json.meta @@ -0,0 +1,10 @@ +{ + "ver": "1.2.5", + "uuid": "27e9567c-70be-4df3-85b6-acc2be20df73", + "importer": "spine", + "textures": [ + "de1d24fc-d668-448e-b373-00596dcc4148" + ], + "scale": 1, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/resources/spine/action27/skeleton.png b/assets/resources/spine/action27/skeleton.png new file mode 100644 index 0000000..def7134 Binary files /dev/null and b/assets/resources/spine/action27/skeleton.png differ diff --git a/assets/resources/spine/action27/skeleton.png.meta b/assets/resources/spine/action27/skeleton.png.meta new file mode 100644 index 0000000..e5579d8 --- /dev/null +++ b/assets/resources/spine/action27/skeleton.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "de1d24fc-d668-448e-b373-00596dcc4148", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 974, + "height": 479, + "platformSettings": {}, + "subMetas": { + "skeleton": { + "ver": "1.0.6", + "uuid": "5d3da5fa-8657-4248-8970-6332b56a3b48", + "importer": "sprite-frame", + "rawTextureUuid": "de1d24fc-d668-448e-b373-00596dcc4148", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 2, + "trimY": 2, + "width": 970, + "height": 475, + "rawWidth": 974, + "rawHeight": 479, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file