mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
improve footstep sounds
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -61,6 +61,9 @@ var AudioLibrary = {
|
||||
FOOTSTEPS_1: 'audio/footsteps-1.flac',
|
||||
FOOTSTEPS_2: 'audio/footsteps-2.flac',
|
||||
FOOTSTEPS_3: 'audio/footsteps-3.flac',
|
||||
FOOTSTEPS_4: 'audio/footsteps-4.flac',
|
||||
FOOTSTEPS_5: 'audio/footsteps-5.flac',
|
||||
FOOTSTEPS_6: 'audio/footsteps-6.flac',
|
||||
EAT_MEAT: 'audio/eat-meat.flac',
|
||||
USE_MEDS: 'audio/use-meds.flac',
|
||||
WEAPON_UNARMED_1: 'audio/weapon-unarmed-1.flac',
|
||||
|
||||
+1
-1
@@ -348,7 +348,7 @@ var World = {
|
||||
World.doSpace();
|
||||
|
||||
// play random footstep
|
||||
var randomFootstep = Math.floor(Math.random() * 2) + 1;
|
||||
var randomFootstep = Math.floor(Math.random() * 5) + 1;
|
||||
AudioEngine.playSound(AudioLibrary['FOOTSTEPS_' + randomFootstep]);
|
||||
|
||||
if(World.checkDanger()) {
|
||||
|
||||
Reference in New Issue
Block a user