From ca6ab546f6ec04f4f932dcb98da09fb7d26ef623 Mon Sep 17 00:00:00 2001 From: "COMPUTER\\EDY" <249929363@qq.com> Date: Mon, 15 Dec 2025 11:02:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=80=E7=82=B9UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Scene/GameScene.fire | 16 ++++++++-------- assets/Script/Map.ts | 14 +++++++------- assets/UI/UI/pop/mao.png | Bin 1678 -> 1199 bytes assets/UI/UI/pop/mao.png.meta | 14 +++++++------- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/assets/Scene/GameScene.fire b/assets/Scene/GameScene.fire index 2c53243..2f42e05 100644 --- a/assets/Scene/GameScene.fire +++ b/assets/Scene/GameScene.fire @@ -1644,8 +1644,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 19, - "height": 39 + "width": 11, + "height": 31 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1764,7 +1764,7 @@ "ctor": "Float64Array", "array": [ -337.767, - -60.296, + -67.741, 0, 0, 0, @@ -6468,7 +6468,7 @@ "__id__": 129 } ], - "_active": false, + "_active": true, "_components": [ { "__id__": 131 @@ -6547,8 +6547,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 36, - "height": 38 + "width": 24, + "height": 36 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -6643,7 +6643,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 36, + "width": 32, "height": 38 }, "_anchorPoint": { @@ -9084,7 +9084,7 @@ "ctor": "Float64Array", "array": [ 345.952, - 84.684, + 108.238, 0, 0, 0, diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index b9f4840..19ad976 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -475,7 +475,7 @@ export default class MapConroler extends cc.Component { console.log("当前关卡时间", this.timeNumber); this.add_Time = 0; - NumberToImage.getTimeMargi3(this.timeNumber, 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3(this.timeNumber, 45, "custom", this.timeLabel) this.updateCoin(); // var timeTemp = cc.fx.GameTool.getTimeMargin(this.timeNumber); @@ -2559,7 +2559,7 @@ export default class MapConroler extends cc.Component { if (data.type == "time") { this.timeNumber = 21; this.add_Time += 20; - NumberToImage.getTimeMargi3(20, 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3(20, 45, "custom", this.timeLabel) } this.blockNum = this.blocks.length; @@ -2582,7 +2582,7 @@ export default class MapConroler extends cc.Component { this.pause = false; this.timeNumber = 21; this.add_Time += 20; - NumberToImage.getTimeMargi3(20, 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3(20, 45, "custom", this.timeLabel) this.blockNum = this.blocks.length; if (this.blockNum == 0) this.nextLevel(1); this.node.parent.parent.getChildByName("Lose").active = false; @@ -2918,7 +2918,7 @@ export default class MapConroler extends cc.Component { if (this.timeNumber <= 0) { this.stopTimeCutDown(); // var timeTemp = cc.fx.GameTool.getTimeMargin3(this.timeNumber); - NumberToImage.getTimeMargi3(this.timeNumber, 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3(this.timeNumber, 45, "custom", this.timeLabel) // this.timeLabel.string = timeTemp.toString(); if (!this.pause) this.failLevel("time"); } @@ -2929,7 +2929,7 @@ export default class MapConroler extends cc.Component { if (!this.pause) this.failLevel("time"); } // var timeTemp = cc.fx.GameTool.getTimeMargin3(this.timeNumber); - NumberToImage.getTimeMargi3(this.timeNumber, 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3(this.timeNumber, 45, "custom", this.timeLabel) // this.timeLabel.string = timeTemp.toString(); } }.bind(this); @@ -3028,7 +3028,7 @@ export default class MapConroler extends cc.Component { cc.fx.GameConfig.GM_INFO.freezeAmount -= 1; // 倒计时加20秒 this.timeNumber += 20; - NumberToImage.getTimeMargi3(this.timeNumber, 45, "company_", this.timeLabel) + NumberToImage.getTimeMargi3(this.timeNumber, 45, "custom", this.timeLabel) if (cc.fx.GameConfig.GM_INFO.freezeAmount < 0) cc.fx.GameConfig.GM_INFO.freezeAmount = 0; this.setPropNum(); @@ -4330,7 +4330,7 @@ export default class MapConroler extends cc.Component { rank.active = true; Career.active = false; - NumberToImage.numberToImageNodes4((cc.fx.GameConfig.GM_INFO.addLevel + 1), 40, 15, "company_", rank.getChildByName("addLevel"), true); + NumberToImage.numberToImageNodes4((cc.fx.GameConfig.GM_INFO.addLevel + 1), 40, 15, "custom", rank.getChildByName("addLevel"), true); for (let i = 0; i < rank.getChildByName("addLevel").children.length; i++) { rank.getChildByName("addLevel").children[i].color = cc.Color.WHITE; } diff --git a/assets/UI/UI/pop/mao.png b/assets/UI/UI/pop/mao.png index 34d59de67e97cc68033311e97e3094e8047921d8..940d1a5a43beb5be087e409da39007b31458ea91 100644 GIT binary patch delta 570 zcmeCERLtq?LeJpMwoZw%wGF*{B%6IQb5v(&Q}0?8#+J z2G$A{xdpzyR-SpqC5d^-sh%#jN#OJfT| zb5~PC6H8aO$-fw7Fq<+|;}hm?KgUjxfii zcd{X~Q@xtD-cJSwMg>n7$B>F!Z>C-3ZF1mg<2QVGQ?!6Z<{*#=YY;49iGAocL9l>D z!ZBWT;+)(EjWamhw|Xq`{l`A3s3yE>?|s8#D>RQd`KqwEIIyJ1Ojs4um~=rh#li9g z$ETAj78lrF7V8{u#A1uKwWn>{Uiv8V+>qs6Midz3Jwh zS+i5)4)QM2O*GN(c&&J3q55lRs2CD`!+GfTPqzt`JLpV^skPQ?df;>pGF#Uvu|rYm9bB5rS0lo z-kzhI&t2QREdHFbUG=p?hc+i&75XPvxOd58=ZH?;qegYFA`f3naXnupcwS3^Nl9UU d*K!7C249Ein|`TyoC78Y22WQ%mvv4FO#lh1&&B`% delta 1029 zcmZ3_*~hEc8Q|y6%O%Cdz`(%k>ERLtq&0!qjDrnGMm^ZDW20gK7#kY888|vSyI2~ySU4FtyP3NNVEG=9tP0Y;LaOs_F$m~=<{m+^T1_q}8o-U3d6}OW9{Qqx%IDy@V$C;tWs_4qZ#eFKw z8z!utICG}t%-1|e^c-@SkA83bVIUyS_{cWEj_b$o@A@C7HJ$qUNSoy8XjNxsHkvF<@m&&Cs!;EtcYV+^5~?8>H?Jn_xjH-*xH=5 zsx&gQR{WoDoPF$n_jCXM|NlQf{(t&;xxe=}=6i&8KT%NY}_J>){-9+b1<&4UwEPcdi7_m#>m?c2!3_U-1$QhgCOXp89@$_|{#Ntt?!aX%hPdVd0+m!+VmsOz&f9L!bndz4}i$~GubHgdO z#>NvCe^taB`x|b|&g)Y-+<1a->VnF5Y-uwD6t+s$$L`s^dhWqPcX}Gz+u84ZVl>rR z<~zT0T?w-Q`=wpVZI_NSmh!&4x36z=OwYV2sJyy=@sbrCYhz^JKAv#rc;(kuqPs5CMp+3h&EJ%Jn{ScH z-2DX;-__1peqv@lL&%W_r%e{*v1F{_(0#n*(yso?eQ`VwU-dMyZP>uGu|{pHvYTJ8 zGQ$!*#*I2v^6ILposIMR<Y%TDcX``7~>ixzFs}%|iOB)VesJ-BnJ+rxM=3?es$0g_HNGX;+S)uGMYw0Az cDUiUBvPXHt@nhMpz?{wC>FVdQ&MBb@0CLx|!~g&Q diff --git a/assets/UI/UI/pop/mao.png.meta b/assets/UI/UI/pop/mao.png.meta index 4ae1cb3..ac3856a 100644 --- a/assets/UI/UI/pop/mao.png.meta +++ b/assets/UI/UI/pop/mao.png.meta @@ -20,14 +20,14 @@ "trimType": "auto", "trimThreshold": 1, "rotated": false, - "offsetX": 0, - "offsetY": 0.5, + "offsetX": -0.5, + "offsetY": 0, "trimX": 11, - "trimY": 7, - "width": 19, - "height": 39, - "rawWidth": 41, - "rawHeight": 54, + "trimY": 8, + "width": 11, + "height": 31, + "rawWidth": 34, + "rawHeight": 47, "borderTop": 0, "borderBottom": 0, "borderLeft": 0,