bigwin文字显示错误
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 8s

This commit is contained in:
TJH 2025-10-14 16:24:00 +08:00
parent f72e779426
commit 410efe5308

View File

@ -53,7 +53,7 @@ export class BigWinUI extends Component {
isfree: boolean = false;//是否在小游戏内
protected onLoad(): void {
// this.show(600000, WIN_TYPE.SUPER_MEGA_WIN, 10000,false)
// this.show(450000, WIN_TYPE.MEGA_WIN, 10000, true)
}
show(winScore: number, winType: WIN_TYPE, betAmount: number, isFreeSpin: boolean) {
@ -338,6 +338,8 @@ export class BigWinUI extends Component {
switch (prefix) {
case 'big':
Tween.stopAllByTag(100)
this.megawinLabelSprite.node.setScale(0, 0, 1)
this.supermegawinLabelSprite.node.setScale(0, 0, 1)
tween(this.bigwinLabelSprite.node)
.tag(100)
.to(0.5, { scale: v3(1.2, 1.2, 1) })
@ -347,6 +349,7 @@ export class BigWinUI extends Component {
case 'mega':
Tween.stopAllByTag(100)
this.bigwinLabelSprite.node.setScale(0, 0, 1)
this.supermegawinLabelSprite.node.setScale(0, 0, 1)
tween(this.megawinLabelSprite.node)
.tag(100)
.to(0.5, { scale: v3(1.2, 1.2, 1) })