Explorar el Código

文字2英文

zh hace 8 meses
padre
commit
a6da1c1558

+ 8 - 8
assets/scenes/home.scene

@@ -4774,7 +4774,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 95.742,
+      "y": 143.74200000000002,
       "z": 0
     },
     "_lrot": {
@@ -4812,7 +4812,7 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 200.0625,
+      "width": 324.140625,
       "height": 41.58
     },
     "_anchorPoint": {
@@ -4842,7 +4842,7 @@
       "b": 255,
       "a": 255
     },
-    "_string": "<<健康游戏忠告>>",
+    "_string": "<<Healthy Gaming Advice>>",
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
     "_actualFontSize": 24,
@@ -4906,7 +4906,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 0,
+      "y": -13,
       "z": 0
     },
     "_lrot": {
@@ -4944,8 +4944,8 @@
     "__prefab": null,
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 336,
-      "height": 140.57999999999998
+      "width": 573.0703125,
+      "height": 213
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -4974,13 +4974,13 @@
       "b": 255,
       "a": 255
     },
-    "_string": "抵制不良游戏,拒绝盗版游戏。\n注意自我保护,谨防受骗上当。\n适度游戏益脑,沉迷游戏伤身。\n合理安排时间,享受健康生活。",
+    "_string": "Resist unhealthy games, refuse pirated games.\nModerate gaming benefits the brain, \nexcessive gaming harms the body.\nArrange your time reasonably, enjoy a healthy life.",
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
     "_actualFontSize": 24,
     "_fontSize": 24,
     "_fontFamily": "Arial",
-    "_lineHeight": 33,
+    "_lineHeight": 50,
     "_overflow": 0,
     "_enableWrapText": true,
     "_font": null,

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 175 - 137
assets/scenes/main.scene


+ 3 - 3
assets/scripts/GameOverAction.ts

@@ -68,11 +68,11 @@ export class GameOverAction extends BasePage {
         AudioMgr.ins.playSound(Clips.btn_1);
         let pin_arr = Global.layer_empty_action.get_pin_arr();
         if (pin_arr.length == 0) {
-            Global.tips_action.show("没有可清理的钉子");
+            Global.tips_action.show("No Screws to Clear");//没有可清理的钉子
             return;
         }
         if (!DjManger.use_dj(DJ.Btn_5,DJ_TYPE.Type_video)) {
-            Global.tips_action.show("当前关卡次数已经用完1");
+            Global.tips_action.show("Current Level: Props Exhausted");//当前关卡次数已经用完   
             return;
         }
         
@@ -88,7 +88,7 @@ export class GameOverAction extends BasePage {
                 //解锁
                 Global.bucket_action.put_pins(pin_arr);
             } else {
-                Global.tips_action.show("获取奖励失败1");
+                Global.tips_action.show("Gain reward failure");//获取奖励失败
                 //退款
                 DjManger.return_used_dj(DJ.Btn_5,DJ_TYPE.Type_video);
             } 

+ 4 - 4
assets/scripts/Props1Action.ts

@@ -61,12 +61,12 @@ export class Props1Action extends Component {
             return;
         }
         if (Global.cur_coins < Global.get_need_coins()) {
-            Global.tips_action.show("钻石数量不够1");
+            Global.tips_action.show("Diamond Quantity Insufficient");//钻石数量不够
             return;
         }
 
         if (!DjManger.use_dj(DJ.Btn_1,DJ_TYPE.Type_coin)) {
-            Global.tips_action.show("当前关卡次数已经用完2");
+            Global.tips_action.show("Current Level: Props Exhausted");//当前关卡次数已经用完   
             return;
         }
         //消耗
@@ -86,7 +86,7 @@ export class Props1Action extends Component {
         }
 
         if (!DjManger.use_dj(DJ.Btn_1,DJ_TYPE.Type_video)) {
-            Global.tips_action.show("当前关卡次数已经用完3");
+            Global.tips_action.show("Current Level: Props Exhausted");//当前关卡次数已经用完   
             return;
         }
         
@@ -97,7 +97,7 @@ export class Props1Action extends Component {
                 //解锁
                 Global.layer_empty_action.unlock_empty_hole();
             } else {
-                Global.tips_action.show("获取奖励失败2");
+                Global.tips_action.show("Gain reward failure");//获取奖励失败
                 //退款
                 DjManger.return_used_dj(DJ.Btn_1,DJ_TYPE.Type_video);
             } 

+ 4 - 4
assets/scripts/Props2Action.ts

@@ -75,12 +75,12 @@ export class Props2Action extends Component {
         AudioMgr.ins.playSound(Clips.btn_1);
 
         if (Global.cur_coins < Global.get_need_coins()) {
-            Global.tips_action.show("钻石数量不够");
+            Global.tips_action.show("Diamond Quantity Insufficient");//钻石数量不够
             return;
         }
 
         if (!DjManger.use_dj(DJ.Btn_2,DJ_TYPE.Type_coin)) {
-            Global.tips_action.show("当前关卡次数已经用完");
+            Global.tips_action.show("Current Level: Props Exhausted");//当前关卡次数已经用完   
             return;
         }
         //消耗
@@ -96,7 +96,7 @@ export class Props2Action extends Component {
         AudioMgr.ins.playSound(Clips.btn_1);
 
         if (!DjManger.use_dj(DJ.Btn_2,DJ_TYPE.Type_video)) {
-            Global.tips_action.show("当前关卡次数已经用完");
+            Global.tips_action.show("Current Level: Props Exhausted");//当前关卡次数已经用完   
             return;
         }
 
@@ -107,7 +107,7 @@ export class Props2Action extends Component {
                 //解锁
                 Global.layer_root_action.random_pin();
             } else {
-                Global.tips_action.show("获取奖励失败");
+                Global.tips_action.show("Gain reward failure");//获取奖励失败
                 //退款
                 DjManger.return_used_dj(DJ.Btn_2,DJ_TYPE.Type_video);
             } 

+ 6 - 6
assets/scripts/Props3Action.ts

@@ -103,16 +103,16 @@ export class Props3Action extends Component {
     clear_pins_coins(){
         AudioMgr.ins.playSound(Clips.btn_1);
         if (Global.cur_coins < Global.get_need_coins()) {
-            Global.tips_action.show("钻石数量不够");
+            Global.tips_action.show("Diamond Quantity Insufficient");//钻石数量不够
             return;
         }
         let pin_arr = Global.layer_empty_action.get_pin_arr();
         if (pin_arr.length == 0) {
-            Global.tips_action.show("没有可清理的钉子");
+            Global.tips_action.show("No Screws to Clear");//没有可清理的钉子
             return;
         }
         if (!DjManger.use_dj(DJ.Btn_3,DJ_TYPE.Type_coin)) {
-            Global.tips_action.show("当前关卡次数已经用完");
+            Global.tips_action.show("Current Level: Props Exhausted");//当前关卡次数已经用完   
             return;
         }
         //消耗
@@ -128,11 +128,11 @@ export class Props3Action extends Component {
         AudioMgr.ins.playSound(Clips.btn_1);
         let pin_arr = Global.layer_empty_action.get_pin_arr();
         if (pin_arr.length == 0) {
-            Global.tips_action.show("没有可清理的钉子");
+            Global.tips_action.show("No Screws to Clear");//没有可清理的钉子
             return;
         }
         if (!DjManger.use_dj(DJ.Btn_3,DJ_TYPE.Type_video)) {
-            Global.tips_action.show("当前关卡次数已经用完");
+            Global.tips_action.show("Current Level: Props Exhausted");//当前关卡次数已经用完   
             return;
         }
         console.log('zh:clear_pins_videos333 111')
@@ -154,7 +154,7 @@ export class Props3Action extends Component {
                 //解锁
                 Global.bucket_action.put_pins(pin_arr);
             } else {
-                Global.tips_action.show("获取奖励失败");
+                Global.tips_action.show("Gain reward failure");//获取奖励失败
                 //退款
                 DjManger.return_used_dj(DJ.Btn_3,DJ_TYPE.Type_video);
             } 

+ 1 - 1
assets/scripts/Props4Action.ts

@@ -72,7 +72,7 @@ export class Props4Action extends Component {
         AudioMgr.ins.playSound(Clips.btn_1);
 
         if(Global.cur_coins<Global.get_need_coins()){
-            Global.tips_action.show("钻石数量不够4");
+            Global.tips_action.show("Diamond Quantity Insufficient");//钻石数量不够
             return;
         }
 

+ 1 - 1
assets/scripts/ShowLevelAction.ts

@@ -17,7 +17,7 @@ export class ShowLevelAction extends Component {
     }
 
     show_level(){
-        this.level_label.string = "第 "+ Global.cur_lvl+" 关";
+        this.level_label.string = "Level "+ Global.cur_lvl+" ";
     }
 }
 

+ 2 - 2
assets/scripts/SuccessAction.ts

@@ -38,7 +38,7 @@ export class SuccessAction extends BasePage {
             this.get_coins_btn.active = true;
         }
         AudioMgr.ins.playSound(Clips.complete_2);
-        this.level_label.string = "第 "+ Global.cur_lvl+" 关";
+        this.level_label.string = "Level "+ Global.cur_lvl+" ";
 
         this.coins_label.string = ""+ Global.cur_coins+" ";
         this.coins_label.node.scale = new Vec3(3,3,0);
@@ -104,7 +104,7 @@ export class SuccessAction extends BasePage {
                 });
                
             } else {
-                Global.tips_action.show("获取奖励失败6");
+                Global.tips_action.show("Gain reward failure");//获取奖励失败
                 // this.close();
                 // Global.main_action.next_lvl();  
             } 

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio