sound on the server

This commit is contained in:
James B. Pollack 2016-02-08 13:53:12 -08:00
parent 325c7525c7
commit 0368bfc4ee

View file

@ -115,8 +115,8 @@ var scenes = [{
radius: 500,
number: 10,
userData: JSON.stringify({
entryPoint:locations.cellLayout[1],
location: locations.cellLayout[1],
target: locations.cellLayout[1],
location: locations.cellLayout[0],
baseURL: baseLocation
}),
script: "zoom.js?" + version,
@ -597,7 +597,7 @@ function ImportScene(scene) {
CreateInstances(scene);
CreateBoundary(scene);
// CreateBackgroundAudio(scene.name, scene.location, scene.dimensions);
CreateBackgroundAudio(scene.name, scene.location, scene.dimensions);
// print("done " + scene.name);
@ -654,9 +654,9 @@ function CreateNavigationButton(scene, number) {
blue: 0
},
dimensions: {
x: 16000,
y: 16000,
z: 16000
x: 10,
y: 10,
z: 10
},
visible: false,
userData: JSON.stringify({
@ -669,7 +669,7 @@ function CreateNavigationButton(scene, number) {
grabbable: false
}
}),
position:{x:0,y:0,z:0},
// position:{x:3000,y:13500,z:3000},
script: baseLocation + "Scripts/navigationButton.js?" + version,
collisionless: true,
@ -853,10 +853,10 @@ function CreateBackgroundAudio(name, position) {
Entities.addEntity({
type: "Sphere",
name: "Location " + name + " background audio",
dimensions: {
x: 16000,
y: 16000,
z: 16000
dimensions: {
x: 4000,
y: 4000,
z: 4000
},
position: position,
visible: false,