Browse Source

【修改】:
1.智慧币功能修改;

youhaitao 2 years ago
parent
commit
f611c8f056

+ 5 - 4
assets/main/SceneMain.ts

@@ -192,9 +192,6 @@ export default class Scene extends cc.Component {
         this.node.addChild(this.nodeShow, CConst.ZORDER_GAME);
         this.node.getChildByName('bg').active = true;
         this.resetBtnNext(true);
-        // 智慧币
-        let scriptFinish = this.nodeFinish.getComponent(GameFinish);
-        scriptFinish.initGameFinish();
     }
 
     /** 加载视频 先不去除游戏节点 */
@@ -234,7 +231,11 @@ export default class Scene extends cc.Component {
         }
 
         this.nodeStart.active = false;
-        this.nodeFinish.active = false;
+        this.nodeFinish.active = true;
+        let gameFinish = this.nodeFinish.getComponent(GameFinish);
+        gameFinish.nodeSuc.active = false;
+        gameFinish.nodeCoin.active = false;
+        gameFinish.nodeLimit.active = false;
     }
 
     /** 事件回调:显示逻辑狗卡片 开始 */

BIN
assets/res/downCount/res/img/coin.png


+ 10 - 10
assets/res/downCount/res/img/coin.png.meta

@@ -1,6 +1,6 @@
 {
   "ver": "2.3.7",
-  "uuid": "e4508cf3-0eab-431e-bb4a-37d3c18904cd",
+  "uuid": "4aca58fa-9458-43f4-9e86-9fb3be021d74",
   "importer": "texture",
   "type": "sprite",
   "wrapMode": "clamp",
@@ -8,26 +8,26 @@
   "premultiplyAlpha": true,
   "genMipmaps": false,
   "packable": true,
-  "width": 60,
-  "height": 60,
+  "width": 66,
+  "height": 66,
   "platformSettings": {},
   "subMetas": {
     "coin": {
       "ver": "1.0.6",
-      "uuid": "2899e4d8-66b4-4623-a579-24d67f5c4e95",
+      "uuid": "dacde65a-46e1-40b3-8889-e26cfb2eafa9",
       "importer": "sprite-frame",
-      "rawTextureUuid": "e4508cf3-0eab-431e-bb4a-37d3c18904cd",
-      "trimType": "auto",
+      "rawTextureUuid": "4aca58fa-9458-43f4-9e86-9fb3be021d74",
+      "trimType": "none",
       "trimThreshold": 1,
       "rotated": false,
       "offsetX": 0,
       "offsetY": 0,
       "trimX": 0,
       "trimY": 0,
-      "width": 60,
-      "height": 60,
-      "rawWidth": 60,
-      "rawHeight": 60,
+      "width": 66,
+      "height": 66,
+      "rawWidth": 66,
+      "rawHeight": 66,
       "borderTop": 0,
       "borderBottom": 0,
       "borderLeft": 0,

+ 9 - 9
assets/res/downCount/res/prefab/downCount.prefab

@@ -802,8 +802,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 49.6,
-      "height": 48.8
+      "width": 48,
+      "height": 48
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -855,7 +855,7 @@
     "_srcBlendFactor": 1,
     "_dstBlendFactor": 771,
     "_spriteFrame": {
-      "__uuid__": "2899e4d8-66b4-4623-a579-24d67f5c4e95"
+      "__uuid__": "dacde65a-46e1-40b3-8889-e26cfb2eafa9"
     },
     "_type": 0,
     "_sizeMode": 0,
@@ -1092,8 +1092,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 49.6,
-      "height": 48.8
+      "width": 48,
+      "height": 48
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1145,7 +1145,7 @@
     "_srcBlendFactor": 1,
     "_dstBlendFactor": 771,
     "_spriteFrame": {
-      "__uuid__": "2899e4d8-66b4-4623-a579-24d67f5c4e95"
+      "__uuid__": "dacde65a-46e1-40b3-8889-e26cfb2eafa9"
     },
     "_type": 0,
     "_sizeMode": 0,
@@ -1382,8 +1382,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 49.6,
-      "height": 48.8
+      "width": 48,
+      "height": 48
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1435,7 +1435,7 @@
     "_srcBlendFactor": 1,
     "_dstBlendFactor": 771,
     "_spriteFrame": {
-      "__uuid__": "2899e4d8-66b4-4623-a579-24d67f5c4e95"
+      "__uuid__": "dacde65a-46e1-40b3-8889-e26cfb2eafa9"
     },
     "_type": 0,
     "_sizeMode": 0,

+ 0 - 0
assets/res/luojigouFinish/res/img/back.png → assets/res/luojigouFinish/res/img/back0.png


+ 3 - 3
assets/res/luojigouFinish/res/img/back.png.meta → assets/res/luojigouFinish/res/img/back0.png.meta

@@ -12,7 +12,7 @@
   "height": 108,
   "platformSettings": {},
   "subMetas": {
-    "back": {
+    "back0": {
       "ver": "1.0.6",
       "uuid": "0528662a-5b95-4746-ba10-a638617ce585",
       "importer": "sprite-frame",
@@ -28,8 +28,8 @@
       "height": 108,
       "rawWidth": 189,
       "rawHeight": 108,
-      "borderTop": 53,
-      "borderBottom": 53,
+      "borderTop": 50,
+      "borderBottom": 50,
       "borderLeft": 80,
       "borderRight": 80,
       "subMetas": {}

BIN
assets/res/luojigouFinish/res/img/back1.png


+ 38 - 0
assets/res/luojigouFinish/res/img/back1.png.meta

@@ -0,0 +1,38 @@
+{
+  "ver": "2.3.7",
+  "uuid": "fb4c27a1-8f3f-4ab4-a394-70aa11c6202d",
+  "importer": "texture",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": true,
+  "genMipmaps": false,
+  "packable": true,
+  "width": 264,
+  "height": 99,
+  "platformSettings": {},
+  "subMetas": {
+    "back1": {
+      "ver": "1.0.6",
+      "uuid": "dde0a6f6-8512-47d4-879e-1c12ba80039a",
+      "importer": "sprite-frame",
+      "rawTextureUuid": "fb4c27a1-8f3f-4ab4-a394-70aa11c6202d",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 0,
+      "trimX": 0,
+      "trimY": 0,
+      "width": 264,
+      "height": 99,
+      "rawWidth": 264,
+      "rawHeight": 99,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

BIN
assets/res/luojigouFinish/res/img/coin0.png


+ 10 - 10
assets/res/luojigouFinish/res/img/coin0.png.meta

@@ -1,6 +1,6 @@
 {
   "ver": "2.3.7",
-  "uuid": "e5fec125-9bdf-4bf5-87ad-5a26b5c54b5f",
+  "uuid": "492ce9dc-e9b6-4c75-a5f3-72b24e503078",
   "importer": "texture",
   "type": "sprite",
   "wrapMode": "clamp",
@@ -8,26 +8,26 @@
   "premultiplyAlpha": true,
   "genMipmaps": false,
   "packable": true,
-  "width": 60,
-  "height": 60,
+  "width": 66,
+  "height": 66,
   "platformSettings": {},
   "subMetas": {
     "coin0": {
       "ver": "1.0.6",
-      "uuid": "a6eee542-92de-402d-87bf-17bcf0aa8856",
+      "uuid": "32780b72-c619-47a8-afdb-50a087bfe59b",
       "importer": "sprite-frame",
-      "rawTextureUuid": "e5fec125-9bdf-4bf5-87ad-5a26b5c54b5f",
-      "trimType": "auto",
+      "rawTextureUuid": "492ce9dc-e9b6-4c75-a5f3-72b24e503078",
+      "trimType": "none",
       "trimThreshold": 1,
       "rotated": false,
       "offsetX": 0,
       "offsetY": 0,
       "trimX": 0,
       "trimY": 0,
-      "width": 60,
-      "height": 60,
-      "rawWidth": 60,
-      "rawHeight": 60,
+      "width": 66,
+      "height": 66,
+      "rawWidth": 66,
+      "rawHeight": 66,
       "borderTop": 0,
       "borderBottom": 0,
       "borderLeft": 0,

BIN
assets/res/luojigouFinish/res/img/coin1.png


+ 7 - 7
assets/res/luojigouFinish/res/img/coin1.png.meta

@@ -1,6 +1,6 @@
 {
   "ver": "2.3.7",
-  "uuid": "603e582a-7261-4ee5-b39c-853af8bb0941",
+  "uuid": "e5fec125-9bdf-4bf5-87ad-5a26b5c54b5f",
   "importer": "texture",
   "type": "sprite",
   "wrapMode": "clamp",
@@ -14,18 +14,18 @@
   "subMetas": {
     "coin1": {
       "ver": "1.0.6",
-      "uuid": "23984f9b-e91d-4810-9635-8fc9d7902a64",
+      "uuid": "a6eee542-92de-402d-87bf-17bcf0aa8856",
       "importer": "sprite-frame",
-      "rawTextureUuid": "603e582a-7261-4ee5-b39c-853af8bb0941",
+      "rawTextureUuid": "e5fec125-9bdf-4bf5-87ad-5a26b5c54b5f",
       "trimType": "auto",
       "trimThreshold": 1,
       "rotated": false,
       "offsetX": 0,
-      "offsetY": 0.5,
-      "trimX": 1,
+      "offsetY": 0,
+      "trimX": 0,
       "trimY": 0,
-      "width": 100,
-      "height": 101,
+      "width": 102,
+      "height": 102,
       "rawWidth": 102,
       "rawHeight": 102,
       "borderTop": 0,

+ 100 - 87
assets/res/luojigouFinish/res/prefab/luojigouFinish.prefab

@@ -21,23 +21,23 @@
         "__id__": 2
       },
       {
-        "__id__": 29
+        "__id__": 30
       },
       {
-        "__id__": 52
+        "__id__": 53
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 61
+        "__id__": 62
       },
       {
-        "__id__": 62
+        "__id__": 63
       }
     ],
     "_prefab": {
-      "__id__": 63
+      "__id__": 64
     },
     "_opacity": 255,
     "_color": {
@@ -120,10 +120,13 @@
     "_components": [
       {
         "__id__": 27
+      },
+      {
+        "__id__": 28
       }
     ],
     "_prefab": {
-      "__id__": 28
+      "__id__": 29
     },
     "_opacity": 255,
     "_color": {
@@ -195,7 +198,7 @@
     "_prefab": {
       "__id__": 7
     },
-    "_opacity": 150,
+    "_opacity": 204,
     "_color": {
       "__type__": "cc.Color",
       "r": 0,
@@ -1009,8 +1012,8 @@
         0,
         0,
         1,
-        2,
-        2,
+        1.5,
+        1.5,
         1
       ]
     },
@@ -1248,6 +1251,16 @@
     "_originalHeight": 1080,
     "_id": ""
   },
+  {
+    "__type__": "cc.BlockInputEvents",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "_id": ""
+  },
   {
     "__type__": "cc.PrefabInfo",
     "root": {
@@ -1268,26 +1281,26 @@
     },
     "_children": [
       {
-        "__id__": 30
+        "__id__": 31
       },
       {
-        "__id__": 33
+        "__id__": 34
       },
       {
-        "__id__": 36
+        "__id__": 37
       },
       {
-        "__id__": 47
+        "__id__": 48
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 50
+        "__id__": 51
       }
     ],
     "_prefab": {
-      "__id__": 51
+      "__id__": 52
     },
     "_opacity": 255,
     "_color": {
@@ -1311,7 +1324,7 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        585,
+        785,
         435,
         0,
         0,
@@ -1341,17 +1354,17 @@
     "_name": "back",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 29
+      "__id__": 30
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 31
+        "__id__": 32
       }
     ],
     "_prefab": {
-      "__id__": 32
+      "__id__": 33
     },
     "_opacity": 255,
     "_color": {
@@ -1363,8 +1376,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 189,
-      "height": 108
+      "width": 200,
+      "height": 100
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1405,7 +1418,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 30
+      "__id__": 31
     },
     "_enabled": true,
     "_materials": [
@@ -1418,8 +1431,8 @@
     "_spriteFrame": {
       "__uuid__": "0528662a-5b95-4746-ba10-a638617ce585"
     },
-    "_type": 0,
-    "_sizeMode": 1,
+    "_type": 1,
+    "_sizeMode": 0,
     "_fillType": 0,
     "_fillCenter": {
       "__type__": "cc.Vec2",
@@ -1448,17 +1461,17 @@
     "_name": "sign",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 29
+      "__id__": 30
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 34
+        "__id__": 35
       }
     ],
     "_prefab": {
-      "__id__": 35
+      "__id__": 36
     },
     "_opacity": 255,
     "_color": {
@@ -1470,8 +1483,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 60,
-      "height": 60
+      "width": 66,
+      "height": 66
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1512,7 +1525,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 33
+      "__id__": 34
     },
     "_enabled": true,
     "_materials": [
@@ -1523,10 +1536,10 @@
     "_srcBlendFactor": 1,
     "_dstBlendFactor": 771,
     "_spriteFrame": {
-      "__uuid__": "a6eee542-92de-402d-87bf-17bcf0aa8856"
+      "__uuid__": "32780b72-c619-47a8-afdb-50a087bfe59b"
     },
     "_type": 0,
-    "_sizeMode": 1,
+    "_sizeMode": 2,
     "_fillType": 0,
     "_fillCenter": {
       "__type__": "cc.Vec2",
@@ -1535,7 +1548,7 @@
     },
     "_fillStart": 0,
     "_fillRange": 0,
-    "_isTrimmedMode": true,
+    "_isTrimmedMode": false,
     "_atlas": null,
     "_id": ""
   },
@@ -1555,23 +1568,23 @@
     "_name": "coin",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 29
+      "__id__": 30
     },
     "_children": [
       {
-        "__id__": 37
+        "__id__": 38
       },
       {
-        "__id__": 40
+        "__id__": 41
       },
       {
-        "__id__": 43
+        "__id__": 44
       }
     ],
     "_active": false,
     "_components": [],
     "_prefab": {
-      "__id__": 46
+      "__id__": 47
     },
     "_opacity": 255,
     "_color": {
@@ -1625,17 +1638,17 @@
     "_name": "icon0",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 36
+      "__id__": 37
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 38
+        "__id__": 39
       }
     ],
     "_prefab": {
-      "__id__": 39
+      "__id__": 40
     },
     "_opacity": 255,
     "_color": {
@@ -1647,8 +1660,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 60,
-      "height": 60
+      "width": 102,
+      "height": 102
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1666,8 +1679,8 @@
         0,
         0,
         1,
-        0.99,
-        0.99,
+        0.62,
+        0.62,
         1
       ]
     },
@@ -1689,7 +1702,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 37
+      "__id__": 38
     },
     "_enabled": true,
     "_materials": [
@@ -1732,17 +1745,17 @@
     "_name": "icon1",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 36
+      "__id__": 37
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 41
+        "__id__": 42
       }
     ],
     "_prefab": {
-      "__id__": 42
+      "__id__": 43
     },
     "_opacity": 255,
     "_color": {
@@ -1754,8 +1767,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 60,
-      "height": 60
+      "width": 102,
+      "height": 102
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1773,8 +1786,8 @@
         0,
         0,
         1,
-        0.99,
-        0.99,
+        0.62,
+        0.62,
         1
       ]
     },
@@ -1796,7 +1809,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 40
+      "__id__": 41
     },
     "_enabled": true,
     "_materials": [
@@ -1839,17 +1852,17 @@
     "_name": "icon2",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 36
+      "__id__": 37
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 44
+        "__id__": 45
       }
     ],
     "_prefab": {
-      "__id__": 45
+      "__id__": 46
     },
     "_opacity": 255,
     "_color": {
@@ -1861,8 +1874,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 60,
-      "height": 60
+      "width": 102,
+      "height": 102
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1880,8 +1893,8 @@
         0,
         0,
         1,
-        0.99,
-        0.99,
+        0.62,
+        0.62,
         1
       ]
     },
@@ -1903,7 +1916,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 43
+      "__id__": 44
     },
     "_enabled": true,
     "_materials": [
@@ -1957,17 +1970,17 @@
     "_name": "score",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 29
+      "__id__": 30
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 48
+        "__id__": 49
       }
     ],
     "_prefab": {
-      "__id__": 49
+      "__id__": 50
     },
     "_opacity": 255,
     "_color": {
@@ -1991,7 +2004,7 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        35,
+        40,
         0,
         0,
         0,
@@ -2021,7 +2034,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 47
+      "__id__": 48
     },
     "_enabled": true,
     "_materials": [
@@ -2065,14 +2078,14 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 29
+      "__id__": 30
     },
     "_enabled": true,
     "alignMode": 1,
     "_target": null,
     "_alignFlags": 33,
     "_left": 960,
-    "_right": 375,
+    "_right": 175,
     "_top": 40,
     "_bottom": 475,
     "_verticalCenter": 0,
@@ -2107,20 +2120,20 @@
     },
     "_children": [
       {
-        "__id__": 53
+        "__id__": 54
       },
       {
-        "__id__": 56
+        "__id__": 57
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 59
+        "__id__": 60
       }
     ],
     "_prefab": {
-      "__id__": 60
+      "__id__": 61
     },
     "_opacity": 255,
     "_color": {
@@ -2144,7 +2157,7 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        360,
+        550,
         435,
         0,
         0,
@@ -2174,17 +2187,17 @@
     "_name": "back",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 52
+      "__id__": 53
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 54
+        "__id__": 55
       }
     ],
     "_prefab": {
-      "__id__": 55
+      "__id__": 56
     },
     "_opacity": 255,
     "_color": {
@@ -2238,7 +2251,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 53
+      "__id__": 54
     },
     "_enabled": true,
     "_materials": [
@@ -2249,7 +2262,7 @@
     "_srcBlendFactor": 1,
     "_dstBlendFactor": 771,
     "_spriteFrame": {
-      "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
+      "__uuid__": "dde0a6f6-8512-47d4-879e-1c12ba80039a"
     },
     "_type": 0,
     "_sizeMode": 0,
@@ -2281,17 +2294,17 @@
     "_name": "labe",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 52
+      "__id__": 53
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 57
+        "__id__": 58
       }
     ],
     "_prefab": {
-      "__id__": 58
+      "__id__": 59
     },
     "_opacity": 255,
     "_color": {
@@ -2345,7 +2358,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 56
+      "__id__": 57
     },
     "_enabled": true,
     "_materials": [
@@ -2389,14 +2402,14 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 52
+      "__id__": 53
     },
     "_enabled": true,
     "alignMode": 1,
     "_target": null,
     "_alignFlags": 33,
     "_left": 0,
-    "_right": 600,
+    "_right": 410,
     "_top": 40,
     "_bottom": 0,
     "_verticalCenter": 0,
@@ -2434,10 +2447,10 @@
       "__id__": 2
     },
     "nodeCoin": {
-      "__id__": 29
+      "__id__": 30
     },
     "nodeLimit": {
-      "__id__": 52
+      "__id__": 53
     },
     "_id": ""
   },

+ 7 - 14
assets/res/luojigouFinish/src/LuojigouFinish.ts

@@ -60,31 +60,22 @@ export default class LuojigouFinish extends cc.Component {
     };
 
     updateUI() {
+        // 动画
         this.node.active = true;
         this.nodeSuc.active = true;
         this.nodeSuc.getChildByName('spine').active = true;
         this.nodeSuc.getChildByName('spine').scale = this.dataQues.nodeSuc.spine.scale;
         this.nodeSuc.getChildByName('score').active = false;
         this.nodeSuc.getChildByName('score').opacity = this.dataQues.nodeSuc.score.opacity;
-        
+        // 智慧币
         this.nodeCoin.active = true;
         this.nodeCoin.getChildByName('coin').active = false;
         this.nodeCoin.getChildByName('coin').position = this.dataQues.nodeCoin.coin.position;
         this.nodeCoin.getChildByName('sign').scale = this.dataQues.nodeCoin.sign.scale;
-        let arrCoinCoin = Tools.getArrByNode(this.nodeCoin.getChildByName('coin'), 'icon');
-        arrCoinCoin.forEach((item) => {
-            item.scale = this.dataQues.nodeSuc.coin.scale; 
-            item.position = cc.v3(0, 0, 0);
-        });
-    }
-
-    initGameFinish() {
-        this.node.active = true;
-        this.nodeSuc.active = false;
-        this.nodeLimit.active = false;
-        this.nodeCoin.active = true;
         let itemScore = this.nodeCoin.getChildByName('score');
         itemScore.getComponent(cc.Label).string = String(common.coinBase.data.userWisdomCoin);
+        // 已达上限
+        this.nodeLimit.active = false;
     }
 
     /**
@@ -92,6 +83,7 @@ export default class LuojigouFinish extends cc.Component {
      * @description 星星数
      */
     setAnimation(props: PropsFinish): void {
+        this.updateUI();
         let coinData = common.coinBase.data;
         let coinCur = coinData.userWisdomCoin;
         let coinElse = coinData.remainderWisdomCoin;
@@ -102,7 +94,6 @@ export default class LuojigouFinish extends cc.Component {
         common.httpReportdata();// 数据上报
         common.setGameToLocal();// 修改本地数据
 
-        this.updateUI();
         let sucSpine = this.nodeSuc.getChildByName('spine');
         let sucCoin = this.nodeSuc.getChildByName('coin');
         let coinCoin = this.nodeCoin.getChildByName('coin');
@@ -110,6 +101,8 @@ export default class LuojigouFinish extends cc.Component {
         let arrCoinCoin = Tools.getArrByNode(coinCoin, 'icon');
         arrCoinCoin.forEach((item, index)=>{
             item.active = index < props.star;
+            item.scale = this.dataQues.nodeSuc.coin.scale; 
+            item.position = cc.v3(0, 0, 0);
         });
 
         let timeScale = 1.2;

+ 1 - 1
assets/src/common/CConst.ts

@@ -13,7 +13,7 @@ class CConst{
     ZORDER_VIDEO = 999; // 视频节点
     ZORDER_COUNTDOWN = 1000; // 倒计时节点 
     ZORDER_LJG_START = 1001; // 逻辑狗开始节点
-    ZORDER_LJG_FINISH = 1002; // 逻辑狗结束节点
+    ZORDER_LJG_FINISH = 1006; // 逻辑狗结束节点
     ZORDER_PAGE_MAP = 1003; // 地图节点
     ZORDER_BUTTON_NEXT = 1004; // 下一个游戏    
     ZORDER_TIP = 1005; // 提示节点