From 27f5716dcc314094de8aa7005b00d3415b488591 Mon Sep 17 00:00:00 2001 From: yangwen Date: Fri, 6 Jun 2025 14:42:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=B2=E7=AA=81=E5=8A=A8=E7=94=BB=E7=BB=86?= =?UTF-8?q?=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Block.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/Block.ts b/src/views/Block.ts index 0738a7d..1a4690a 100644 --- a/src/views/Block.ts +++ b/src/views/Block.ts @@ -74,10 +74,10 @@ export class Block extends Laya.Script { this.sprite_show.graphics.drawRect(0, 0, this.blockSize, this.blockSize, color) if (animated) { this.sprite_show.alpha = 0 - Laya.Tween.to(this.sprite_show, { alpha }, 200, Laya.Ease.linearIn, Laya.Handler.create(this, () => { - Laya.Tween.to(this.sprite_show, { alpha: 0 }, 300, Laya.Ease.linearIn, Laya.Handler.create(this, () => { - Laya.Tween.to(this.sprite_show, { alpha }, 200, Laya.Ease.linearIn, Laya.Handler.create(this, () => { - Laya.Tween.to(this.sprite_show, { alpha }, 200, Laya.Ease.linearIn, Laya.Handler.create(this, () => { + Laya.Tween.to(this.sprite_show, { alpha }, 100, Laya.Ease.linearIn, Laya.Handler.create(this, () => { + Laya.Tween.to(this.sprite_show, { alpha: 0 }, 150, Laya.Ease.linearIn, Laya.Handler.create(this, () => { + Laya.Tween.to(this.sprite_show, { alpha }, 100, Laya.Ease.linearIn, Laya.Handler.create(this, () => { + Laya.Tween.to(this.sprite_show, { alpha: 0 }, 150, Laya.Ease.linearIn, Laya.Handler.create(this, () => { this.sprite_show.graphics.clear() this.sprite_show.graphics.drawRect(0, 0, this.blockSize, this.blockSize, completedColor) this.sprite_show.alpha = completedAlpha