pixi-rainman-game-engine 0.1.52 → 0.1.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AbstractMainContainer/AbstractMainContainer.js +4 -1
- package/dist/components/buttons/registrynames.d.ts +1 -0
- package/dist/components/buttons/registrynames.js +1 -0
- package/dist/controllers/AbstractController.js +1 -1
- package/dist/utils/common/sound.js +1 -1
- package/package.json +1 -1
|
@@ -56,8 +56,11 @@ export class AbstractMainContainer extends Container {
|
|
|
56
56
|
this.name = AbstractMainContainer.registryName;
|
|
57
57
|
this.buttonsEventManager = new ButtonsEventManager();
|
|
58
58
|
this.messageBox = new MessageBox();
|
|
59
|
-
if (RainMan.settingsStore.isSoundEnabled())
|
|
59
|
+
if (RainMan.settingsStore.isSoundEnabled()) {
|
|
60
60
|
SoundManager.resumeAll();
|
|
61
|
+
if (RainMan.settingsStore.ambientMusicFlag)
|
|
62
|
+
SoundManager.play(SoundTracks.music);
|
|
63
|
+
}
|
|
61
64
|
RainMan.app.renderer.on("resize", () => this.resize());
|
|
62
65
|
}
|
|
63
66
|
/**
|
|
@@ -28,6 +28,7 @@ export declare const COMPONENTS: {
|
|
|
28
28
|
readonly creditText: "creditText";
|
|
29
29
|
readonly bigWin: "bigWinText";
|
|
30
30
|
readonly mysteryWin: "mysteryWinText";
|
|
31
|
+
readonly rouletteWin: "rouletteWinText";
|
|
31
32
|
readonly bonusWin: "bonusWinText";
|
|
32
33
|
readonly superBonusWin: "superBonusWinText";
|
|
33
34
|
readonly autoSpinConfirm: "autoSpin-confirm";
|
|
@@ -635,7 +635,7 @@ export class AbstractController {
|
|
|
635
635
|
: freeSpinWins.at(0)?.freeSpinAward || 0;
|
|
636
636
|
const isAdditionalFreeSpins = RainMan.settingsStore.howManyFreeSpinsLeft - freeSpinAward > 0;
|
|
637
637
|
await this.handleFreeSpinPlateInvocation(freeSpinAward, isAdditionalFreeSpins);
|
|
638
|
-
this.uiController.
|
|
638
|
+
this.uiController.triggerUiElementsUpdate();
|
|
639
639
|
this.uiController.messageBox.showFreeSpinText();
|
|
640
640
|
}
|
|
641
641
|
if (this.invokeFreeSpinSummaryPlateAfterWin && !this.skipFreeSpinSummary) {
|
|
@@ -10,7 +10,7 @@ const resumeAudioContext = () => {
|
|
|
10
10
|
SoundManager.pauseAll();
|
|
11
11
|
return;
|
|
12
12
|
}
|
|
13
|
-
if (
|
|
13
|
+
if (RainMan.settingsStore.isSoundEnabled() && !document.hidden) {
|
|
14
14
|
SoundManager.resumeAll();
|
|
15
15
|
return;
|
|
16
16
|
}
|
package/package.json
CHANGED