Sfoglia il codice sorgente

【预制体】微信提现到零钱,添加游戏通关预制体

mojunshou 8 mesi fa
parent
commit
59beb63af9

File diff suppressed because it is too large
+ 2658 - 0
assets/bundle/gui/eliminate/prefab/cashWithdrawal.prefab


+ 13 - 0
assets/bundle/gui/eliminate/prefab/cashWithdrawal.prefab.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "1.1.50",
+  "importer": "prefab",
+  "imported": true,
+  "uuid": "6e44d3f2-5af2-4a82-9156-6ea5d44459ed",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {
+    "syncNodeName": "cashWithdrawal"
+  }
+}

+ 11 - 11
assets/bundle/gui/eliminate/prefab/doubleRewards.prefab

@@ -862,8 +862,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 120,
-      "height": 50.4
+      "width": 126,
+      "height": 56.4
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -915,15 +915,15 @@
     "_isUnderline": true,
     "_underlineHeight": 2,
     "_cacheMode": 0,
-    "_enableOutline": false,
+    "_enableOutline": true,
     "_outlineColor": {
       "__type__": "cc.Color",
-      "r": 0,
-      "g": 0,
-      "b": 0,
+      "r": 75,
+      "g": 69,
+      "b": 69,
       "a": 255
     },
-    "_outlineWidth": 2,
+    "_outlineWidth": 3,
     "_enableShadow": false,
     "_shadowColor": {
       "__type__": "cc.Color",
@@ -1451,7 +1451,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 11.363,
+      "y": 5.347,
       "z": 0
     },
     "_lrot": {
@@ -1524,9 +1524,9 @@
     "_fontSize": 30,
     "_fontColor": {
       "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
+      "r": 3,
+      "g": 3,
+      "b": 3,
       "a": 255
     },
     "_maxWidth": 0,

File diff suppressed because it is too large
+ 1360 - 0
assets/bundle/gui/eliminate/prefab/gamePass.prefab


+ 13 - 0
assets/bundle/gui/eliminate/prefab/gamePass.prefab.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "1.1.50",
+  "importer": "prefab",
+  "imported": true,
+  "uuid": "f9a8e86c-3872-44b2-b4ad-435f869449ec",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {
+    "syncNodeName": "gamePass"
+  }
+}

BIN
assets/bundle/gui/eliminate/texture/state_type_1.png


+ 134 - 0
assets/bundle/gui/eliminate/texture/state_type_1.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "85fca9aa-9246-4da1-9a76-bc187b846570",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "85fca9aa-9246-4da1-9a76-bc187b846570@6c48a",
+      "displayName": "state_type_1",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "85fca9aa-9246-4da1-9a76-bc187b846570",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "85fca9aa-9246-4da1-9a76-bc187b846570@f9941",
+      "displayName": "state_type_1",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 225,
+        "height": 84,
+        "rawWidth": 225,
+        "rawHeight": 84,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -112.5,
+            -42,
+            0,
+            112.5,
+            -42,
+            0,
+            -112.5,
+            42,
+            0,
+            112.5,
+            42,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            84,
+            225,
+            84,
+            0,
+            0,
+            225,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -112.5,
+            -42,
+            0
+          ],
+          "maxPos": [
+            112.5,
+            42,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "85fca9aa-9246-4da1-9a76-bc187b846570@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "85fca9aa-9246-4da1-9a76-bc187b846570@6c48a"
+  }
+}

BIN
assets/bundle/gui/eliminate/texture/state_type_2.png


+ 134 - 0
assets/bundle/gui/eliminate/texture/state_type_2.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "21023bc4-d80b-4641-8a33-cb39772902b3",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "21023bc4-d80b-4641-8a33-cb39772902b3@6c48a",
+      "displayName": "state_type_2",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "21023bc4-d80b-4641-8a33-cb39772902b3",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "21023bc4-d80b-4641-8a33-cb39772902b3@f9941",
+      "displayName": "state_type_2",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 255,
+        "height": 84,
+        "rawWidth": 255,
+        "rawHeight": 84,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -127.5,
+            -42,
+            0,
+            127.5,
+            -42,
+            0,
+            -127.5,
+            42,
+            0,
+            127.5,
+            42,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            84,
+            255,
+            84,
+            0,
+            0,
+            255,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -127.5,
+            -42,
+            0
+          ],
+          "maxPos": [
+            127.5,
+            42,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "21023bc4-d80b-4641-8a33-cb39772902b3@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "21023bc4-d80b-4641-8a33-cb39772902b3@6c48a"
+  }
+}

BIN
assets/bundle/gui/eliminate/texture/state_type_3.png


+ 134 - 0
assets/bundle/gui/eliminate/texture/state_type_3.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "2fed8089-cf8d-405b-8b1f-0a4de3b28fd2",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "2fed8089-cf8d-405b-8b1f-0a4de3b28fd2@6c48a",
+      "displayName": "state_type_3",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "2fed8089-cf8d-405b-8b1f-0a4de3b28fd2",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "2fed8089-cf8d-405b-8b1f-0a4de3b28fd2@f9941",
+      "displayName": "state_type_3",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 339,
+        "height": 84,
+        "rawWidth": 339,
+        "rawHeight": 84,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -169.5,
+            -42,
+            0,
+            169.5,
+            -42,
+            0,
+            -169.5,
+            42,
+            0,
+            169.5,
+            42,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            84,
+            339,
+            84,
+            0,
+            0,
+            339,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -169.5,
+            -42,
+            0
+          ],
+          "maxPos": [
+            169.5,
+            42,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "2fed8089-cf8d-405b-8b1f-0a4de3b28fd2@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "2fed8089-cf8d-405b-8b1f-0a4de3b28fd2@6c48a"
+  }
+}

+ 19 - 0
assets/script/game/eliminate/view/CashWithdrawalView.ts

@@ -0,0 +1,19 @@
+/*
+ * @Author: mojunshou 1637302775@qq.com
+ * @Date: 2025-03-21 15:03:37
+ * @LastEditors: mojunshou 1637302775@qq.com
+ * @LastEditTime: 2025-03-21 15:04:55
+ * @Description: 微信提现到零钱,需要有一个动画展示步骤
+ */
+import { _decorator } from 'cc';
+import { GameComponent } from "db://oops-framework/module/common/GameComponent";
+
+const { ccclass, property } = _decorator;
+
+/** 显示对象控制 */
+@ccclass('CashWithdrawalView')
+export class CashWithdrawalView extends GameComponent {
+    protected start() {
+
+    }
+}

+ 9 - 0
assets/script/game/eliminate/view/CashWithdrawalView.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.24",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "a2b4f691-f3e5-44f5-971e-da39c59b79d6",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 21 - 0
assets/script/game/eliminate/view/GamePassView.ts

@@ -0,0 +1,21 @@
+/*
+ * @Author: mojunshou 1637302775@qq.com
+ * @Date: 2025-03-21 14:43:24
+ * @LastEditors: mojunshou 1637302775@qq.com
+ * @LastEditTime: 2025-03-21 15:00:43
+ * @Description: 游戏通关弹窗
+ */
+import { _decorator } from 'cc';
+import { GameComponent } from "db://oops-framework/module/common/GameComponent";
+
+const { ccclass, property } = _decorator;
+
+/** 显示对象控制 */
+@ccclass('GamePassView')
+export class GamePassView extends GameComponent {
+    protected start() {
+
+    }
+
+
+} 

+ 9 - 0
assets/script/game/eliminate/view/GamePassView.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.24",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "8bd17dc8-1405-4c2b-85fc-17877987704f",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 7 - 0
assets/script/game/eliminate/view/RedPackeItemView.ts

@@ -1,3 +1,10 @@
+/*
+ * @Author: mojunshou 1637302775@qq.com
+ * @Date: 2025-03-20 18:39:37
+ * @LastEditors: mojunshou 1637302775@qq.com
+ * @LastEditTime: 2025-03-21 14:30:02
+ * @Description: 红包列表item
+ */
 import { _decorator } from 'cc';
 import { GameComponent } from "db://oops-framework/module/common/GameComponent";
 

+ 2 - 2
assets/script/game/eliminate/view/WechatWithdrawalViewComp.ts

@@ -2,8 +2,8 @@
  * @Author: mojunshou 1637302775@qq.com
  * @Date: 2025-03-20 17:00:12
  * @LastEditors: mojunshou 1637302775@qq.com
- * @LastEditTime: 2025-03-20 17:34:17
- * @Description: 
+ * @LastEditTime: 2025-03-21 14:30:22
+ * @Description: 微信提现页面
  */
 import { _decorator } from "cc";
 import { oops } from "db://oops-framework/core/Oops";

+ 8 - 0
assets/script/game/eliminate/view/WithdrawalRecordViewComp.ts

@@ -1,3 +1,10 @@
+/*
+ * @Author: mojunshou 1637302775@qq.com
+ * @Date: 2025-03-21 10:17:49
+ * @LastEditors: mojunshou 1637302775@qq.com
+ * @LastEditTime: 2025-03-21 14:30:48
+ * @Description: 提现记录
+ */
 import { _decorator } from "cc";
 import { ecs } from "db://oops-framework/libs/ecs/ECS";
 import { CCComp } from "db://oops-framework/module/common/CCComp";
@@ -17,4 +24,5 @@ export class WithdrawalRecordViewComp extends CCComp {
     reset() {
         this.node.destroy();
     }
+
 }