Compare commits

..

2 Commits

Author SHA1 Message Date
TJH
b6c8adc46f 确认购买小游戏后,小游戏购买界面按钮置灰
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 44s
2025-10-14 16:47:59 +08:00
TJH
7dd93f11d3 信息栏 2025-10-14 16:30:52 +08:00
2 changed files with 1527 additions and 1505 deletions

File diff suppressed because it is too large Load Diff

View File

@ -206,6 +206,7 @@ export class SlotScene extends Component {
let featureBuy = panel.getComponent(FeatureBuy) let featureBuy = panel.getComponent(FeatureBuy)
this.node.addChild(panel); this.node.addChild(panel);
featureBuy.show(this.slotBar.getBet(), this.gameInfo.BuyMul, () => { featureBuy.show(this.slotBar.getBet(), this.gameInfo.BuyMul, () => {
this.slotGame.setFeatureBuyInteractable(false)
this.spinBtnClick(false, true); this.spinBtnClick(false, true);
this.slotBar.featureBuySpin(); this.slotBar.featureBuySpin();
}); });
@ -456,7 +457,6 @@ export class SlotScene extends Component {
} }
allRollerStop() { allRollerStop() {
this.slotGame.setFastSpin(this.gameState.isFastSpin); this.slotGame.setFastSpin(this.gameState.isFastSpin);
this.checkHasGame(); this.checkHasGame();
// this.TotalWin.show(35, () => { // this.TotalWin.show(35, () => {
@ -475,6 +475,7 @@ export class SlotScene extends Component {
if (isExpect) { if (isExpect) {
this.slotGame.playScatterAni(() => { this.slotGame.playScatterAni(() => {
this.FreeSpinEnter.show(this.spinInfo.Data.FreeSpin.MaxCount, () => { this.FreeSpinEnter.show(this.spinInfo.Data.FreeSpin.MaxCount, () => {
this.slotGame.setFeatureBuyInteractable(true)
AudioManager.instance.stopAllSFX() AudioManager.instance.stopAllSFX()
AudioManager.instance.playBGM('Free_Mode_BGM'); AudioManager.instance.playBGM('Free_Mode_BGM');
this.slotGame.changeBg(true); this.slotGame.changeBg(true);
@ -725,7 +726,6 @@ export class SlotScene extends Component {
this.slotBar.setWin(this.spinData.AllScore); this.slotBar.setWin(this.spinData.AllScore);
this.slotBar.setBalance(this.spinData.Balance); this.slotBar.setBalance(this.spinData.Balance);
this.slotGame.changeBg(false); this.slotGame.changeBg(false);
this.slotGame.playNextSprite()
this.checkAutoSpin(true, isReconnect); this.checkAutoSpin(true, isReconnect);
AudioManager.instance.playBGM('Normal_Mode_BGM'); AudioManager.instance.playBGM('Normal_Mode_BGM');