فهرست منبع

【功能迭代】完善二倍速指引。第四关展示二倍速指引,然后开启二倍速

mojunshou 6 ماه پیش
والد
کامیت
85851a3a49

+ 139 - 337
assets/bundle/gui/eliminate/prefab/popup/UnlockDoubleSpeed.prefab

@@ -20,33 +20,87 @@
     "_children": [
       {
         "__id__": 2
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 28
       },
       {
-        "__id__": 8
+        "__id__": 30
+      }
+    ],
+    "_prefab": {
+      "__id__": 32
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "bg9",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 3
       },
       {
-        "__id__": 14
+        "__id__": 9
       },
       {
-        "__id__": 28
+        "__id__": 15
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 34
+        "__id__": 21
+      },
+      {
+        "__id__": 23
       },
       {
-        "__id__": 36
+        "__id__": 25
       }
     ],
     "_prefab": {
-      "__id__": 38
+      "__id__": 27
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 0,
+      "y": 21.398,
       "z": 0
     },
     "_lrot": {
@@ -74,29 +128,29 @@
   },
   {
     "__type__": "cc.Node",
-    "_name": "title_jsgn",
+    "_name": "title_sbsy",
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 1
+      "__id__": 2
     },
     "_children": [],
-    "_active": false,
+    "_active": true,
     "_components": [
       {
-        "__id__": 3
+        "__id__": 4
       },
       {
-        "__id__": 5
+        "__id__": 6
       }
     ],
     "_prefab": {
-      "__id__": 7
+      "__id__": 8
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 461.038,
+      "y": 265.487,
       "z": 0
     },
     "_lrot": {
@@ -128,16 +182,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 2
+      "__id__": 3
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 4
+      "__id__": 5
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 685,
-      "height": 118
+      "width": 378,
+      "height": 90
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -148,7 +202,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "eeypXJuGFAzrxiN1sn8krv"
+    "fileId": "69xvvMVUFDEJ7Cx1lm6hf1"
   },
   {
     "__type__": "cc.Sprite",
@@ -156,11 +210,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 2
+      "__id__": 3
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 6
+      "__id__": 7
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -173,7 +227,7 @@
       "a": 255
     },
     "_spriteFrame": {
-      "__uuid__": "84851d76-5fff-4cce-9285-b1c9c89d2490@f9941",
+      "__uuid__": "c668c14d-084f-43fd-a23f-67439dc9fb61@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
     "_type": 0,
@@ -193,7 +247,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "3dr56TqrRCEKy20SDVhdqb"
+    "fileId": "17jD07hspKwa6my3y21Ypk"
   },
   {
     "__type__": "cc.PrefabInfo",
@@ -203,36 +257,36 @@
     "asset": {
       "__id__": 0
     },
-    "fileId": "73EMYmM/5MdKr8wmsyUqIG",
+    "fileId": "c3n9YDnmpKjIho3w0vZicT",
     "instance": null,
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
   },
   {
     "__type__": "cc.Node",
-    "_name": "bg9",
+    "_name": "icon_2x_2",
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 1
+      "__id__": 2
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 9
+        "__id__": 10
       },
       {
-        "__id__": 11
+        "__id__": 12
       }
     ],
     "_prefab": {
-      "__id__": 13
+      "__id__": 14
     },
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 21.398,
+      "y": 65.74,
       "z": 0
     },
     "_lrot": {
@@ -264,16 +318,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 8
+      "__id__": 9
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 10
+      "__id__": 11
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 679,
-      "height": 720
+      "width": 198,
+      "height": 153
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -284,7 +338,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "2aKCo7/d9Dp533QPaRvY39"
+    "fileId": "50T1Kw+6JPoYmrHczXFNsS"
   },
   {
     "__type__": "cc.Sprite",
@@ -292,11 +346,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 8
+      "__id__": 9
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 12
+      "__id__": 13
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -309,7 +363,7 @@
       "a": 255
     },
     "_spriteFrame": {
-      "__uuid__": "52e88965-937c-4adb-8e8f-568a75930810@f9941",
+      "__uuid__": "c0ad88bd-e760-4716-9449-a994dc13c880@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
     "_type": 0,
@@ -329,7 +383,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "a86TvpKZ1C46nYR5kfftJJ"
+    "fileId": "8aBUUa73ZKX5kKaW/tn5m4"
   },
   {
     "__type__": "cc.PrefabInfo",
@@ -339,75 +393,18 @@
     "asset": {
       "__id__": 0
     },
-    "fileId": "5akHeLEThG3rLuMeDebISX",
+    "fileId": "dbN6RdcLNHCYRfhq1S922R",
     "instance": null,
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
   },
   {
     "__type__": "cc.Node",
-    "_name": "btn_confirm",
+    "_name": "text_sbsy",
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 1
-    },
-    "_children": [
-      {
-        "__id__": 15
-      }
-    ],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 21
-      },
-      {
-        "__id__": 23
-      },
-      {
-        "__id__": 25
-      }
-    ],
-    "_prefab": {
-      "__id__": 27
-    },
-    "_lpos": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": -183.589,
-      "z": 0
-    },
-    "_lrot": {
-      "__type__": "cc.Quat",
-      "x": 0,
-      "y": 0,
-      "z": 0,
-      "w": 1
-    },
-    "_lscale": {
-      "__type__": "cc.Vec3",
-      "x": 1,
-      "y": 1,
-      "z": 1
-    },
-    "_mobility": 0,
-    "_layer": 33554432,
-    "_euler": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
-    },
-    "_id": ""
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "Label",
-    "_objFlags": 512,
-    "__editorExtras__": {},
-    "_parent": {
-      "__id__": 14
+      "__id__": 2
     },
     "_children": [],
     "_active": true,
@@ -424,8 +421,8 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
+      "x": 30.341,
+      "y": -79.553,
       "z": 0
     },
     "_lrot": {
@@ -465,8 +462,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 200,
-      "height": 60
+      "width": 622,
+      "height": 65
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -477,10 +474,10 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "e9+I/PIPZBLZOVYlG/LeNc"
+    "fileId": "0c+7P4NqNCuIFpWiGl45AI"
   },
   {
-    "__type__": "cc.Label",
+    "__type__": "cc.Sprite",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
@@ -501,51 +498,28 @@
       "b": 255,
       "a": 255
     },
-    "_string": "立即启动",
-    "_horizontalAlign": 1,
-    "_verticalAlign": 1,
-    "_actualFontSize": 48,
-    "_fontSize": 48,
-    "_fontFamily": "Arial",
-    "_lineHeight": 60,
-    "_overflow": 1,
-    "_enableWrapText": false,
-    "_font": null,
-    "_isSystemFontUsed": true,
-    "_spacingX": 0,
-    "_isItalic": false,
-    "_isBold": true,
-    "_isUnderline": false,
-    "_underlineHeight": 2,
-    "_cacheMode": 0,
-    "_enableOutline": true,
-    "_outlineColor": {
-      "__type__": "cc.Color",
-      "r": 88,
-      "g": 42,
-      "b": 9,
-      "a": 255
-    },
-    "_outlineWidth": 4,
-    "_enableShadow": false,
-    "_shadowColor": {
-      "__type__": "cc.Color",
-      "r": 0,
-      "g": 0,
-      "b": 0,
-      "a": 255
+    "_spriteFrame": {
+      "__uuid__": "71f2434a-05dd-4761-924e-83c9c08be8dd@f9941",
+      "__expectedType__": "cc.SpriteFrame"
     },
-    "_shadowOffset": {
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
       "__type__": "cc.Vec2",
-      "x": 2,
-      "y": 2
+      "x": 0,
+      "y": 0
     },
-    "_shadowBlur": 2,
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
     "_id": ""
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "8dOuaUMURF1bU12snaNyhX"
+    "fileId": "b0Zqn4BB1FvY82/TyObipJ"
   },
   {
     "__type__": "cc.PrefabInfo",
@@ -555,7 +529,7 @@
     "asset": {
       "__id__": 0
     },
-    "fileId": "02W2y9sPpAM5DLND5j45xQ",
+    "fileId": "beFEMLx15NgIcBpl4hwnUG",
     "instance": null,
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
@@ -566,7 +540,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 14
+      "__id__": 2
     },
     "_enabled": true,
     "__prefab": {
@@ -574,8 +548,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 498,
-      "height": 140
+      "width": 720,
+      "height": 442
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -586,7 +560,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "5d08VhtnJG7K7gHO1TwHwr"
+    "fileId": "2aKCo7/d9Dp533QPaRvY39"
   },
   {
     "__type__": "cc.Sprite",
@@ -594,7 +568,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 14
+      "__id__": 2
     },
     "_enabled": true,
     "__prefab": {
@@ -611,10 +585,10 @@
       "a": 255
     },
     "_spriteFrame": {
-      "__uuid__": "e8764bc7-2f97-4e71-a73b-a525a89d1855@f9941",
+      "__uuid__": "e484d473-8469-43c9-b1ff-6fd4d56927b8@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
-    "_type": 1,
+    "_type": 0,
     "_fillType": 0,
     "_sizeMode": 2,
     "_fillCenter": {
@@ -631,208 +605,36 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "23wOwUOkdBAYC2q6ccHNoq"
+    "fileId": "a86TvpKZ1C46nYR5kfftJJ"
   },
   {
-    "__type__": "86cefAWukVE77lEwgfFdYeD",
+    "__type__": "cc.Animation",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 14
+      "__id__": 2
     },
     "_enabled": true,
     "__prefab": {
       "__id__": 26
     },
-    "clickEvents": [],
-    "_interactable": true,
-    "_transition": 3,
-    "_normalColor": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_hoverColor": {
-      "__type__": "cc.Color",
-      "r": 211,
-      "g": 211,
-      "b": 211,
-      "a": 255
-    },
-    "_pressedColor": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_disabledColor": {
-      "__type__": "cc.Color",
-      "r": 124,
-      "g": 124,
-      "b": 124,
-      "a": 255
-    },
-    "_normalSprite": null,
-    "_hoverSprite": null,
-    "_pressedSprite": null,
-    "_disabledSprite": null,
-    "_duration": 0.1,
-    "_zoomScale": 1.1,
-    "_target": null,
-    "interval": 500,
-    "once": false,
-    "effect": {
-      "__uuid__": "9bc4e751-c1e7-4b95-95e1-4946ba1024fd",
-      "__expectedType__": "cc.AudioClip"
-    },
-    "_id": ""
-  },
-  {
-    "__type__": "cc.CompPrefabInfo",
-    "fileId": "2aYw7SRE1GP7vSfCQvsjpM"
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__id__": 0
-    },
-    "fileId": "44Tr84XT9I8r9+Aznh0Pbc",
-    "instance": null,
-    "targetOverrides": null,
-    "nestedPrefabInstanceRoots": null
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "Node",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "_parent": {
-      "__id__": 1
-    },
-    "_children": [],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 29
-      },
+    "playOnLoad": true,
+    "_clips": [
       {
-        "__id__": 31
+        "__uuid__": "215e6d81-2f46-4ee4-bdb9-75009426e99a",
+        "__expectedType__": "cc.AnimationClip"
       }
     ],
-    "_prefab": {
-      "__id__": 33
-    },
-    "_lpos": {
-      "__type__": "cc.Vec3",
-      "x": 330.825,
-      "y": -372.179,
-      "z": 0
-    },
-    "_lrot": {
-      "__type__": "cc.Quat",
-      "x": 0,
-      "y": 0,
-      "z": 0,
-      "w": 1
-    },
-    "_lscale": {
-      "__type__": "cc.Vec3",
-      "x": 1,
-      "y": 1,
-      "z": 1
-    },
-    "_mobility": 0,
-    "_layer": 33554432,
-    "_euler": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
-    },
-    "_id": ""
-  },
-  {
-    "__type__": "cc.UITransform",
-    "_name": "",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "node": {
-      "__id__": 28
-    },
-    "_enabled": true,
-    "__prefab": {
-      "__id__": 30
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 120,
-      "height": 130
-    },
-    "_anchorPoint": {
-      "__type__": "cc.Vec2",
-      "x": 0.5,
-      "y": 0.5
-    },
-    "_id": ""
-  },
-  {
-    "__type__": "cc.CompPrefabInfo",
-    "fileId": "27ZbqC/SxLwZl5yQcXyBYY"
-  },
-  {
-    "__type__": "dragonBones.ArmatureDisplay",
-    "_name": "",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "node": {
-      "__id__": 28
-    },
-    "_enabled": true,
-    "__prefab": {
-      "__id__": 32
-    },
-    "_customMaterial": null,
-    "_srcBlendFactor": 2,
-    "_dstBlendFactor": 4,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
+    "_defaultClip": {
+      "__uuid__": "215e6d81-2f46-4ee4-bdb9-75009426e99a",
+      "__expectedType__": "cc.AnimationClip"
     },
-    "playTimes": -1,
-    "premultipliedAlpha": false,
-    "_defaultArmatureIndexValue": 0,
-    "_dragonAsset": {
-      "__uuid__": "3bb38972-7753-4c70-a62a-eef56011c90a",
-      "__expectedType__": "dragonBones.DragonBonesAsset"
-    },
-    "_dragonAtlasAsset": {
-      "__uuid__": "bb8091c7-c86b-43aa-a918-7106553e4736",
-      "__expectedType__": "dragonBones.DragonBonesAtlasAsset"
-    },
-    "_armatureName": "Armature",
-    "_animationName": "newAnimation",
-    "_animationIndexValue": 1,
-    "_defaultCacheModeValue": 0,
-    "_timeScale": 1,
-    "_playTimes": -1,
-    "_debugBones": false,
-    "_enableBatch": false,
-    "_sockets": [],
     "_id": ""
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "e49/Cg8BJPsI17cjDg8rC5"
+    "fileId": "a1L/0ZqxRHupTxWDPLev4D"
   },
   {
     "__type__": "cc.PrefabInfo",
@@ -842,7 +644,7 @@
     "asset": {
       "__id__": 0
     },
-    "fileId": "94kylPKYpNPJXUqc9098tq",
+    "fileId": "5akHeLEThG3rLuMeDebISX",
     "instance": null,
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
@@ -857,7 +659,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 35
+      "__id__": 29
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -885,7 +687,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 37
+      "__id__": 31
     },
     "_id": ""
   },

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


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

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "c0ad88bd-e760-4716-9449-a994dc13c880",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "c0ad88bd-e760-4716-9449-a994dc13c880@6c48a",
+      "displayName": "icon_2x_2",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "c0ad88bd-e760-4716-9449-a994dc13c880",
+        "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": "c0ad88bd-e760-4716-9449-a994dc13c880@f9941",
+      "displayName": "icon_2x_2",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 1,
+        "offsetY": 2.5,
+        "trimX": 3,
+        "trimY": 3,
+        "width": 198,
+        "height": 153,
+        "rawWidth": 202,
+        "rawHeight": 164,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -99,
+            -76.5,
+            0,
+            99,
+            -76.5,
+            0,
+            -99,
+            76.5,
+            0,
+            99,
+            76.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            3,
+            161,
+            201,
+            161,
+            3,
+            8,
+            201,
+            8
+          ],
+          "nuv": [
+            0.01485148514851485,
+            0.04878048780487805,
+            0.995049504950495,
+            0.04878048780487805,
+            0.01485148514851485,
+            0.9817073170731707,
+            0.995049504950495,
+            0.9817073170731707
+          ],
+          "minPos": [
+            -99,
+            -76.5,
+            0
+          ],
+          "maxPos": [
+            99,
+            76.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "c0ad88bd-e760-4716-9449-a994dc13c880@6c48a",
+        "atlasUuid": "",
+        "trimType": "auto"
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "c0ad88bd-e760-4716-9449-a994dc13c880@6c48a"
+  }
+}

BIN
assets/bundle/gui/eliminate/texture/text/text_sbsy.png


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

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.27",
+  "importer": "image",
+  "imported": true,
+  "uuid": "71f2434a-05dd-4761-924e-83c9c08be8dd",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "71f2434a-05dd-4761-924e-83c9c08be8dd@6c48a",
+      "displayName": "text_sbsy",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "71f2434a-05dd-4761-924e-83c9c08be8dd",
+        "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": "71f2434a-05dd-4761-924e-83c9c08be8dd@f9941",
+      "displayName": "text_sbsy",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": -6,
+        "offsetY": 0.5,
+        "trimX": 0,
+        "trimY": 5,
+        "width": 622,
+        "height": 65,
+        "rawWidth": 634,
+        "rawHeight": 76,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -311,
+            -32.5,
+            0,
+            311,
+            -32.5,
+            0,
+            -311,
+            32.5,
+            0,
+            311,
+            32.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            71,
+            622,
+            71,
+            0,
+            6,
+            622,
+            6
+          ],
+          "nuv": [
+            0,
+            0.07894736842105263,
+            0.9810725552050473,
+            0.07894736842105263,
+            0,
+            0.9342105263157895,
+            0.9810725552050473,
+            0.9342105263157895
+          ],
+          "minPos": [
+            -311,
+            -32.5,
+            0
+          ],
+          "maxPos": [
+            311,
+            32.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "71f2434a-05dd-4761-924e-83c9c08be8dd@6c48a",
+        "atlasUuid": "",
+        "trimType": "auto"
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "71f2434a-05dd-4761-924e-83c9c08be8dd@6c48a"
+  }
+}

BIN
assets/bundle/gui/eliminate/texture/title/title_sbsy.png


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

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

+ 6 - 15
assets/script/game/view/EliminateViewComp.ts

@@ -2,7 +2,7 @@
  * @Author: mojunshou 1637302775@qq.com
  * @Date: 2025-03-20 15:01:09
  * @LastEditors: mojunshou 1637302775@qq.com
- * @LastEditTime: 2025-05-14 15:41:12
+ * @LastEditTime: 2025-05-15 10:37:11
  * @Description: 消除游戏主场景
  */
 import { _decorator, Button, Color, EventTouch, instantiate, JsonAsset, Animation, v3, Label, Node, Prefab, randomRangeInt, Sprite, tween, UITransform, Vec2, Vec3, Widget } from "cc";
@@ -2262,7 +2262,6 @@ export class EliminateViewComp extends CCComp {
 
     doubleSpeedOpenSuccess() {
         //2倍速广告展示,页面展示,都会暂停游戏,
-        console.log("6666666666666", this.gameState)
         if (this.gameState != GameState.PLAYING) {
             return
         }
@@ -2272,14 +2271,7 @@ export class EliminateViewComp extends CCComp {
         oops.gui.toast("二倍速时长已增加3分钟~")
         this.isDoubleSpeed = true;
         this.doubleNum = 1.5;
-        //改变按钮时间
-        // let time = smc.game.GameModel.doubleSpeedTime;
-        console.log("22222222222222")
         this.doubleSpeedTime = this.doubleSpeedTime + smc.game.GameModel.doubleSpeedTime;
-        // this.doubleSpeedTime = 60;
-        if (this.doubleSpeedTime <= 0) {
-            this.doubleSpeedTime = 180;
-        }
         if (this.doubleSpeedTime <= 0) {
             return
         }
@@ -2289,8 +2281,10 @@ export class EliminateViewComp extends CCComp {
             this.autoState = true;
             this.initButtonState(this.autoState);
         }
-        console.log("333333333333333333")
-
+        const minutes = Math.floor(this.doubleSpeedTime / 60);
+        const seconds = this.doubleSpeedTime % 60;
+        const formattedTime = `${minutes}:${seconds < 10 ? '0' : ''}${seconds}`;
+        this.lab_doubleTime.string = formattedTime;
         this.callback = function () {
             if (this.gameState === GameState.PLAYING && this.autoState) {
                 this.doubleSpeedTime--
@@ -2362,10 +2356,7 @@ export class EliminateViewComp extends CCComp {
 
     //===============初始化检查是否要打开福利界面====
     private updateWelfarePoint() {
-        // const showState = smc.game.GameModel.popupShow
-        const showState = false;
-
-        this.popupType = "doubleSpeed";
+        const showState = smc.game.GameModel.popupShow
         if (!showState) {
             //展示这些的时候,游戏要暂停
             // if (this.popupType != "") {

+ 10 - 6
assets/script/game/view/popup/UnlockDoubleSpeed.ts

@@ -10,16 +10,20 @@ const { ccclass, property } = _decorator;
 @ccclass('UnlockDoubleSpeed')
 export class UnlockDoubleSpeed extends GameComponent {
     start() {
-        this.setButton();
         oops.message.dispatchEvent(GameEvent.updateGameState, "paused");
+        this.startDoubleSpeed();
     }
 
 
-    btn_confirm() {
-        oops.gui.remove(UIID.UnlockDoubleSpeed);
-        //发送开始自动玩游戏
-        oops.message.dispatchEvent(GameEvent.DoubleSpeedOpenSuccess);
-        this.updateState();
+    startDoubleSpeed() {
+        this.scheduleOnce(() => {
+            smc.game.GameModel.doubleSpeedTime = 180;
+            this.updateState();
+            //还要自己更新状态
+            oops.message.dispatchEvent(GameEvent.updateGameState, "playing");
+            oops.message.dispatchEvent(GameEvent.DoubleSpeedOpenSuccess);
+            oops.gui.remove(UIID.UnlockDoubleSpeed);
+        }, 3)
     }