woso_javan преди 1 седмица
родител
ревизия
9c3df3186f

Файловите разлики са ограничени, защото са твърде много
+ 511 - 207
assets/bundles/ui/UIWin.prefab


BIN
assets/bundles/ui/UIWin/BeiGuang.png


+ 134 - 0
assets/bundles/ui/UIWin/BeiGuang.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "052855f8-0bbe-4047-bf01-3479aec97a46",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "052855f8-0bbe-4047-bf01-3479aec97a46@6c48a",
+      "displayName": "BeiGuang",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "052855f8-0bbe-4047-bf01-3479aec97a46",
+        "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": "052855f8-0bbe-4047-bf01-3479aec97a46@f9941",
+      "displayName": "BeiGuang",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 378,
+        "height": 322,
+        "rawWidth": 378,
+        "rawHeight": 322,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -189,
+            -161,
+            0,
+            189,
+            -161,
+            0,
+            -189,
+            161,
+            0,
+            189,
+            161,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            322,
+            378,
+            322,
+            0,
+            0,
+            378,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -189,
+            -161,
+            0
+          ],
+          "maxPos": [
+            189,
+            161,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "052855f8-0bbe-4047-bf01-3479aec97a46@6c48a",
+        "atlasUuid": "",
+        "trimType": "auto"
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "052855f8-0bbe-4047-bf01-3479aec97a46@6c48a"
+  }
+}

BIN
assets/bundles/ui/UIWin/Next.png


+ 134 - 0
assets/bundles/ui/UIWin/Next.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "88ce542f-989d-440d-95e5-35779a26d421",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "88ce542f-989d-440d-95e5-35779a26d421@6c48a",
+      "displayName": "Next",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "88ce542f-989d-440d-95e5-35779a26d421",
+        "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": "88ce542f-989d-440d-95e5-35779a26d421@f9941",
+      "displayName": "Next",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 221,
+        "height": 90,
+        "rawWidth": 221,
+        "rawHeight": 90,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -110.5,
+            -45,
+            0,
+            110.5,
+            -45,
+            0,
+            -110.5,
+            45,
+            0,
+            110.5,
+            45,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            90,
+            221,
+            90,
+            0,
+            0,
+            221,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -110.5,
+            -45,
+            0
+          ],
+          "maxPos": [
+            110.5,
+            45,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "88ce542f-989d-440d-95e5-35779a26d421@6c48a",
+        "atlasUuid": "",
+        "trimType": "auto"
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "88ce542f-989d-440d-95e5-35779a26d421@6c48a"
+  }
+}

BIN
assets/bundles/ui/UIWin/TongGuan.png


+ 134 - 0
assets/bundles/ui/UIWin/TongGuan.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "f436ec27-2b98-47f8-9523-681d29015e4e",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "f436ec27-2b98-47f8-9523-681d29015e4e@6c48a",
+      "displayName": "TongGuan",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "f436ec27-2b98-47f8-9523-681d29015e4e",
+        "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": "f436ec27-2b98-47f8-9523-681d29015e4e@f9941",
+      "displayName": "TongGuan",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 262,
+        "height": 229,
+        "rawWidth": 262,
+        "rawHeight": 229,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -131,
+            -114.5,
+            0,
+            131,
+            -114.5,
+            0,
+            -131,
+            114.5,
+            0,
+            131,
+            114.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            229,
+            262,
+            229,
+            0,
+            0,
+            262,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -131,
+            -114.5,
+            0
+          ],
+          "maxPos": [
+            131,
+            114.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "f436ec27-2b98-47f8-9523-681d29015e4e@6c48a",
+        "atlasUuid": "",
+        "trimType": "auto"
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "f436ec27-2b98-47f8-9523-681d29015e4e@6c48a"
+  }
+}

BIN
assets/bundles/ui/UIWin/dk_gxgg.png


+ 20 - 20
assets/bundles/ui/UIWin/dk_gxgg.png.meta

@@ -46,10 +46,10 @@
         "offsetY": 0,
         "trimX": 0,
         "trimY": 0,
-        "width": 461,
-        "height": 650,
-        "rawWidth": 461,
-        "rawHeight": 650,
+        "width": 547,
+        "height": 685,
+        "rawWidth": 547,
+        "rawHeight": 685,
         "borderTop": 0,
         "borderBottom": 0,
         "borderLeft": 0,
@@ -61,17 +61,17 @@
         "meshType": 0,
         "vertices": {
           "rawPosition": [
-            -230.5,
-            -325,
+            -273.5,
+            -342.5,
             0,
-            230.5,
-            -325,
+            273.5,
+            -342.5,
             0,
-            -230.5,
-            325,
+            -273.5,
+            342.5,
             0,
-            230.5,
-            325,
+            273.5,
+            342.5,
             0
           ],
           "indexes": [
@@ -84,12 +84,12 @@
           ],
           "uv": [
             0,
-            650,
-            461,
-            650,
+            685,
+            547,
+            685,
             0,
             0,
-            461,
+            547,
             0
           ],
           "nuv": [
@@ -103,13 +103,13 @@
             1
           ],
           "minPos": [
-            -230.5,
-            -325,
+            -273.5,
+            -342.5,
             0
           ],
           "maxPos": [
-            230.5,
-            325,
+            273.5,
+            342.5,
             0
           ]
         },

+ 1 - 1
assets/scripts/game/Stage.ts

@@ -91,7 +91,7 @@ export class Stage extends Component {
         UIMgr.open(UI.Game)
         this.tip.active = GameMgr.mode === Mode.tp && GameMgr.CurLevel === 0
         this.scheduleOnce(() => {
-            if (GameMgr.isHardLevel) UIMgr.open(UI.StageTip, '难度飙升')
+            if (GameMgr.isHardLevel) UIMgr.open(UI.StageTip, 'Difficulty skyrockets')
         }, 1)
 
         switch (GameMgr.mode) {

+ 13 - 13
assets/scripts/ui/UIWin.ts

@@ -44,9 +44,9 @@ export class UIWin extends UIBase {
     private tw: Tween<Node> = null
 
     protected onLoad(): void {
-        this.pointer = this.findNode('Pointer')
-        this.lbCoin = this.findComp('LbCoin', Label)
-        this.coinItem = this.findComp('CoinItem', CoinItem)
+        // this.pointer = this.findNode('Pointer')
+        // this.lbCoin = this.findComp('LbCoin', Label)
+        // this.coinItem = this.findComp('CoinItem', CoinItem)
     }
 
     public onOpen(data?: unknown): void {
@@ -55,18 +55,18 @@ export class UIWin extends UIBase {
 
         GameMgr.passGame()
 
-        this.coinItem.init(CoinMgr.CurCoin)
+        // this.coinItem.init(CoinMgr.CurCoin)
 
         GameMgr.Pause = true
 
         const duration: number = 0.75
-        this.tw = tween(this.pointer).sequence(
-            tween(this.pointer).to(duration, { position: v3(120, -25) }),
-            tween(this.pointer).to(duration, { position: v3(-120, -25) })
-        ).repeatForever().start()
+        // this.tw = tween(this.pointer).sequence(
+        //     tween(this.pointer).to(duration, { position: v3(120, -25) }),
+        //     tween(this.pointer).to(duration, { position: v3(-120, -25) })
+        // ).repeatForever().start()
 
-        this.Coin = Global.Normal_Level_Coin_Default_Cnt + (GameMgr.CurLevel - 1) * Global.Normal_Level_Coin_Add_Cnt
-        CoinMgr.CurCoin += this.coin
+        // this.Coin = Global.Normal_Level_Coin_Default_Cnt + (GameMgr.CurLevel - 1) * Global.Normal_Level_Coin_Add_Cnt
+        // CoinMgr.CurCoin += this.coin
 
     }
 
@@ -82,13 +82,13 @@ export class UIWin extends UIBase {
             this.multi = this.multiArr[idx]
             const posRange: Vec2 = this.posArr[idx]
             const posX: number = math.randomRangeInt(posRange.x, posRange.y)
-            this.pointer.setPosition(posX, this.pointer.position.y)
+            // this.pointer.setPosition(posX, this.pointer.position.y)
 
             const extraCoin: number = (this.multi - 1) * this.coin
             this.Coin = this.multi * this.coin
 
             CoinMgr.CurCoin += extraCoin
-            this.coinItem.updateCoin(CoinMgr.CurCoin)
+            // this.coinItem.updateCoin(CoinMgr.CurCoin)
 
             InputBlock.Active = true
             await TimeMgr.delay(2)
@@ -102,7 +102,7 @@ export class UIWin extends UIBase {
     }
 
     protected async onBtnNextClick() {
-        this.coinItem.updateCoin(CoinMgr.CurCoin)
+        // this.coinItem.updateCoin(CoinMgr.CurCoin)
 
         InputBlock.Active = true
         await TimeMgr.delay(2)

Някои файлове не бяха показани, защото твърде много файлове са промени