bigwin动效

This commit is contained in:
TJH 2026-04-20 15:28:18 +08:00
parent 574329eaf4
commit a66dcfe1ec

View File

@ -119,10 +119,10 @@ export class BigWin extends Component {
.start(); .start();
this.startBubbleAnimation(actionNode); this.startBubbleAnimation(actionNode);
// this.playSpineAnimation(actionNode, 'ruchang', false, () => { this.playSpineAnimation(actionNode, 'ruchang', false, () => {
// this.playSpineAnimation(actionNode, 'chixu', true); this.playSpineAnimation(actionNode, 'chixu', true);
// }); });
} }
startScrolling(isFirst: boolean, curType: WIN_TYPE, startValue: number, targetValue: number, callBack: () => void) { startScrolling(isFirst: boolean, curType: WIN_TYPE, startValue: number, targetValue: number, callBack: () => void) {
@ -262,10 +262,7 @@ export class BigWin extends Component {
} }
if (activeNode) { if (activeNode) {
// this.playSpineAnimation(activeNode, 'xiaoshi', false, onComplete); this.playSpineAnimation(activeNode, 'xiaoshi', false, onComplete);
this.scheduleOnce(() => {
onComplete()
}, 0.5)
} else { } else {
onComplete(); onComplete();
} }
@ -284,12 +281,9 @@ export class BigWin extends Component {
} }
if (activeNode) { if (activeNode) {
// this.playSpineAnimation(activeNode, 'xiaoshi', false, () => { this.playSpineAnimation(activeNode, 'xiaoshi', false, () => {
// this.closeAndDestroy(callBack);
// });
this.scheduleOnce(() => {
this.closeAndDestroy(callBack); this.closeAndDestroy(callBack);
}, 0.5) });
} else { } else {
this.closeAndDestroy(callBack); this.closeAndDestroy(callBack);
} }