调整核心玩法细节表现

This commit is contained in:
2025-05-15 21:36:03 +08:00
parent 860c069b99
commit b06c8d4414
17 changed files with 25009 additions and 6156 deletions

14
src/views/ScoreAdd.ts Normal file
View File

@@ -0,0 +1,14 @@
const { regClass, property } = Laya;
@regClass()
export class ScoreAdd extends Laya.Script {
declare owner : Laya.Box;
//组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次
onAwake(): void {
var offset = this.owner.getChildByName("offset")
Laya.Tween.to(offset, {y:-200}, 1000, Laya.Ease.strongIn, null, 500)
var Label = offset.getChildByName("Label")
Laya.Tween.to(Label, {scaleX:1.5, scaleY:1.5}, 500)
}
}