diff --git a/examples/entityScripts/portal.js b/examples/entityScripts/portal.js index e1f00b0afc..5dd7849c38 100644 --- a/examples/entityScripts/portal.js +++ b/examples/entityScripts/portal.js @@ -1,6 +1,7 @@ (function(){ var teleport; var portalDestination; + var animationURL; function playSound() { Audio.playSound(teleport, { volume: 0.40, localOnly: true }); @@ -11,6 +12,7 @@ var properties = Entities.getEntityProperties(entityID); portalDestination = properties.userData; + animationURL = properties.modelURL; print("The portal destination is " + portalDestination); } @@ -25,7 +27,7 @@ this.leaveEntity = function(entityID) { Entities.editEntity(entityID, { - animationURL: "http://hifi-public.s3.amazonaws.com/models/content/phonebooth.fbx", + animationURL: animationURL, animationSettings: '{ "frameIndex": 1, "running": false }' }); @@ -34,7 +36,7 @@ this.hoverEnterEntity = function(entityID) { Entities.editEntity(entityID, { - animationURL: "http://hifi-public.s3.amazonaws.com/models/content/phonebooth.fbx", + animationURL: animationURL, animationSettings: '{ "fps": 24, "firstFrame": 1, "lastFrame": 25, "frameIndex": 1, "running": true, "hold": true }' }); }; diff --git a/examples/libraries/entityCameraTool.js b/examples/libraries/entityCameraTool.js index bbd28dd38a..da6a35b273 100644 --- a/examples/libraries/entityCameraTool.js +++ b/examples/libraries/entityCameraTool.js @@ -477,7 +477,7 @@ CameraManager = function() { // Last mode that was first or third person var lastAvatarCameraMode = "first person"; Camera.modeUpdated.connect(function(newMode) { - if (newMode == "first person" || newMode == "third person") { + if (newMode != "independent") { lastAvatarCameraMode = newMode; that.disable(true); } else { diff --git a/examples/notifications.js b/examples/notifications.js index 287bfd0b36..f9d2ba83ed 100644 --- a/examples/notifications.js +++ b/examples/notifications.js @@ -84,7 +84,7 @@ var users = []; var ctrlIsPressed = false; var ready = true; -var randomSounds = new SoundArray({}, true); +var randomSounds = new SoundArray({ localOnly: true }, true); var numberOfSounds = 2; for (var i = 1; i <= numberOfSounds; i++) { randomSounds.addSound(HIFI_PUBLIC_BUCKET + "sounds/UI/notification-general" + i + ".raw"); diff --git a/interface/resources/html/img/devices.png b/interface/resources/html/img/devices.png new file mode 100644 index 0000000000..fc4231e96e Binary files /dev/null and b/interface/resources/html/img/devices.png differ diff --git a/interface/resources/html/img/models.png b/interface/resources/html/img/models.png new file mode 100644 index 0000000000..b09c36011d Binary files /dev/null and b/interface/resources/html/img/models.png differ diff --git a/interface/resources/html/img/move.png b/interface/resources/html/img/move.png new file mode 100644 index 0000000000..4444ebbec5 Binary files /dev/null and b/interface/resources/html/img/move.png differ diff --git a/interface/resources/html/img/run-script.png b/interface/resources/html/img/run-script.png new file mode 100644 index 0000000000..941b8ee9f1 Binary files /dev/null and b/interface/resources/html/img/run-script.png differ diff --git a/interface/resources/html/img/talk.png b/interface/resources/html/img/talk.png new file mode 100644 index 0000000000..682e034ab0 Binary files /dev/null and b/interface/resources/html/img/talk.png differ diff --git a/interface/resources/html/img/write-script.png b/interface/resources/html/img/write-script.png new file mode 100644 index 0000000000..dae97e59b1 Binary files /dev/null and b/interface/resources/html/img/write-script.png differ diff --git a/interface/resources/html/interface-welcome-allsvg.html b/interface/resources/html/interface-welcome-allsvg.html deleted file mode 100644 index d025f8059b..0000000000 --- a/interface/resources/html/interface-welcome-allsvg.html +++ /dev/null @@ -1,628 +0,0 @@ - -
+ Move around with WASD & fly
+ up or down with E & C.
+ Cmnd/Ctrl+G will send you
+ home. Hitting Enter will let you
+ teleport to a user or location.
+
+ Use your best headphones
+ and microphone for high
+ fidelity audio. Chat via text by
+ pressing the \ key.
+
+ Have an Oculus Rift, a Razer
+ Hydra, or a PrimeSense 3D
+ camera? We support them all.
+
+ Cmnd/Cntrl+J will launch a
+ Running Scripts dialog to help
+ manage your scripts and search
+ for new ones to run.
+
+ Write a script; we're always
+ adding new features.
+ Cmnd/Cntrl+J will launch a
+ Running Scripts dialog to help
+ manage your scripts.
+
+ Use the editEntitles.js script to
+ add FBX models in-world. You
+ can use grids and fine tune
+ placement-related parameters
+ with ease.
+
+ We are writing documentation on
+ just about everything. Please,
+ devour all we've written and make
+ suggestions where necessary.
+ Documentation is always at
+ docs.highfidelity.io
+