future vor 1 Jahr
Ursprung
Commit
c9ff2338c2

+ 2 - 2
assets/resources/prefabs/game_play_shuang_tu_zhao_bu_tong.prefab

@@ -3369,7 +3369,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": -117.336,
-      "y": -1,
+      "y": -10,
       "z": 0
     },
     "_lrot": {
@@ -4075,7 +4075,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 117.856,
-      "y": -1,
+      "y": -10,
       "z": 0
     },
     "_lrot": {

+ 6 - 6
assets/scene/game.scene

@@ -753,7 +753,7 @@
     "_string": "",
     "_horizontalAlign": 0,
     "_verticalAlign": 1,
-    "_actualFontSize": 16.945812807881772,
+    "_actualFontSize": 23.48768472906404,
     "_fontSize": 16,
     "_fontFamily": "Arial",
     "_lineHeight": 16,
@@ -2701,7 +2701,7 @@
     "_string": "",
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
-    "_actualFontSize": 26.47783251231527,
+    "_actualFontSize": 36.69950738916256,
     "_fontSize": 25,
     "_fontFamily": "Arial",
     "_lineHeight": 30,
@@ -3285,7 +3285,7 @@
       "a": 255
     },
     "_spriteFrame": {
-      "__uuid__": "b730527c-3233-41c2-aaf7-7cdab58f9749@f9941",
+      "__uuid__": "3c6293f8-0e5e-4850-98d2-fe81577871cf@f9941",
       "__expectedType__": "cc.SpriteFrame"
     },
     "_type": 1,
@@ -3670,8 +3670,8 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 87.4873748779297,
-      "height": 25.200000000000003
+      "width": 87.48577829655385,
+      "height": 25.2
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -3703,7 +3703,7 @@
     "_string": "加载中50%...",
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
-    "_actualFontSize": 15.886699507389162,
+    "_actualFontSize": 22.019704433497537,
     "_fontSize": 15,
     "_fontFamily": "Arial",
     "_lineHeight": 20,

+ 10 - 7
assets/script/play_list/base_view.ts

@@ -171,6 +171,7 @@ export class base_view extends Component {
             return
         }
         this.time_all_count = time;
+        this.lab_countdown_time.getComponent(Label).string = ''
         this.lab_countdown_time.active = true;
 
         let self = this;
@@ -182,13 +183,15 @@ export class base_view extends Component {
             }
             if(self.time_count<self.time_all_count){
                 self.time_count+=1;
-                self.lab_countdown_time.getComponent(Label).string = `${this.time_all_count-this.time_count}s`
-                if(this.categoryid===config.PLAY_TYPE.JI_YI_LI){
-                }else{
-                    // tween(self.lab_countdown_time).to(0.8,{scale: new Vec3(2, 2, 1)}).call(()=>{
-                    //     self.lab_countdown_time.scale = new Vec3(1,1,1)  
-                    // }).start()
-                }
+                let current_time = this.time_all_count-this.time_count
+                self.lab_countdown_time.getComponent(Label).string = `${current_time}s`
+                // if(current_time < 10) {
+                //     let scale_default = new Vec3(1,1,1)
+                //     let scale_magnify = new Vec3(1.8, 1.8, 1)
+                //     tween(self.lab_countdown_time).to(0.65,{scale: scale_magnify}).call(()=>{
+                //         self.lab_countdown_time.scale = scale_default 
+                //     }).start()
+                // }
        
             }else{
                 self.lab_countdown_time.getComponent(Label).string = "0s";