This commit is contained in:
parent
f72e779426
commit
410efe5308
@ -53,7 +53,7 @@ export class BigWinUI extends Component {
|
|||||||
isfree: boolean = false;//是否在小游戏内
|
isfree: boolean = false;//是否在小游戏内
|
||||||
|
|
||||||
protected onLoad(): void {
|
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) {
|
show(winScore: number, winType: WIN_TYPE, betAmount: number, isFreeSpin: boolean) {
|
||||||
@ -338,6 +338,8 @@ export class BigWinUI extends Component {
|
|||||||
switch (prefix) {
|
switch (prefix) {
|
||||||
case 'big':
|
case 'big':
|
||||||
Tween.stopAllByTag(100)
|
Tween.stopAllByTag(100)
|
||||||
|
this.megawinLabelSprite.node.setScale(0, 0, 1)
|
||||||
|
this.supermegawinLabelSprite.node.setScale(0, 0, 1)
|
||||||
tween(this.bigwinLabelSprite.node)
|
tween(this.bigwinLabelSprite.node)
|
||||||
.tag(100)
|
.tag(100)
|
||||||
.to(0.5, { scale: v3(1.2, 1.2, 1) })
|
.to(0.5, { scale: v3(1.2, 1.2, 1) })
|
||||||
@ -347,6 +349,7 @@ export class BigWinUI extends Component {
|
|||||||
case 'mega':
|
case 'mega':
|
||||||
Tween.stopAllByTag(100)
|
Tween.stopAllByTag(100)
|
||||||
this.bigwinLabelSprite.node.setScale(0, 0, 1)
|
this.bigwinLabelSprite.node.setScale(0, 0, 1)
|
||||||
|
this.supermegawinLabelSprite.node.setScale(0, 0, 1)
|
||||||
tween(this.megawinLabelSprite.node)
|
tween(this.megawinLabelSprite.node)
|
||||||
.tag(100)
|
.tag(100)
|
||||||
.to(0.5, { scale: v3(1.2, 1.2, 1) })
|
.to(0.5, { scale: v3(1.2, 1.2, 1) })
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user