mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 21:05:04 +02:00
add arcade sound
This commit is contained in:
parent
5cf936f132
commit
fc8184ffed
1 changed files with 17 additions and 4 deletions
|
@ -65,7 +65,7 @@ var soundMap = [{
|
||||||
y: 495.60,
|
y: 495.60,
|
||||||
z: 502.08
|
z: 502.08
|
||||||
},
|
},
|
||||||
volume: 0.25,
|
volume: 0.05,
|
||||||
loop: true
|
loop: true
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
@ -73,14 +73,27 @@ var soundMap = [{
|
||||||
url: "http://hifi-public.s3.amazonaws.com/ryan/dogs_barking_1.L.wav",
|
url: "http://hifi-public.s3.amazonaws.com/ryan/dogs_barking_1.L.wav",
|
||||||
audioOptions: {
|
audioOptions: {
|
||||||
position: {
|
position: {
|
||||||
x: 551.61,
|
x: 523,
|
||||||
y: 494.88,
|
y: 494.88,
|
||||||
z: 502.00
|
z: 469
|
||||||
},
|
},
|
||||||
volume: 0.15,
|
volume: 0.05,
|
||||||
loop: false
|
loop: false
|
||||||
},
|
},
|
||||||
playAtInterval: 60 * 1000
|
playAtInterval: 60 * 1000
|
||||||
|
}, {
|
||||||
|
name: 'arcade game',
|
||||||
|
url: "http://hifi-public.s3.amazonaws.com/ryan/ARCADE_GAMES_VID.L.L.wav",
|
||||||
|
audioOptions: {
|
||||||
|
position: {
|
||||||
|
x: 543.77,
|
||||||
|
y: 495.07,
|
||||||
|
z: 502.25
|
||||||
|
},
|
||||||
|
volume: 0.01,
|
||||||
|
loop: false,
|
||||||
|
},
|
||||||
|
playAtInterval: 90 * 1000
|
||||||
}];
|
}];
|
||||||
|
|
||||||
function loadSounds() {
|
function loadSounds() {
|
||||||
|
|
Loading…
Reference in a new issue