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