bigwin动效
This commit is contained in:
parent
574329eaf4
commit
a66dcfe1ec
@ -119,10 +119,10 @@ export class BigWin extends Component {
|
||||
.start();
|
||||
|
||||
this.startBubbleAnimation(actionNode);
|
||||
// this.playSpineAnimation(actionNode, 'ruchang', false, () => {
|
||||
// this.playSpineAnimation(actionNode, 'chixu', true);
|
||||
this.playSpineAnimation(actionNode, 'ruchang', false, () => {
|
||||
this.playSpineAnimation(actionNode, 'chixu', true);
|
||||
|
||||
// });
|
||||
});
|
||||
}
|
||||
|
||||
startScrolling(isFirst: boolean, curType: WIN_TYPE, startValue: number, targetValue: number, callBack: () => void) {
|
||||
@ -262,10 +262,7 @@ export class BigWin extends Component {
|
||||
}
|
||||
|
||||
if (activeNode) {
|
||||
// this.playSpineAnimation(activeNode, 'xiaoshi', false, onComplete);
|
||||
this.scheduleOnce(() => {
|
||||
onComplete()
|
||||
}, 0.5)
|
||||
this.playSpineAnimation(activeNode, 'xiaoshi', false, onComplete);
|
||||
} else {
|
||||
onComplete();
|
||||
}
|
||||
@ -284,12 +281,9 @@ export class BigWin extends Component {
|
||||
}
|
||||
|
||||
if (activeNode) {
|
||||
// this.playSpineAnimation(activeNode, 'xiaoshi', false, () => {
|
||||
// this.closeAndDestroy(callBack);
|
||||
// });
|
||||
this.scheduleOnce(() => {
|
||||
this.playSpineAnimation(activeNode, 'xiaoshi', false, () => {
|
||||
this.closeAndDestroy(callBack);
|
||||
}, 0.5)
|
||||
});
|
||||
} else {
|
||||
this.closeAndDestroy(callBack);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user