Browse Source

2025-05-15 wws

2025-05-15 wws
Kziwws 3 weeks ago
parent
commit
4029e97212

BIN
.DS_Store


+ 3 - 0
assets/scripts/game/GameUI.ts

@@ -12,6 +12,7 @@ import { BuyItemLayer } from '../gameui/BuyItemLayer';
 import { GameConst, ITEM_FROZEN_LV, ITEM_HINT_LV, ITEM_TYPE } from '../core/common/GameConst';
 import { levelsData } from '../user/LevelsData';
 import i18n from '../core/i18n/runtime-scripts/LanguageData';
+import platformSystem from '../platform/platformSystem';
 const { ccclass, property } = _decorator;
 
 @ccclass('GameUI')
@@ -21,6 +22,7 @@ export class GameUI extends BasePanel {
     @property({type: Material,tooltip: "灰色材质"})
     public garyMaterial: Material = null!;
     
+    
     onBtnClicked(event: any, customEventData: any) {
         var btnName = event.target.name;
         switch (btnName) {
@@ -89,6 +91,7 @@ export class GameUI extends BasePanel {
             this.pasue = false;
         })
         this.starNode = this.GetGameObject("star-with-outline");
+        platformSystem.platform.showInterstitialAd();
     }
 
     restart() {

+ 1 - 0
assets/scripts/game/HallUI.ts

@@ -10,6 +10,7 @@ import { BoxLayer } from '../gameui/BoxLayer';
 import { GameConst, BOX_TYPE, ITEM_TYPE } from '../core/common/GameConst';
 import i18n from '../core/i18n/runtime-scripts/LanguageData';
 import { autoBind } from '../core/extend/AutoBind';
+import platformSystem from '../platform/platformSystem';
 
 const { ccclass, property } = _decorator;
 

BIN
build/.DS_Store


+ 4 - 4
library/.assets-info1.0.0.json

@@ -5343,11 +5343,11 @@
       "uuid": "a2d9348f-41f2-4353-86ea-3491aafcf9c0"
     },
     "/Users/wenshuang/Desktop/公司游戏/CatchDoll/assets/scripts/game/GameUI.ts": {
-      "time": 1745476830160.1045,
+      "time": 1747276452603.1448,
       "uuid": "77bd12a7-e4d5-439a-b7dc-2a2da8cc7df7"
     },
     "/Users/wenshuang/Desktop/公司游戏/CatchDoll/assets/scripts/game/HallUI.ts": {
-      "time": 1746610145918.7449,
+      "time": 1747276385310.82,
       "uuid": "de92eacc-389a-4ccf-aeed-3177d23ea0ab"
     },
     "/Users/wenshuang/Desktop/公司游戏/CatchDoll/assets/scripts/game/Main.ts": {
@@ -5415,7 +5415,7 @@
       "uuid": "3e27b2e9-415f-4b8d-9807-c47e4d6f6534"
     },
     "/Users/wenshuang/Desktop/公司游戏/CatchDoll/assets/scripts/platform/platformBrowser.ts": {
-      "time": 1745482730099.8186,
+      "time": 1747275909623.3025,
       "uuid": "642c0e89-4f16-4239-81aa-f85fe3283c35"
     },
     "/Users/wenshuang/Desktop/公司游戏/CatchDoll/assets/scripts/platform/platformDefault.ts": {
@@ -5459,7 +5459,7 @@
       "uuid": "f1cd9dff-5505-44f4-9902-c07552797157"
     },
     "/Users/wenshuang/Desktop/公司游戏/CatchDoll/assets/scripts/core/common/GameConst.ts": {
-      "time": 1746609664674.0496,
+      "time": 1747275321953.3647,
       "uuid": "e35ac454-07c2-4472-893e-21ac6fd731da"
     },
     "/Users/wenshuang/Desktop/公司游戏/CatchDoll/assets/scripts/core/component/BasePanel.ts": {

+ 3 - 3
profiles/v2/packages/builder.json

@@ -77,8 +77,8 @@
         "id": "1745482788553",
         "progress": 1,
         "state": "success",
-        "stage": "run",
-        "message": "2025-5-8 17:14:34 run package /Users/wenshuang/Desktop/公司游戏/CatchDoll/build/web-mobile-001 success!",
+        "stage": "build",
+        "message": "2025-5-15 10:39:39 build success in 2 min 35 s!",
         "options": {
           "name": "xfk3D",
           "server": "",
@@ -123,7 +123,7 @@
           "buildMode": "normal",
           "logDest": "project://temp/builder/log/web-mobile4-24-2025 16-19.log"
         },
-        "time": "5-8-2025 17:12:34",
+        "time": "5-15-2025 10:36:34",
         "dirty": false
       }
     }

+ 92 - 92
profiles/v2/packages/scene.json

@@ -1,6 +1,6 @@
 {
   "gizmos-infos": {
-    "is2D": false,
+    "is2D": true,
     "is3DIcon": false,
     "iconSize": 2,
     "gridVisible": true,
@@ -833,31 +833,6 @@
       },
       "scale": 0.35208605672802024
     },
-    "6e8c4209-3574-45b0-858d-16cff5eee329": {
-      "position": {
-        "x": -947.1782228075734,
-        "y": -678.7805437174592,
-        "z": 5000
-      },
-      "rotation": {
-        "x": 0,
-        "y": 0,
-        "z": 0,
-        "w": 1
-      },
-      "viewCenter": {
-        "x": 375,
-        "y": 667,
-        "z": 0
-      },
-      "contentRect": {
-        "x": -1113.3307837571544,
-        "y": -832.1521384401493,
-        "width": 117,
-        "height": 108
-      },
-      "scale": 0.35208605672802024
-    },
     "e54f9ea5-e13e-456a-bc6a-77122f1dd3eb": {
       "position": {
         "x": 519.232779609221,
@@ -1058,56 +1033,6 @@
       },
       "scale": 0.4829681644624228
     },
-    "79d5fa5f-cb75-4f1a-8ca4-503a10fc449d": {
-      "position": {
-        "x": -17518.851717902355,
-        "y": 19819.07956600362,
-        "z": 5000
-      },
-      "rotation": {
-        "x": 0,
-        "y": 0,
-        "z": 0,
-        "w": 1
-      },
-      "viewCenter": {
-        "x": 375,
-        "y": 667,
-        "z": 0
-      },
-      "contentRect": {
-        "x": -24431.351717902355,
-        "y": -7830.92043399638,
-        "width": 276.5,
-        "height": 1106
-      },
-      "scale": 0.02
-    },
-    "9e12223d-7a81-471d-8295-08a69b25b44b": {
-      "position": {
-        "x": 2007.9520704761526,
-        "y": 532.9905314893585,
-        "z": 5000
-      },
-      "rotation": {
-        "x": 0,
-        "y": 0,
-        "z": 0,
-        "w": 1
-      },
-      "viewCenter": {
-        "x": 375,
-        "y": 667,
-        "z": 0
-      },
-      "contentRect": {
-        "x": 1675.2420950959067,
-        "y": -797.8493700316247,
-        "width": 1149.605734767025,
-        "height": 1106
-      },
-      "scale": 0.4155270663045122
-    },
     "a87b5748-2ead-4c6e-9905-efcce6798098": {
       "position": {
         "x": 180.634611402573,
@@ -1258,9 +1183,34 @@
       },
       "scale": 0.20532767518801662
     },
+    "6e8c4209-3574-45b0-858d-16cff5eee329": {
+      "position": {
+        "x": -0.2690429770517858,
+        "y": 61.548040020548534,
+        "z": -11.028747512235187
+      },
+      "rotation": {
+        "x": 0.766894989748548,
+        "y": -0.00782534744508724,
+        "z": -0.009352695016137485,
+        "w": -0.6416567351254666
+      },
+      "viewCenter": {
+        "x": 0,
+        "y": 0,
+        "z": 0
+      },
+      "contentRect": {
+        "x": -947.1782228075734,
+        "y": -678.7805437174592,
+        "width": 117,
+        "height": 108
+      },
+      "scale": 0.35208605672802024
+    },
     "eeec5720-7028-48a1-9aec-e9bb18f4abbc": {
       "position": {
-        "x": 597.986368806674,
+        "x": 597.9863688066742,
         "y": 696.8164115813981,
         "z": 5000
       },
@@ -1276,17 +1226,67 @@
         "z": 0
       },
       "contentRect": {
-        "x": 597.9863688066741,
-        "y": 696.8164115813981,
-        "width": 0,
-        "height": 0
+        "x": 0,
+        "y": 0,
+        "width": 1026,
+        "height": 1062
       },
-      "scale": 0.45691572511470063
+      "scale": 1
+    },
+    "79d5fa5f-cb75-4f1a-8ca4-503a10fc449d": {
+      "position": {
+        "x": -17518.851717902355,
+        "y": 19819.07956600362,
+        "z": 5000
+      },
+      "rotation": {
+        "x": 0,
+        "y": 0,
+        "z": 0,
+        "w": 1
+      },
+      "viewCenter": {
+        "x": 375,
+        "y": 667,
+        "z": 0
+      },
+      "contentRect": {
+        "x": 0,
+        "y": 0,
+        "width": 1026,
+        "height": 1062
+      },
+      "scale": 1
+    },
+    "9e12223d-7a81-471d-8295-08a69b25b44b": {
+      "position": {
+        "x": 2007.9520704761526,
+        "y": 532.9905314893585,
+        "z": 4697.957947624237
+      },
+      "rotation": {
+        "x": 0,
+        "y": 0,
+        "z": 0,
+        "w": 1
+      },
+      "viewCenter": {
+        "x": 375,
+        "y": 667,
+        "z": 0
+      },
+      "contentRect": {
+        "x": 0,
+        "y": 0,
+        "width": 1026,
+        "height": 1062
+      },
+      "scale": 1
     },
     "1523702b-f45a-4b86-a2ce-fe6a9634afdf": {
       "position": {
-        "x": 863.639593644908,
-        "y": 659.1505235593894,
+        "x": 513,
+        "y": 531,
         "z": 5000
       },
       "rotation": {
@@ -1301,12 +1301,12 @@
         "z": 0
       },
       "contentRect": {
-        "x": 346.13465224549805,
-        "y": -262.0624611306598,
-        "width": 372,
-        "height": 662.1989528795812
+        "x": -177,
+        "y": 0,
+        "width": 1026,
+        "height": 1062
       },
-      "scale": 0.3594168579280199
+      "scale": 1
     }
   },
   "camera-uuids": [
@@ -1341,7 +1341,6 @@
     "f46876e4-e81b-4931-b493-6d367be385e7",
     "4ef6eae0-69d3-43c3-8e51-37751cbbdeed",
     "40d92b5b-17f4-42e9-b20b-1e4c326eedcf",
-    "6e8c4209-3574-45b0-858d-16cff5eee329",
     "e54f9ea5-e13e-456a-bc6a-77122f1dd3eb",
     "269aef79-20c0-428a-8aec-5ea29dbc1157",
     "e82dd65d-215b-4555-819e-3f08028530ab",
@@ -1350,15 +1349,16 @@
     "e99a8ee5-e203-4882-b5a1-6314bb453d45",
     "b83b568a-13ad-4c2d-b7c1-3abd20518b68",
     "699c6afd-6df5-492b-8b36-1871db71ad16",
-    "79d5fa5f-cb75-4f1a-8ca4-503a10fc449d",
-    "9e12223d-7a81-471d-8295-08a69b25b44b",
     "a87b5748-2ead-4c6e-9905-efcce6798098",
     "6c91161f-a581-4aea-b319-d6d3dead58c3",
     "0fe45a30-5541-4ff8-9715-3a7ed22358e6",
     "b608ca62-d03c-4fc2-a51a-772e93f391d0",
     "886f5150-93a4-44ea-804c-4ec2e80a3ee4",
     "9b4f7c25-9b14-4d87-9200-c868813c9a28",
+    "6e8c4209-3574-45b0-858d-16cff5eee329",
     "eeec5720-7028-48a1-9aec-e9bb18f4abbc",
+    "79d5fa5f-cb75-4f1a-8ca4-503a10fc449d",
+    "9e12223d-7a81-471d-8295-08a69b25b44b",
     "1523702b-f45a-4b86-a2ce-fe6a9634afdf"
   ],
   "scene": {