We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f39c2d5 commit 61899caCopy full SHA for 61899ca
src/game.js
@@ -40,6 +40,14 @@ export class Game
40
// in a full game this should be handled gracefully.
41
PIXI.loader.resources['bounce'].sound.volume = value;
42
});
43
+ testApp.state.musicVolume.subscribe(result =>
44
+ {
45
+ console.log('musicVolume: ', result);
46
+ });
47
+ testApp.state.voVolume.subscribe(result =>
48
49
+ console.log('voVolume: ', result);
50
51
52
// add a extra state property for storying the current scene. Whenever the scene is changed, this class
53
// will swap out the container attached to the stage
0 commit comments