补充结算页动效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

@@ -23,6 +23,9 @@
"star2": { "star2": {
"_$ref": "c94zj9eo" "_$ref": "c94zj9eo"
}, },
"star4": {
"_$ref": "kn1x3k7e"
},
"label_diffucuty": { "label_diffucuty": {
"_$ref": "sli8jsxk" "_$ref": "sli8jsxk"
}, },
@@ -206,10 +209,8 @@
"name": "star", "name": "star",
"x": 330, "x": 330,
"y": -160, "y": -160,
"width": 108, "width": 324,
"height": 108, "height": 324,
"scaleX": 3,
"scaleY": 3,
"centerX": 0, "centerX": 0,
"skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3", "skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3",
"color": "#ffffff" "color": "#ffffff"

View File

@@ -23,6 +23,9 @@
"star2": { "star2": {
"_$ref": "92i5b9b6" "_$ref": "92i5b9b6"
}, },
"star4": {
"_$ref": "r3vdvcfa"
},
"label_diffucuty": { "label_diffucuty": {
"_$ref": "t56jxo0a" "_$ref": "t56jxo0a"
}, },
@@ -83,7 +86,14 @@
"alpha": 0.2, "alpha": 0.2,
"centerX": 0, "centerX": 0,
"skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a", "skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a",
"color": "#ffffff" "color": "#ffffff",
"_$comp": [
{
"_$type": "b4f67ca3-86fe-409d-a439-63a715243fb7",
"scriptPath": "../src/views/common/AutoRotate.ts",
"speed": 1
}
]
}, },
{ {
"_$id": "qckc4n2a", "_$id": "qckc4n2a",
@@ -199,10 +209,8 @@
"name": "star", "name": "star",
"x": 354, "x": 354,
"y": 20, "y": 20,
"width": 80, "width": 240,
"height": 80, "height": 240,
"scaleX": 3,
"scaleY": 3,
"centerX": 0, "centerX": 0,
"skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3", "skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3",
"color": "#ffffff" "color": "#ffffff"

View File

@@ -23,6 +23,9 @@
"star2": { "star2": {
"_$ref": "7m6pwbe2" "_$ref": "7m6pwbe2"
}, },
"star4": {
"_$ref": "08ict2h8"
},
"label_diffucuty": { "label_diffucuty": {
"_$ref": "mdvetv8w" "_$ref": "mdvetv8w"
}, },
@@ -82,7 +85,14 @@
"alpha": 0.2, "alpha": 0.2,
"centerX": 0, "centerX": 0,
"skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a", "skin": "res://ebbaa034-8dd8-4fb8-abd5-094cdd76f93a",
"color": "#ffffff" "color": "#ffffff",
"_$comp": [
{
"_$type": "b4f67ca3-86fe-409d-a439-63a715243fb7",
"scriptPath": "../src/views/common/AutoRotate.ts",
"speed": 1
}
]
}, },
{ {
"_$id": "hm9tgyxm", "_$id": "hm9tgyxm",

View File

@@ -24,6 +24,9 @@
"star2": { "star2": {
"_$ref": "zyknbizk" "_$ref": "zyknbizk"
}, },
"star4": {
"_$ref": "0g7sbrhd"
},
"label_diffucuty": { "label_diffucuty": {
"_$ref": "291hwgvn" "_$ref": "291hwgvn"
}, },

View File

@@ -24,6 +24,9 @@ export class GameDone extends Laya.Script {
@property(Laya.Image) @property(Laya.Image)
public star2: Laya.Image public star2: Laya.Image
@property(Laya.Image)
public star4: Laya.Image
@property(Laya.Label) @property(Laya.Label)
public label_diffucuty: Laya.Label public label_diffucuty: Laya.Label
@@ -67,6 +70,13 @@ export class GameDone extends Laya.Script {
this.star2.y = y2 - 10 this.star2.y = y2 - 10
Laya.Tween.to(this.star2, { y: y2 }, 300, Laya.Ease.elasticOut, null, 600) 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 this.obj_light.alpha = 0
Laya.Tween.to(this.obj_light, { alpha: 0.2 }, 500, Laya.Ease.elasticOut, null, 800) Laya.Tween.to(this.obj_light, { alpha: 0.2 }, 500, Laya.Ease.elasticOut, null, 800)