补充结算页动效Z

This commit is contained in:
2025-05-30 15:36:46 +08:00
parent c8f57aebd5
commit 78051789c4
5 changed files with 42 additions and 10 deletions

View File

@@ -24,6 +24,9 @@ export class GameDone extends Laya.Script {
@property(Laya.Image)
public star2: Laya.Image
@property(Laya.Image)
public star4: Laya.Image
@property(Laya.Label)
public label_diffucuty: Laya.Label
@@ -67,6 +70,13 @@ export class GameDone extends Laya.Script {
this.star2.y = y2 - 10
Laya.Tween.to(this.star2, { y: y2 }, 300, Laya.Ease.elasticOut, null, 600)
this.star4.scaleX = 1.2
this.star4.scaleY = 1.2
Laya.Tween.to(this.star4, { scaleX: 1, scaleY: 1 }, 300, Laya.Ease.elasticOut, null, 600)
const y4 = this.star4.y
this.star4.y = y4 - 10
Laya.Tween.to(this.star4, { y: y4 }, 300, Laya.Ease.elasticOut, null, 600)
this.obj_light.alpha = 0
Laya.Tween.to(this.obj_light, { alpha: 0.2 }, 500, Laya.Ease.elasticOut, null, 800)