mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
add outline of Path sounds
This commit is contained in:
Binary file not shown.
@@ -2,6 +2,13 @@ var Path = {
|
|||||||
|
|
||||||
DEFAULT_BAG_SPACE: 10,
|
DEFAULT_BAG_SPACE: 10,
|
||||||
_STORES_OFFSET: 0,
|
_STORES_OFFSET: 0,
|
||||||
|
currentMusic: 0,
|
||||||
|
MUSIC: {
|
||||||
|
0: '/audio/dusty-path.wav'
|
||||||
|
},
|
||||||
|
SOUNDS: {
|
||||||
|
'embark': '/audio/embark.wav',
|
||||||
|
},
|
||||||
// Everything not in this list weighs 1
|
// Everything not in this list weighs 1
|
||||||
Weight: {
|
Weight: {
|
||||||
'bone spear': 2,
|
'bone spear': 2,
|
||||||
@@ -304,6 +311,7 @@ var Path = {
|
|||||||
Path.setTitle();
|
Path.setTitle();
|
||||||
Path.updateOutfitting();
|
Path.updateOutfitting();
|
||||||
Path.updatePerks(true);
|
Path.updatePerks(true);
|
||||||
|
Path.setMusic();
|
||||||
|
|
||||||
Engine.moveStoresView($('#perks'), transition_diff);
|
Engine.moveStoresView($('#perks'), transition_diff);
|
||||||
},
|
},
|
||||||
@@ -357,5 +365,9 @@ var Path = {
|
|||||||
scrollByX( $('#storesContainer'), momentum );
|
scrollByX( $('#storesContainer'), momentum );
|
||||||
Path._STORES_OFFSET += momentum;
|
Path._STORES_OFFSET += momentum;
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
setMusic: function () {
|
||||||
|
AudioEngine.changeMusic(Path.MUSIC[0]);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user