完善结算页动效
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 54 KiB |
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"uuid": "71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
|
||||
"importer": {
|
||||
"textureType": 2
|
||||
}
|
||||
}
|
||||
@@ -25,6 +25,9 @@
|
||||
"star2": {
|
||||
"_$ref": "c94zj9eo"
|
||||
},
|
||||
"star3": {
|
||||
"_$ref": "lusyix89"
|
||||
},
|
||||
"star4": {
|
||||
"_$ref": "kn1x3k7e"
|
||||
},
|
||||
@@ -172,9 +175,9 @@
|
||||
"name": "check(1)",
|
||||
"x": 69,
|
||||
"y": 19,
|
||||
"width": 308,
|
||||
"height": 309,
|
||||
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
|
||||
"width": 306,
|
||||
"height": 307,
|
||||
"skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72",
|
||||
"useSourceSize": true,
|
||||
"color": "#ffffff"
|
||||
},
|
||||
@@ -196,10 +199,10 @@
|
||||
"name": "check(3)",
|
||||
"x": 696,
|
||||
"y": -35,
|
||||
"width": 308,
|
||||
"height": 309,
|
||||
"width": 306,
|
||||
"height": 307,
|
||||
"rotation": 26,
|
||||
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
|
||||
"skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72",
|
||||
"useSourceSize": true,
|
||||
"color": "#ffffff"
|
||||
}
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
"star2": {
|
||||
"_$ref": "92i5b9b6"
|
||||
},
|
||||
"star3": {
|
||||
"_$ref": "qq8zxqnu"
|
||||
},
|
||||
"star4": {
|
||||
"_$ref": "r3vdvcfa"
|
||||
},
|
||||
@@ -177,7 +180,7 @@
|
||||
"y": 33,
|
||||
"width": 190,
|
||||
"height": 190,
|
||||
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
|
||||
"skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
{
|
||||
@@ -200,7 +203,7 @@
|
||||
"width": 190,
|
||||
"height": 190,
|
||||
"rotation": 28,
|
||||
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
|
||||
"skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72",
|
||||
"color": "#ffffff"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
"star2": {
|
||||
"_$ref": "7m6pwbe2"
|
||||
},
|
||||
"star3": {
|
||||
"_$ref": "svxs9o8h"
|
||||
},
|
||||
"star4": {
|
||||
"_$ref": "08ict2h8"
|
||||
},
|
||||
@@ -169,12 +172,14 @@
|
||||
"_$id": "c911dc1t",
|
||||
"_$type": "Image",
|
||||
"name": "check(1)",
|
||||
"x": 69,
|
||||
"y": 19,
|
||||
"width": 308,
|
||||
"height": 309,
|
||||
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
|
||||
"useSourceSize": true,
|
||||
"x": 217,
|
||||
"y": 188,
|
||||
"width": 252,
|
||||
"height": 252,
|
||||
"anchorX": 0.5,
|
||||
"anchorY": 0.5,
|
||||
"rotation": -15,
|
||||
"skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
{
|
||||
@@ -193,13 +198,14 @@
|
||||
"_$id": "svxs9o8h",
|
||||
"_$type": "Image",
|
||||
"name": "check(3)",
|
||||
"x": 696,
|
||||
"y": -35,
|
||||
"width": 308,
|
||||
"height": 309,
|
||||
"rotation": 26,
|
||||
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
|
||||
"useSourceSize": true,
|
||||
"x": 759.0132866424543,
|
||||
"y": 189.48281388005253,
|
||||
"width": 252,
|
||||
"height": 252,
|
||||
"anchorX": 0.5,
|
||||
"anchorY": 0.5,
|
||||
"rotation": 20,
|
||||
"skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72",
|
||||
"color": "#ffffff"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -24,6 +24,9 @@
|
||||
"star2": {
|
||||
"_$ref": "zyknbizk"
|
||||
},
|
||||
"star3": {
|
||||
"_$ref": "51j0ljjv"
|
||||
},
|
||||
"star4": {
|
||||
"_$ref": "0g7sbrhd"
|
||||
},
|
||||
@@ -173,11 +176,14 @@
|
||||
"_$id": "dy7essc0",
|
||||
"_$type": "Image",
|
||||
"name": "check(1)",
|
||||
"x": 190,
|
||||
"y": 33,
|
||||
"x": 263,
|
||||
"y": 128,
|
||||
"width": 190,
|
||||
"height": 190,
|
||||
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
|
||||
"anchorX": 0.5,
|
||||
"anchorY": 0.5,
|
||||
"rotation": -13,
|
||||
"skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72",
|
||||
"color": "#ffffff"
|
||||
},
|
||||
{
|
||||
@@ -195,12 +201,14 @@
|
||||
"_$id": "51j0ljjv",
|
||||
"_$type": "Image",
|
||||
"name": "check(3)",
|
||||
"x": 630,
|
||||
"y": -8,
|
||||
"x": 686.2802239279707,
|
||||
"y": 120.47981945881025,
|
||||
"width": 190,
|
||||
"height": 190,
|
||||
"rotation": 28,
|
||||
"skin": "res://71d84f8a-b8bc-46ae-b68b-bbb43fd588d7",
|
||||
"anchorX": 0.5,
|
||||
"anchorY": 0.5,
|
||||
"rotation": 8,
|
||||
"skin": "res://902e1f3a-6f95-4796-8449-974ae5354d72",
|
||||
"color": "#ffffff"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -24,6 +24,9 @@ export class GameDone extends Laya.Script {
|
||||
@property(Laya.Image)
|
||||
public star2: Laya.Image
|
||||
|
||||
@property(Laya.Image)
|
||||
public star3: Laya.Image
|
||||
|
||||
@property(Laya.Image)
|
||||
public star4: Laya.Image
|
||||
|
||||
@@ -59,6 +62,9 @@ export class GameDone extends Laya.Script {
|
||||
this.star2.scaleX = 1.2
|
||||
this.star2.scaleY = 1.2
|
||||
|
||||
this.star3.scaleX = 1.2
|
||||
this.star3.scaleY = 1.2
|
||||
|
||||
this.star4.scaleX = 1.2
|
||||
this.star4.scaleY = 1.2
|
||||
}
|
||||
@@ -79,16 +85,21 @@ export class GameDone extends Laya.Script {
|
||||
this.star2.y = y2 - 10
|
||||
Laya.Tween.to(this.star2, { y: y2 }, 300, Laya.Ease.elasticOut, null, 600)
|
||||
|
||||
Laya.Tween.to(this.star3, { scaleX: 1, scaleY: 1 }, 300, Laya.Ease.elasticOut, null, 800)
|
||||
const y3 = this.star3.y
|
||||
this.star3.y = y3 - 10
|
||||
Laya.Tween.to(this.star3, { y: y3 }, 300, Laya.Ease.elasticOut, null, 800)
|
||||
|
||||
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)
|
||||
Laya.Tween.to(this.obj_light, { alpha: 0.2 }, 500, Laya.Ease.elasticOut, null, 1000)
|
||||
|
||||
this.btn_new.alpha = 0
|
||||
Laya.Tween.to(this.btn_new, { alpha: 1 }, 300, Laya.Ease.elasticOut, null, 1000)
|
||||
Laya.Tween.to(this.btn_new, { alpha: 1 }, 300, Laya.Ease.elasticOut, null, 1200)
|
||||
}
|
||||
|
||||
public onSetStageInfo(doStage: DOStage): void {
|
||||
|
||||
Reference in New Issue
Block a user