From 3ffc4eb3378de1fee80c32dc70c83c7fde61914e Mon Sep 17 00:00:00 2001 From: yangwen Date: Thu, 29 May 2025 19:09:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=B2=E7=AA=81=E5=8A=A8=E6=95=88=E6=94=BE?= =?UTF-8?q?=E6=85=A2=E4=B8=80=E5=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Block.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Block.ts b/src/views/Block.ts index 78c20c7..585eef1 100644 --- a/src/views/Block.ts +++ b/src/views/Block.ts @@ -66,13 +66,13 @@ export class Block extends Laya.Script { this.sprite_show.graphics.drawRect(0, 0, blockSize, blockSize, color) if (animated) { this.sprite_show.alpha = 0 - Laya.Tween.to(this.sprite_show, { alpha }, 100, Laya.Ease.linearIn) - Laya.Tween.to(this.sprite_show, { alpha: 0 }, 150, Laya.Ease.linearIn, null, 100) + Laya.Tween.to(this.sprite_show, { alpha }, 200, Laya.Ease.linearIn) + Laya.Tween.to(this.sprite_show, { alpha: 0 }, 300, Laya.Ease.linearIn, null, 200) Laya.Tween.to(this.sprite_show, { alpha }, 100, Laya.Ease.linearIn, Laya.Handler.create(this, () => { this.sprite_show.graphics.clear() this.sprite_show.graphics.drawRect(0, 0, blockSize, blockSize, completedColor) this.sprite_show.alpha = completedAlpha - }), 250) + }), 500) } else { this.sprite_show.alpha = alpha }