From bc7d7a3dae12a09816a8d285afeb97dd249370f5 Mon Sep 17 00:00:00 2001 From: ericrius1 Date: Tue, 1 Mar 2016 12:43:06 -0800 Subject: [PATCH 1/5] adding chapters --- .../fireworksLaunchButtonEntityScript.js | 21 +++++++++++++ .../chapter1/fireworksLaunchButtonSpawner.js | 30 +++++++++++++++++++ .../fireworksLaunchButtonEntityScript.js | 21 +++++++++++++ .../chapter2/fireworksLaunchButtonSpawner.js | 30 +++++++++++++++++++ 4 files changed, 102 insertions(+) create mode 100644 examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js create mode 100644 examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js create mode 100644 examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js create mode 100644 examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js diff --git a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js new file mode 100644 index 0000000000..1f361656f1 --- /dev/null +++ b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js @@ -0,0 +1,21 @@ +// Chapter 1: fireworksLaunchButtonEntityScript.js + + (function() { + Script.include("../../libraries/utils.js"); + var _this; + Fireworks = function() { + _this = this; + }; + + Fireworks.prototype = { + + preload: function(entityID) { + _this.entityID = entityID; + + } + + }; + + // entity scripts always need to return a newly constructed object of our type + return new Fireworks(); + }); diff --git a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js new file mode 100644 index 0000000000..a4969aa8ed --- /dev/null +++ b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js @@ -0,0 +1,30 @@ + + // Chapter1 : fireworksLaumchButtonSpawner.js + + var orientation = Camera.getOrientation(); + orientation = Quat.safeEulerAngles(orientation); + orientation.x = 0; + orientation = Quat.fromVec3Degrees(orientation); + var center = Vec3.sum(MyAvatar.position, Vec3.multiply(3, Quat.getFront(orientation))); + + var SCRIPT_URL = Script.resolvePath("fireworksLaunchButtonEntityScript.js"); + var MODEL_URL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/models/Launch-Button.fbx"; + var launchButton = Entities.addEntity({ + type: "Model", + name: "hifi-launch-button", + modelURL: MODEL_URL, + position: center, + dimensions: { + x: 0.98, + y: 1.16, + z: 0.98 + }, + script: SCRIPT_URL, + }) + + + function cleanup() { + Entities.deleteEntity(launchButton); + } + + Script.scriptEnding.connect(cleanup); \ No newline at end of file diff --git a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js new file mode 100644 index 0000000000..1f361656f1 --- /dev/null +++ b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js @@ -0,0 +1,21 @@ +// Chapter 1: fireworksLaunchButtonEntityScript.js + + (function() { + Script.include("../../libraries/utils.js"); + var _this; + Fireworks = function() { + _this = this; + }; + + Fireworks.prototype = { + + preload: function(entityID) { + _this.entityID = entityID; + + } + + }; + + // entity scripts always need to return a newly constructed object of our type + return new Fireworks(); + }); diff --git a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js new file mode 100644 index 0000000000..a4969aa8ed --- /dev/null +++ b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js @@ -0,0 +1,30 @@ + + // Chapter1 : fireworksLaumchButtonSpawner.js + + var orientation = Camera.getOrientation(); + orientation = Quat.safeEulerAngles(orientation); + orientation.x = 0; + orientation = Quat.fromVec3Degrees(orientation); + var center = Vec3.sum(MyAvatar.position, Vec3.multiply(3, Quat.getFront(orientation))); + + var SCRIPT_URL = Script.resolvePath("fireworksLaunchButtonEntityScript.js"); + var MODEL_URL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/models/Launch-Button.fbx"; + var launchButton = Entities.addEntity({ + type: "Model", + name: "hifi-launch-button", + modelURL: MODEL_URL, + position: center, + dimensions: { + x: 0.98, + y: 1.16, + z: 0.98 + }, + script: SCRIPT_URL, + }) + + + function cleanup() { + Entities.deleteEntity(launchButton); + } + + Script.scriptEnding.connect(cleanup); \ No newline at end of file From 7179960bbfbe153d53e094b7117b5816c3902c32 Mon Sep 17 00:00:00 2001 From: ericrius1 Date: Tue, 1 Mar 2016 14:18:38 -0800 Subject: [PATCH 2/5] chapter 2 --- .../fireworksLaunchButtonEntityScript.js | 65 ++++++++++++++++++- .../chapter2/fireworksLaunchButtonSpawner.js | 2 +- 2 files changed, 65 insertions(+), 2 deletions(-) diff --git a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js index 1f361656f1..142c8ffa96 100644 --- a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js +++ b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js @@ -1,16 +1,79 @@ -// Chapter 1: fireworksLaunchButtonEntityScript.js +// Chapter 2: fireworksLaunchButtonEntityScript.js (function() { Script.include("../../libraries/utils.js"); var _this; Fireworks = function() { _this = this; + _this.launchSound = SoundCache.getSound("https://s3-us-west-1.amazonaws.com/hifi-content/eric/Sounds/missle+launch.wav"); }; Fireworks.prototype = { + startNearTrigger: function() { + _this.shootFirework(_this.position); + }, + + startFarTrigger: function() { + _this.shootFirework(_this.position); + }, + + clickReleaseOnEntity: function() { + _this.shootFirework(_this.position); + }, + + + + shootFirework: function(launchPosition) { + Audio.playSound(_this.launchSound, { + position: launchPosition, + volume: 0.5 + }); + + + var smoke = Entities.addEntity({ + type: "ParticleEffect", + position: _this.position, + velocity: {x: 0, y: 3, z: 0}, + lifespan: 10, + lifetime: 20, + isEmitting: true, + name: "Smoke Trail", + maxParticles: 3000, + emitRate: 80, + emitSpeed: 0, + speedSpread: 0, + polarStart: 0, + polarFinish: 0, + azimuthStart: -3.14, + azimuthFinish: 3.14, + emitAcceleration: { + x: 0, + y: 0.01, + z: 0 + }, + accelerationSpread: { + x: 0.01, + y: 0, + z: 0.01 + }, + radiusSpread: 0.03, + particleRadius: 0.3, + radiusStart: 0.06, + radiusFinish: 0.9, + alpha: 0.1, + alphaSpread: 0, + alphaStart: 0.7, + alphaFinish: 0, + textures: "https://hifi-public.s3.amazonaws.com/alan/Particles/Particle-Sprite-Smoke-1.png", + emitterShouldTrail: true, + }); + + }, + preload: function(entityID) { _this.entityID = entityID; + _this.position = Entities.getEntityProperties(_this.entityID, "position").position; } diff --git a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js index a4969aa8ed..2fc4364c5a 100644 --- a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js +++ b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js @@ -1,5 +1,5 @@ - // Chapter1 : fireworksLaumchButtonSpawner.js + // Chapter 2 : fireworksLaumchButtonSpawner.js var orientation = Camera.getOrientation(); orientation = Quat.safeEulerAngles(orientation); From 2029532070edca6ec1067332d47dafc29bc3bcb9 Mon Sep 17 00:00:00 2001 From: ericrius1 Date: Tue, 1 Mar 2016 15:44:20 -0800 Subject: [PATCH 3/5] chapter 3 --- .../fireworksLaunchButtonEntityScript.js | 156 ++++++++++++++++++ .../chapter3/fireworksLaunchButtonSpawner.js | 30 ++++ 2 files changed, 186 insertions(+) create mode 100644 examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js create mode 100644 examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js diff --git a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js new file mode 100644 index 0000000000..f4332eccb6 --- /dev/null +++ b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js @@ -0,0 +1,156 @@ +// Chapter 3: fireworksLaunchButtonEntityScript.js + + (function() { + Script.include("../../libraries/utils.js"); + var _this; + Fireworks = function() { + _this = this; + _this.launchSound = SoundCache.getSound("https://s3-us-west-1.amazonaws.com/hifi-content/eric/Sounds/missle+launch.wav"); + _this.explosionSound = SoundCache.getSound("https://s3-us-west-1.amazonaws.com/hifi-content/eric/Sounds/fireworksExplosion.wav"); + _this.TIME_TO_EXPLODE = 3000; + }; + + Fireworks.prototype = { + + startNearTrigger: function() { + _this.shootFirework(_this.position); + }, + + startFarTrigger: function() { + _this.shootFirework(_this.position); + }, + + clickReleaseOnEntity: function() { + _this.shootFirework(_this.position); + }, + + + + shootFirework: function(launchPosition) { + Audio.playSound(_this.launchSound, { + position: launchPosition, + volume: 0.5 + }); + + + var smoke = Entities.addEntity({ + type: "ParticleEffect", + position: _this.position, + velocity: {x: 0, y: 3, z: 0}, + linearDamping: 0, + lifespan: 10, + lifetime: 20, + isEmitting: true, + name: "Smoke Trail", + maxParticles: 3000, + emitRate: 80, + emitSpeed: 0, + speedSpread: 0, + polarStart: 0, + polarFinish: 0, + azimuthStart: -3.14, + azimuthFinish: 3.14, + emitAcceleration: { + x: 0, + y: 0.01, + z: 0 + }, + accelerationSpread: { + x: 0.01, + y: 0, + z: 0.01 + }, + radiusSpread: 0.03, + particleRadius: 0.3, + radiusStart: 0.06, + radiusFinish: 0.9, + alpha: 0.1, + alphaSpread: 0, + alphaStart: 0.7, + alphaFinish: 0, + textures: "https://hifi-public.s3.amazonaws.com/alan/Particles/Particle-Sprite-Smoke-1.png", + emitterShouldTrail: true, + }); + + Script.setTimeout(function() { + var explodePosition = Entities.getEntityProperties(smoke, "position").position; + _this.explodeFirework(explodePosition); + }, _this.TIME_TO_EXPLODE); + + }, + + explodeFirework: function(explodePosition) { + Audio.playSound(_this.explosionSound, { + position: explodePosition + }); + var firework = Entities.addEntity({ + name: "fireworks emitter", + position: explodePosition, + type: "ParticleEffect", + colorStart: hslToRgb({ + h: Math.random(), + s: 0.5, + l: 0.7 + }), + color: hslToRgb({ + h: Math.random(), + s: 0.5, + l: 0.5 + }), + colorFinish: hslToRgb({ + h: Math.random(), + s: 0.5, + l: 0.7 + }), + maxParticles: 10000, + lifetime: 20, + lifespan: randFloat(1.5, 3), + emitRate: randInt(500, 5000), + emitSpeed: randFloat(0.5, 2), + speedSpread: 0.2, + emitOrientation: Quat.fromPitchYawRollDegrees(randInt(0, 360), randInt(0, 360), randInt(0, 360)), + polarStart: 1, + polarFinish: randFloat(1.2, 3), + azimuthStart: -Math.PI, + azimuthFinish: Math.PI, + emitAcceleration: { + x: 0, + y: randFloat(-1, -0.2), + z: 0 + }, + accelerationSpread: { + x: Math.random(), + y: 0, + z: Math.random() + }, + particleRadius: randFloat(0.001, 0.1), + radiusSpread: Math.random() * 0.1, + radiusStart: randFloat(0.001, 0.1), + radiusFinish: randFloat(0.001, 0.1), + alpha: randFloat(0.8, 1.0), + alphaSpread: randFloat(0.1, 0.2), + alphaStart: randFloat(0.7, 1.0), + alphaFinish: randFloat(0.7, 1.0), + textures: "http://ericrius1.github.io/PlatosCave/assets/star.png", + }); + + + Script.setTimeout(function() { + Entities.editEntity(firework, { + isEmitting: false + }); + }, randInt(500, 1000)); + + }, + + preload: function(entityID) { + _this.entityID = entityID; + _this.position = Entities.getEntityProperties(_this.entityID, "position").position; + + } + + }; + + // entity scripts always need to return a newly constructed object of our type + return new Fireworks(); + }); diff --git a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js new file mode 100644 index 0000000000..2fc4364c5a --- /dev/null +++ b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js @@ -0,0 +1,30 @@ + + // Chapter 2 : fireworksLaumchButtonSpawner.js + + var orientation = Camera.getOrientation(); + orientation = Quat.safeEulerAngles(orientation); + orientation.x = 0; + orientation = Quat.fromVec3Degrees(orientation); + var center = Vec3.sum(MyAvatar.position, Vec3.multiply(3, Quat.getFront(orientation))); + + var SCRIPT_URL = Script.resolvePath("fireworksLaunchButtonEntityScript.js"); + var MODEL_URL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/models/Launch-Button.fbx"; + var launchButton = Entities.addEntity({ + type: "Model", + name: "hifi-launch-button", + modelURL: MODEL_URL, + position: center, + dimensions: { + x: 0.98, + y: 1.16, + z: 0.98 + }, + script: SCRIPT_URL, + }) + + + function cleanup() { + Entities.deleteEntity(launchButton); + } + + Script.scriptEnding.connect(cleanup); \ No newline at end of file From caca60c0390770c66e82f8c5def0639be06837c6 Mon Sep 17 00:00:00 2001 From: ericrius1 Date: Mon, 7 Mar 2016 14:09:21 -0800 Subject: [PATCH 4/5] added headers to tutorial code --- .../chapter1/fireworksLaunchButtonEntityScript.js | 10 +++++++++- .../chapter1/fireworksLaunchButtonSpawner.js | 11 +++++++++-- .../chapter2/fireworksLaunchButtonEntityScript.js | 10 +++++++++- .../chapter2/fireworksLaunchButtonSpawner.js | 11 +++++++++-- .../chapter3/fireworksLaunchButtonEntityScript.js | 10 +++++++++- .../chapter3/fireworksLaunchButtonSpawner.js | 11 +++++++++-- 6 files changed, 54 insertions(+), 9 deletions(-) diff --git a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js index 1f361656f1..9afe453c66 100644 --- a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js +++ b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js @@ -1,4 +1,12 @@ -// Chapter 1: fireworksLaunchButtonEntityScript.js +// +// fireworksLaunchButtonEntityScript.js +// +// Created by Eric Levin on 3/7/2017 +// Copyright 2016 High Fidelity, Inc. +// +// This is the chapter 1 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) +// +// Distributed under the Apache License, Version 2.0. (function() { Script.include("../../libraries/utils.js"); diff --git a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js index a4969aa8ed..7af0dadf8e 100644 --- a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js +++ b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js @@ -1,5 +1,12 @@ - - // Chapter1 : fireworksLaumchButtonSpawner.js +// +// fireworksLaunchButtonSpawner.js +// +// Created by Eric Levin on 3/7/2017 +// Copyright 2016 High Fidelity, Inc. +// +// This is the chapter 1 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) +// +// Distributed under the Apache License, Version 2.0. var orientation = Camera.getOrientation(); orientation = Quat.safeEulerAngles(orientation); diff --git a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js index 142c8ffa96..62127f9a91 100644 --- a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js +++ b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js @@ -1,4 +1,12 @@ -// Chapter 2: fireworksLaunchButtonEntityScript.js +// +// fireworksLaunchButtonEntityScript.js +// +// Created by Eric Levin on 3/7/2017 +// Copyright 2016 High Fidelity, Inc. +// +// This is the chapter 2 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) +// +// Distributed under the Apache License, Version 2.0. (function() { Script.include("../../libraries/utils.js"); diff --git a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js index 2fc4364c5a..bf494db324 100644 --- a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js +++ b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js @@ -1,5 +1,12 @@ - - // Chapter 2 : fireworksLaumchButtonSpawner.js +// +// fireworksLaunchButtonSpawner.js +// +// Created by Eric Levin on 3/7/2017 +// Copyright 2016 High Fidelity, Inc. +// +// This is the chapter 2 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) +// +// Distributed under the Apache License, Version 2.0. var orientation = Camera.getOrientation(); orientation = Quat.safeEulerAngles(orientation); diff --git a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js index f4332eccb6..fc387b4990 100644 --- a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js +++ b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js @@ -1,4 +1,12 @@ -// Chapter 3: fireworksLaunchButtonEntityScript.js +// +// fireworksLaunchButtonEntityScript.js +// +// Created by Eric Levin on 3/7/2017 +// Copyright 2016 High Fidelity, Inc. +// +// This is the chapter 3 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) +// +// Distributed under the Apache License, Version 2.0. (function() { Script.include("../../libraries/utils.js"); diff --git a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js index 2fc4364c5a..80ba3f5e1d 100644 --- a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js +++ b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js @@ -1,5 +1,12 @@ - - // Chapter 2 : fireworksLaumchButtonSpawner.js +// +// fireworksLaunchButtonSpawner.js +// +// Created by Eric Levin on 3/7/2017 +// Copyright 2016 High Fidelity, Inc. +// +// This is the chapter 3 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) +// +// Distributed under the Apache License, Version 2.0. var orientation = Camera.getOrientation(); orientation = Quat.safeEulerAngles(orientation); From ca747bb4e95bf31bc2b624fb37057dac151eb6c8 Mon Sep 17 00:00:00 2001 From: ericrius1 Date: Mon, 7 Mar 2016 14:29:17 -0800 Subject: [PATCH 5/5] fixed dates --- .../fireworks/chapter1/fireworksLaunchButtonEntityScript.js | 2 +- .../fireworks/chapter1/fireworksLaunchButtonSpawner.js | 2 +- .../fireworks/chapter2/fireworksLaunchButtonEntityScript.js | 2 +- .../fireworks/chapter2/fireworksLaunchButtonSpawner.js | 2 +- .../fireworks/chapter3/fireworksLaunchButtonEntityScript.js | 2 +- .../fireworks/chapter3/fireworksLaunchButtonSpawner.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js index 9afe453c66..1232bfc843 100644 --- a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js +++ b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonEntityScript.js @@ -1,7 +1,7 @@ // // fireworksLaunchButtonEntityScript.js // -// Created by Eric Levin on 3/7/2017 +// Created by Eric Levin on 3/7/2016 // Copyright 2016 High Fidelity, Inc. // // This is the chapter 1 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) diff --git a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js index 7af0dadf8e..31d5e00e00 100644 --- a/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js +++ b/examples/tutorials/fireworks/chapter1/fireworksLaunchButtonSpawner.js @@ -1,7 +1,7 @@ // // fireworksLaunchButtonSpawner.js // -// Created by Eric Levin on 3/7/2017 +// Created by Eric Levin on 3/7/2016 // Copyright 2016 High Fidelity, Inc. // // This is the chapter 1 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) diff --git a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js index 62127f9a91..66d2e96858 100644 --- a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js +++ b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonEntityScript.js @@ -1,7 +1,7 @@ // // fireworksLaunchButtonEntityScript.js // -// Created by Eric Levin on 3/7/2017 +// Created by Eric Levin on 3/7/2016 // Copyright 2016 High Fidelity, Inc. // // This is the chapter 2 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) diff --git a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js index bf494db324..19fd67f6c4 100644 --- a/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js +++ b/examples/tutorials/fireworks/chapter2/fireworksLaunchButtonSpawner.js @@ -1,7 +1,7 @@ // // fireworksLaunchButtonSpawner.js // -// Created by Eric Levin on 3/7/2017 +// Created by Eric Levin on 3/7/2016 // Copyright 2016 High Fidelity, Inc. // // This is the chapter 2 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) diff --git a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js index fc387b4990..f811d95315 100644 --- a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js +++ b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonEntityScript.js @@ -1,7 +1,7 @@ // // fireworksLaunchButtonEntityScript.js // -// Created by Eric Levin on 3/7/2017 +// Created by Eric Levin on 3/7/2016 // Copyright 2016 High Fidelity, Inc. // // This is the chapter 3 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial) diff --git a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js index 80ba3f5e1d..6b77b2609a 100644 --- a/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js +++ b/examples/tutorials/fireworks/chapter3/fireworksLaunchButtonSpawner.js @@ -1,7 +1,7 @@ // // fireworksLaunchButtonSpawner.js // -// Created by Eric Levin on 3/7/2017 +// Created by Eric Levin on 3/7/2016 // Copyright 2016 High Fidelity, Inc. // // This is the chapter 3 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)