调试加分动画
This commit is contained in:
@@ -19,11 +19,11 @@ export class ScoreAdd extends Laya.Script {
|
|||||||
|
|
||||||
onStart(): void {
|
onStart(): void {
|
||||||
|
|
||||||
Laya.Tween.to(this.label, { scaleX: 1, scaleY: 1 }, 300, Laya.Ease.strongIn, null, 0)
|
Laya.Tween.to(this.label, { scaleX: 1, scaleY: 1 }, 300, Laya.Ease.bounceIn, null, 0)
|
||||||
|
|
||||||
Laya.Tween.to(this.label, { y: -102 }, 300, Laya.Ease.strongIn, null, 500)
|
Laya.Tween.to(this.label, { y: -102 }, 300, Laya.Ease.linearOut, null, 500)
|
||||||
|
|
||||||
Laya.Tween.to(this.label, { alpha: 0 }, 300, Laya.Ease.strongIn, null, 500)
|
Laya.Tween.to(this.label, { alpha: 0 }, 300, Laya.Ease.linearOut, null, 500)
|
||||||
}
|
}
|
||||||
|
|
||||||
public onSetText(text: string): void {
|
public onSetText(text: string): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user