wuwangdong 4 jaren geleden
bovenliggende
commit
5b8f20025d
2 gewijzigde bestanden met toevoegingen van 6 en 14 verwijderingen
  1. 0 12
      assets/resources/animation/Main.meta
  2. 6 2
      assets/script/game/module/speedUpUI/ProductReward.ts

+ 0 - 12
assets/resources/animation/Main.meta

@@ -1,12 +0,0 @@
-{
-  "ver": "1.1.2",
-  "uuid": "2e0acadd-1cf9-412c-8241-7724b9b1f20c",
-  "isBundle": false,
-  "bundleName": "",
-  "priority": 1,
-  "compressionType": {},
-  "optimizeHotUpdate": {},
-  "inlineSpriteFrames": {},
-  "isRemoteBundle": {},
-  "subMetas": {}
-}

+ 6 - 2
assets/script/game/module/speedUpUI/ProductReward.ts

@@ -24,7 +24,7 @@ export default class ProductReward extends cc.Component {
             mk.guide.open(4);
         }, 0.5)
 
-        this.lbl_times.string = `生产次数x${gData.gameData.configs.ServerConfig.ProductionAd}`;
+        this.lbl_times.string = `生产次数+${gData.gameData.configs.ServerConfig.ProductionAd}`;
 
         gData.gameData.init_productTask = false;
         if (gData.gameData.playerProp.userFarmTaskInfo) {
@@ -34,12 +34,16 @@ export default class ProductReward extends cc.Component {
                 this.lbl_taskTimes.string = (count - com).toString();
                 this.node_Uncomplete.active = true;
                 this.node_complete.active = false;
+                this.node_Uncomplete.scale = 2;
+                cc.tween(this.node_Uncomplete).to(0.3, {scale: 1}).start();
             } else {
                 this.node_Uncomplete.active = false;
                 this.node_complete.active = true;
             }
             this.lbl_progress.string = `${com}/${count}`;
-            this.sp_taskProgress.fillRange = com / count;
+            let per = com / count;
+            cc.tween(this.sp_taskProgress).to(0.2, {fillRange: per}).start();
+            //this.sp_taskProgress.fillRange = 
         }
     }