diff --git a/assets/resources/GameDone_DC.lh b/assets/resources/GameDone_DC.lh index 48ebfef..6de5e40 100644 --- a/assets/resources/GameDone_DC.lh +++ b/assets/resources/GameDone_DC.lh @@ -23,6 +23,9 @@ "star2": { "_$ref": "c94zj9eo" }, + "star4": { + "_$ref": "kn1x3k7e" + }, "label_diffucuty": { "_$ref": "sli8jsxk" }, @@ -206,10 +209,8 @@ "name": "star", "x": 330, "y": -160, - "width": 108, - "height": 108, - "scaleX": 3, - "scaleY": 3, + "width": 324, + "height": 324, "centerX": 0, "skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3", "color": "#ffffff" diff --git a/assets/resources/GameDone_DC_H.lh b/assets/resources/GameDone_DC_H.lh index 4046781..2eab59e 100644 --- a/assets/resources/GameDone_DC_H.lh +++ b/assets/resources/GameDone_DC_H.lh @@ -23,6 +23,9 @@ "star2": { "_$ref": "92i5b9b6" }, + "star4": { + "_$ref": "r3vdvcfa" + }, "label_diffucuty": { "_$ref": "t56jxo0a" }, @@ -83,7 +86,14 @@ "alpha": 0.2, "centerX": 0, "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", @@ -199,10 +209,8 @@ "name": "star", "x": 354, "y": 20, - "width": 80, - "height": 80, - "scaleX": 3, - "scaleY": 3, + "width": 240, + "height": 240, "centerX": 0, "skin": "res://c5e80bd0-632f-4460-bce3-ebf9669359e3", "color": "#ffffff" diff --git a/assets/resources/GameDone_Normal.lh b/assets/resources/GameDone_Normal.lh index 8ec7c75..f7f04f8 100644 --- a/assets/resources/GameDone_Normal.lh +++ b/assets/resources/GameDone_Normal.lh @@ -23,6 +23,9 @@ "star2": { "_$ref": "7m6pwbe2" }, + "star4": { + "_$ref": "08ict2h8" + }, "label_diffucuty": { "_$ref": "mdvetv8w" }, @@ -82,7 +85,14 @@ "alpha": 0.2, "centerX": 0, "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", diff --git a/assets/resources/GameDone_Normal_H.lh b/assets/resources/GameDone_Normal_H.lh index 0d91d1c..1c5f351 100644 --- a/assets/resources/GameDone_Normal_H.lh +++ b/assets/resources/GameDone_Normal_H.lh @@ -24,6 +24,9 @@ "star2": { "_$ref": "zyknbizk" }, + "star4": { + "_$ref": "0g7sbrhd" + }, "label_diffucuty": { "_$ref": "291hwgvn" }, diff --git a/src/views/GameDone.ts b/src/views/GameDone.ts index 558f6c2..cbd557e 100644 --- a/src/views/GameDone.ts +++ b/src/views/GameDone.ts @@ -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)