diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/shortbow-button.fbx b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/shortbow-button.fbx index f3c29c27a5..817e39cc3c 100644 Binary files a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/shortbow-button.fbx and b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/shortbow-button.fbx differ diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/shortbow-platform.fbx b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/shortbow-platform.fbx index 2028ac0da9..e5d891dbe5 100644 Binary files a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/shortbow-platform.fbx and b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/shortbow-platform.fbx differ diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/escape.wav b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/escape.wav new file mode 100644 index 0000000000..b576703916 Binary files /dev/null and b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/escape.wav differ diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/gameOn.wav b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/gameOn.wav new file mode 100644 index 0000000000..8da091b1e3 Binary files /dev/null and b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/gameOn.wav differ diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/gameOver.wav b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/gameOver.wav index a54d0ca486..04eb9fd7ee 100644 Binary files a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/gameOver.wav and b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/gameOver.wav differ diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/targetHit.wav b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/targetHit.wav new file mode 100644 index 0000000000..5357fc94a6 Binary files /dev/null and b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/targetHit.wav differ diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/waveComplete.wav b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/waveComplete.wav index 71b3ae6d7b..5fb9f27b45 100644 Binary files a/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/waveComplete.wav and b/unpublishedScripts/DomainContent/Toybox/towerDefense/assets/sounds/waveComplete.wav differ diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/playWaveGame.js b/unpublishedScripts/DomainContent/Toybox/towerDefense/playWaveGame.js index e883395261..8544aacc3e 100644 --- a/unpublishedScripts/DomainContent/Toybox/towerDefense/playWaveGame.js +++ b/unpublishedScripts/DomainContent/Toybox/towerDefense/playWaveGame.js @@ -1,9 +1,11 @@ print("============= Script Starting ============="); -var BEGIN_BUILDING_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/letTheGamesBegin.wav")); +var BEGIN_BUILDING_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/gameOn.wav")); var GAME_OVER_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/gameOver.wav")); var WAVE_COMPLETE_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/waveComplete.wav")); var EXPLOSION_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/explosion.wav")); +var TARGET_HIT_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/targetHit.wav")); +var ESCAPE_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/escape.wav")); Script.include('utils.js'); Script.include('shortbow.js?' + Date.now()); @@ -30,6 +32,7 @@ function spawnTemplate(templateName, overrides) { print("ERROR, unknown template name:", templateName); return null; } + print("Spawning: ", templateName); var properties = mergeObjects(overrides, template); return Entities.addEntity(properties); } @@ -60,8 +63,8 @@ for (var i = 0; i < TEMPLATES.length; ++i) { var urlParts = template.modelURL.split("/"); var filename = urlParts[urlParts.length - 1]; var newURL = Script.resolvePath("assets/" + filename); - template.modelURL = newURL; print("Updated url", template.modelURL, "to", newURL); + template.modelURL = newURL; } } @@ -183,6 +186,7 @@ function setHighScoreOnDisplay(entityID, highScore) { function GameManager(rootPosition, gatePosition, bowPositions, spawnPositions, startButtonID, waveDisplayID, scoreDisplayID, livesDisplayID, highScoreDisplayID) { this.gameState = GAME_STATES.IDLE; + this.bowPositions = bowPositions; this.rootPosition = rootPosition; this.spawnPositions = spawnPositions; this.gatePosition = gatePosition; @@ -206,40 +210,6 @@ function GameManager(rootPosition, gatePosition, bowPositions, spawnPositions, s - // Spawn bows - for (var i = 0; i < bowPositions.length; ++i) { - const bowPosition = bowPositions[i]; - Vec3.print("Creating bow: ", bowPosition); - this.bowIDs.push(Entities.addEntity({ - position: bowPosition, - "collisionsWillMove": 1, - "compoundShapeURL": Script.resolvePath("bow/bow_collision_hull.obj"), - "created": "2016-09-01T23:57:55Z", - "dimensions": { - "x": 0.039999999105930328, - "y": 1.2999999523162842, - "z": 0.20000000298023224 - }, - "dynamic": 1, - "gravity": { - "x": 0, - "y": -1, - "z": 0 - }, - "modelURL": Script.resolvePath("bow/bow-deadly.fbx"), - "name": "WG.Hifi-Bow", - "rotation": { - "w": 0.9718012809753418, - "x": 0.15440607070922852, - "y": -0.10469216108322144, - "z": -0.14418250322341919 - }, - "script": Script.resolvePath("bow/bow.js"), - "shapeType": "compound", - "type": "Model", - "userData": "{\"grabbableKey\":{\"grabbable\":true},\"wearable\":{\"joints\":{\"RightHand\":[{\"x\":0.0813,\"y\":0.0452,\"z\":0.0095},{\"x\":-0.3946,\"y\":-0.6604,\"z\":0.4748,\"w\":-0.4275}],\"LeftHand\":[{\"x\":-0.0881,\"y\":0.0259,\"z\":0.0159},{\"x\":0.4427,\"y\":-0.6519,\"z\":0.4592,\"w\":0.4099}]}}}" - })); - } } GameManager.prototype = { cleanup: function() { @@ -266,10 +236,46 @@ GameManager.prototype = { Entities.editEntity(this.startButtonID, { visible: false }); + + // Spawn bows + for (var i = 0; i < this.bowPositions.length; ++i) { + const bowPosition = this.bowPositions[i]; + Vec3.print("Creating bow: ", bowPosition); + this.bowIDs.push(Entities.addEntity({ + position: bowPosition, + "collisionsWillMove": 1, + "compoundShapeURL": Script.resolvePath("bow/bow_collision_hull.obj"), + "created": "2016-09-01T23:57:55Z", + "dimensions": { + "x": 0.039999999105930328, + "y": 1.2999999523162842, + "z": 0.20000000298023224 + }, + "dynamic": 1, + "gravity": { + "x": 0, + "y": -1, + "z": 0 + }, + "modelURL": Script.resolvePath("bow/bow-deadly.fbx"), + "name": "WG.Hifi-Bow", + "rotation": { + "w": 0.9718012809753418, + "x": 0.15440607070922852, + "y": -0.10469216108322144, + "z": -0.14418250322341919 + }, + "script": Script.resolvePath("bow/bow.js"), + "shapeType": "compound", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"wearable\":{\"joints\":{\"RightHand\":[{\"x\":0.0813,\"y\":0.0452,\"z\":0.0095},{\"x\":-0.3946,\"y\":-0.6604,\"z\":0.4748,\"w\":-0.4275}],\"LeftHand\":[{\"x\":-0.0881,\"y\":0.0259,\"z\":0.0159},{\"x\":0.4427,\"y\":-0.6519,\"z\":0.4592,\"w\":0.4099}]}}}" + })); + } + // Initialize game state this.waveNumber = 0; this.setScore(0); - this.setLivesLeft(20); + this.setLivesLeft(6); this.nextWaveTimer = Script.setTimeout(this.startNextWave.bind(this), 100); this.spawnEnemyTimers = []; @@ -333,10 +339,13 @@ GameManager.prototype = { Script.clearInterval(this.checkEnemyPositionsTimer); this.checkEnemyPositionsTimer = null; - Audio.playSound(WAVE_COMPLETE_SOUND, { - volume: 1.0, - position: this.rootPosition - }); + // Play after 1.5s to let other sounds finish playing + Script.setTimeout(function() { + Audio.playSound(WAVE_COMPLETE_SOUND, { + volume: 1.0, + position: this.rootPosition + }); + }, 1500); } }, setLivesLeft: function(lives) { @@ -380,6 +389,10 @@ GameManager.prototype = { this.enemyIDs.splice(i, 1); this.setLivesLeft(this.livesLeft - 1); this.numberOfEntitiesLeftForWave--; + Audio.playSound(ESCAPE_SOUND, { + volume: 1.0, + position: this.rootPosition + }); enemiesEscaped = true; } } @@ -395,10 +408,12 @@ GameManager.prototype = { return; } - Audio.playSound(GAME_OVER_SOUND, { - volume: 1.0, - position: this.rootPosition - }); + Script.setTimeout(function() { + Audio.playSound(GAME_OVER_SOUND, { + volume: 1.0, + position: this.rootPosition + }); + }, 1500); //Entities.editEntity(this.livesDisplayID, { text: "GAME OVER" }); @@ -457,9 +472,10 @@ GameManager.prototype = { var idx = this.enemyIDs.indexOf(entityID); if (idx >= 0) { this.enemyIDs.splice(idx, 1); - Audio.playSound(EXPLOSION_SOUND, { + Audio.playSound(TARGET_HIT_SOUND, { volume: 1.0, - position: position + //position: position, + position: this.rootPosition, }); this.numberOfEntitiesLeftForWave--; diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/shortbow.js b/unpublishedScripts/DomainContent/Toybox/towerDefense/shortbow.js index 524eb8795b..a5949934fe 100644 --- a/unpublishedScripts/DomainContent/Toybox/towerDefense/shortbow.js +++ b/unpublishedScripts/DomainContent/Toybox/towerDefense/shortbow.js @@ -19,7 +19,7 @@ SHORTBOW_ENTITIES = }, "id": "{4cf9a775-ea2a-4aff-ae2a-061ea902fcd5}", "ignoreForCollisions": 1, - "lastEdited": 1483719792930052, + "lastEdited": 1483719792930013, "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", "name": "SB.EnemySpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -30,53 +30,10 @@ SHORTBOW_ENTITIES = "z": 11.512755393981934 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -46.161952972412109, - "y": -1.5774637460708618, - "z": 14.641263008117676 - }, - "rotation": { - "w": 1, - "x": -1.52587890625e-05, - "y": -1.52587890625e-05, - "z": -1.52587890625e-05 - }, - "shape": "Cube", - "type": "Box" - }, - { - "clientOnly": 0, - "collidesWith": "", - "collisionMask": 0, - "collisionless": 1, - "color": { - "blue": 171, - "green": 50, - "red": 62 - }, - "created": "2017-01-05T20:31:10Z", - "dimensions": { - "x": 0.24400754272937775, - "y": 0.24400754272937775, - "z": 0.24400754272937775 - }, - "id": "{d715486e-cbc1-417f-a27c-eae92f50ec4a}", - "ignoreForCollisions": 1, - "lastEdited": 1483719792930724, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "name": "SB.EnemySpawn", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "position": { - "x": 3.6569130420684814, - "y": -5.3365960121154785, - "z": 10.01292610168457 - }, - "queryAACube": { - "scale": 0.42263346910476685, - "x": -40.61260986328125, - "y": -1.5774637460708618, - "z": 13.141603469848633 + "scale": 1.2679004669189453, + "x": -46.584587097167969, + "y": -2.0000972747802734, + "z": 14.218629837036133 }, "rotation": { "w": 1, @@ -105,7 +62,7 @@ SHORTBOW_ENTITIES = }, "id": "{b00d9436-f975-46ae-b00b-2338cdf077a9}", "ignoreForCollisions": 1, - "lastEdited": 1483719792930960, + "lastEdited": 1483719792930921, "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", "name": "SB.EnemySpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -116,10 +73,53 @@ SHORTBOW_ENTITIES = "z": 10.195274353027344 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -35.379253387451172, - "y": -1.5774637460708618, - "z": 13.324110984802246 + "scale": 1.2679004669189453, + "x": -35.801887512207031, + "y": -2.0000972747802734, + "z": 12.901477813720703 + }, + "rotation": { + "w": 1, + "x": -1.52587890625e-05, + "y": -1.52587890625e-05, + "z": -1.52587890625e-05 + }, + "shape": "Cube", + "type": "Box" + }, + { + "clientOnly": 0, + "collidesWith": "", + "collisionMask": 0, + "collisionless": 1, + "color": { + "blue": 171, + "green": 50, + "red": 62 + }, + "created": "2017-01-05T20:31:10Z", + "dimensions": { + "x": 0.24400754272937775, + "y": 0.24400754272937775, + "z": 0.24400754272937775 + }, + "id": "{d715486e-cbc1-417f-a27c-eae92f50ec4a}", + "ignoreForCollisions": 1, + "lastEdited": 1483719792930685, + "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "name": "SB.EnemySpawn", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "position": { + "x": 3.6569130420684814, + "y": -5.3365960121154785, + "z": 10.01292610168457 + }, + "queryAACube": { + "scale": 1.2679004669189453, + "x": -41.035243988037109, + "y": -2.0000972747802734, + "z": 12.71897029876709 }, "rotation": { "w": 1, @@ -144,8 +144,8 @@ SHORTBOW_ENTITIES = "z": 0.0099999997764825821 }, "id": "{b5268d4b-f3e4-4772-9390-0bf89eb10783}", - "lastEdited": 1483719793013991, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "lineHeight": 0.5, "name": "SB.DisplayLives", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -156,90 +156,10 @@ SHORTBOW_ENTITIES = "z": -7.2889409065246582 }, "queryAACube": { - "scale": 1.5831384658813477, - "x": -52.919837951660156, - "y": 3.4406075477600098, - "z": -4.7410445213317871 - }, - "rotation": { - "w": 0.70708787441253662, - "x": -1.52587890625e-05, - "y": 0.70708787441253662, - "z": -1.52587890625e-05 - }, - "text": "0", - "type": "Text" - }, - { - "backgroundColor": { - "blue": 65, - "green": 78, - "red": 82 - }, - "clientOnly": 0, - "created": "2017-01-04T23:28:30Z", - "dimensions": { - "x": 2, - "y": 0.69999998807907104, - "z": 0.0099999997764825821 - }, - "id": "{3c54360d-dff1-4b0d-be63-240332776ba8}", - "lastEdited": 1483719792931461, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "lineHeight": 0.5, - "name": "SB.DisplayScore", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "position": { - "x": -8.0707607269287109, - "y": 1.5265679359436035, - "z": -9.5913219451904297 - }, - "queryAACube": { - "scale": 2.118985652923584, - "x": -53.187652587890625, - "y": 4.4372835159301758, - "z": -7.3113880157470703 - }, - "rotation": { - "w": 0.70708787441253662, - "x": -1.52587890625e-05, - "y": 0.70708787441253662, - "z": -1.52587890625e-05 - }, - "text": "0", - "type": "Text" - }, - { - "backgroundColor": { - "blue": 65, - "green": 78, - "red": 82 - }, - "clientOnly": 0, - "created": "2017-01-04T23:24:08Z", - "dimensions": { - "x": 2, - "y": 0.69999998807907104, - "z": 0.0099999997764825821 - }, - "id": "{f7b5b73e-c816-4ec4-b3f3-c7e7cd7419d8}", - "lastEdited": 1483719792931719, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "lineHeight": 0.5, - "name": "SB.DisplayHighScore", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "position": { - "x": -8.0707607269287109, - "y": 0.26189804077148438, - "z": -9.5913219451904297 - }, - "queryAACube": { - "scale": 2.118985652923584, - "x": -53.187694549560547, - "y": 3.1726138591766357, - "z": -7.3113498687744141 + "scale": 4.749415397644043, + "x": -54.483360290527344, + "y": 1.8574690818786621, + "z": -6.2814393043518066 }, "rotation": { "w": 0.70708787441253662, @@ -264,8 +184,8 @@ SHORTBOW_ENTITIES = "z": 0.0099999997764825821 }, "id": "{35058f6b-d294-470d-aa56-55348ed9e418}", - "lastEdited": 1483719793013760, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "lineHeight": 0.5, "name": "SB.DisplayWave", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -276,10 +196,10 @@ SHORTBOW_ENTITIES = "z": -7.2889409065246582 }, "queryAACube": { - "scale": 1.5831384658813477, - "x": -52.9197998046875, - "y": 4.7052774429321289, - "z": -4.7410831451416016 + "scale": 4.749415397644043, + "x": -54.483322143554688, + "y": 3.1221389770507812, + "z": -6.2814779281616211 }, "rotation": { "w": 0.70708787441253662, @@ -308,8 +228,8 @@ SHORTBOW_ENTITIES = }, "id": "{a8b0522f-00fa-4a84-bfb4-c16c0c8a0927}", "ignoreForCollisions": 1, - "lastEdited": 1483719792931944, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", @@ -334,125 +254,84 @@ SHORTBOW_ENTITIES = "type": "Box" }, { - "clientOnly": 0, - "created": "2017-01-05T21:12:40Z", - "dimensions": { - "x": 0.71920680999755859, - "y": 2.5761642456054688, - "z": 2.2217941284179688 + "backgroundColor": { + "blue": 65, + "green": 78, + "red": 82 }, - "id": "{0b0297de-0b76-48e3-b44e-83f9f21f2728}", - "lastEdited": 1483719792931174, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-button.fbx", - "name": "SB.StartButton", + "clientOnly": 0, + "created": "2017-01-04T23:28:30Z", + "dimensions": { + "x": 2, + "y": 0.69999998807907104, + "z": 0.0099999997764825821 + }, + "id": "{3c54360d-dff1-4b0d-be63-240332776ba8}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "lineHeight": 0.5, + "name": "SB.DisplayScore", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": -10.128876686096191, - "y": 1.8550845384597778, - "z": -12.927911758422852 + "x": -8.0707607269287109, + "y": 1.5265679359436035, + "z": -9.5913219451904297 }, "queryAACube": { - "scale": 3.4771037101745605, - "x": -55.924716949462891, - "y": 4.0867023468017578, - "z": -11.327109336853027 + "scale": 6.356956958770752, + "x": -55.287021636962891, + "y": 2.3182978630065918, + "z": -9.3876304626464844 }, "rotation": { - "w": 1, - "x": 1.52587890625e-05, - "y": 1.52587890625e-05, - "z": 1.52587890625e-05 - }, - "shapeType": "static-mesh", - "type": "Model" - }, - { - "clientOnly": 0, - "collidesWith": "", - "collisionMask": 0, - "collisionless": 1, - "color": { - "blue": 0, - "green": 0, - "red": 255 - }, - "created": "2017-01-05T00:40:36Z", - "dimensions": { - "x": 0.24400754272937775, - "y": 0.24400754272937775, - "z": 0.24400754272937775 - }, - "id": "{54a83ad0-c4ff-4e63-834f-3d905647482b}", - "ignoreForCollisions": 1, - "lastEdited": 1483719792933758, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "name": "SB.BowSpawn", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "position": { - "x": 2.7973012924194336, - "y": -0.14591208100318909, - "z": -11.424361228942871 - }, - "queryAACube": { - "scale": 0.42263346910476685, - "x": -41.471408843994141, - "y": 3.6125919818878174, - "z": -8.2958688735961914 - }, - "rotation": { - "w": 1, + "w": 0.70708787441253662, "x": -1.52587890625e-05, - "y": -1.52587890625e-05, + "y": 0.70708787441253662, "z": -1.52587890625e-05 }, - "shape": "Cube", - "type": "Box" + "text": "0", + "type": "Text" }, { + "backgroundColor": { + "blue": 65, + "green": 78, + "red": 82 + }, "clientOnly": 0, - "collidesWith": "", - "collisionMask": 0, - "collisionless": 1, - "color": { - "blue": 0, - "green": 0, - "red": 255 - }, - "created": "2017-01-05T00:40:36Z", + "created": "2017-01-04T23:24:08Z", "dimensions": { - "x": 0.24400754272937775, - "y": 0.24400754272937775, - "z": 0.24400754272937775 + "x": 2, + "y": 0.69999998807907104, + "z": 0.0099999997764825821 }, - "id": "{cfce120e-84bd-48f3-8467-cdee5ff25023}", - "ignoreForCollisions": 1, - "lastEdited": 1483719792934956, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "name": "SB.BowSpawn", + "id": "{f7b5b73e-c816-4ec4-b3f3-c7e7cd7419d8}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "lineHeight": 0.5, + "name": "SB.DisplayHighScore", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": -2.5027093887329102, - "y": -0.14607381820678711, - "z": -11.424200057983398 + "x": -8.0707607269287109, + "y": 0.26189804077148438, + "z": -9.5913219451904297 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -46.771419525146484, - "y": 3.6125919818878174, - "z": -8.2958688735961914 + "scale": 6.356956958770752, + "x": -55.287063598632812, + "y": 1.0536282062530518, + "z": -9.3875923156738281 }, "rotation": { - "w": 1, + "w": 0.70708787441253662, "x": -1.52587890625e-05, - "y": -1.52587890625e-05, + "y": 0.70708787441253662, "z": -1.52587890625e-05 }, - "shape": "Cube", - "type": "Box" + "text": "0", + "type": "Text" }, { "clientOnly": 0, @@ -470,21 +349,21 @@ SHORTBOW_ENTITIES = "y": 0.24400754272937775, "z": 0.24400754272937775 }, - "id": "{566cd534-da19-4358-b6cf-70c998d38e90}", + "id": "{22f859de-7075-40e2-99f6-34e21f35a8ea}", "ignoreForCollisions": 1, - "lastEdited": 1483719792939511, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": 8.1799535751342773, - "y": -0.14574781060218811, - "z": -11.424525260925293 + "x": 5.4656858444213867, + "y": -0.14583064615726471, + "z": -11.424443244934082 }, "queryAACube": { "scale": 0.42263346910476685, - "x": -36.088756561279297, + "x": -38.803024291992188, "y": 3.6125919818878174, "z": -8.2958688735961914 }, @@ -515,8 +394,8 @@ SHORTBOW_ENTITIES = }, "id": "{b0632879-5c49-489d-9aea-61a4b97e0119}", "ignoreForCollisions": 1, - "lastEdited": 1483719792935834, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", @@ -558,8 +437,8 @@ SHORTBOW_ENTITIES = }, "id": "{1b61c614-6739-473e-97f7-fb8aa9c4c393}", "ignoreForCollisions": 1, - "lastEdited": 1483719792934022, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", @@ -599,21 +478,107 @@ SHORTBOW_ENTITIES = "y": 0.24400754272937775, "z": 0.24400754272937775 }, - "id": "{22f859de-7075-40e2-99f6-34e21f35a8ea}", + "id": "{566cd534-da19-4358-b6cf-70c998d38e90}", "ignoreForCollisions": 1, - "lastEdited": 1483719792939263, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": 5.4656858444213867, - "y": -0.14583064615726471, - "z": -11.424443244934082 + "x": 8.1799535751342773, + "y": -0.14574781060218811, + "z": -11.424525260925293 }, "queryAACube": { "scale": 0.42263346910476685, - "x": -38.803024291992188, + "x": -36.088756561279297, + "y": 3.6125919818878174, + "z": -8.2958688735961914 + }, + "rotation": { + "w": 1, + "x": -1.52587890625e-05, + "y": -1.52587890625e-05, + "z": -1.52587890625e-05 + }, + "shape": "Cube", + "type": "Box" + }, + { + "clientOnly": 0, + "collidesWith": "", + "collisionMask": 0, + "collisionless": 1, + "color": { + "blue": 0, + "green": 0, + "red": 255 + }, + "created": "2017-01-05T00:40:36Z", + "dimensions": { + "x": 0.24400754272937775, + "y": 0.24400754272937775, + "z": 0.24400754272937775 + }, + "id": "{54a83ad0-c4ff-4e63-834f-3d905647482b}", + "ignoreForCollisions": 1, + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "name": "SB.BowSpawn", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "position": { + "x": 2.7973012924194336, + "y": -0.14591208100318909, + "z": -11.424361228942871 + }, + "queryAACube": { + "scale": 0.42263346910476685, + "x": -41.471408843994141, + "y": 3.6125919818878174, + "z": -8.2958688735961914 + }, + "rotation": { + "w": 1, + "x": -1.52587890625e-05, + "y": -1.52587890625e-05, + "z": -1.52587890625e-05 + }, + "shape": "Cube", + "type": "Box" + }, + { + "clientOnly": 0, + "collidesWith": "", + "collisionMask": 0, + "collisionless": 1, + "color": { + "blue": 0, + "green": 0, + "red": 255 + }, + "created": "2017-01-05T00:40:36Z", + "dimensions": { + "x": 0.24400754272937775, + "y": 0.24400754272937775, + "z": 0.24400754272937775 + }, + "id": "{cfce120e-84bd-48f3-8467-cdee5ff25023}", + "ignoreForCollisions": 1, + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "name": "SB.BowSpawn", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "position": { + "x": -2.5027093887329102, + "y": -0.14607381820678711, + "z": -11.424200057983398 + }, + "queryAACube": { + "scale": 0.42263346910476685, + "x": -46.771419525146484, "y": 3.6125919818878174, "z": -8.2958688735961914 }, @@ -644,7 +609,7 @@ SHORTBOW_ENTITIES = }, "id": "{2a80b2e3-1a36-4c5b-a373-fe8c3aa3f883}", "ignoreForCollisions": 1, - "lastEdited": 1483719792945367, + "lastEdited": 1483719792945328, "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", "name": "SB.EnemySpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -655,10 +620,10 @@ SHORTBOW_ENTITIES = "z": 11.254574775695801 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -46.631340026855469, - "y": 1.6901963949203491, - "z": 14.382968902587891 + "scale": 1.2679004669189453, + "x": -47.053974151611328, + "y": 1.2675628662109375, + "z": 13.960335731506348 }, "rotation": { "w": 1, @@ -687,7 +652,7 @@ SHORTBOW_ENTITIES = }, "id": "{f02a602d-60c7-45a5-a1e2-9bc4127d1469}", "ignoreForCollisions": 1, - "lastEdited": 1483719792948383, + "lastEdited": 1483719792948344, "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", "name": "SB.EnemySpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -698,10 +663,49 @@ SHORTBOW_ENTITIES = "z": 10.08248233795166 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -43.621864318847656, - "y": 1.2374886274337769, - "z": 13.210981369018555 + "scale": 1.2679004669189453, + "x": -44.044498443603516, + "y": 0.81485515832901001, + "z": 12.788348197937012 + }, + "rotation": { + "w": 1, + "x": -1.52587890625e-05, + "y": -1.52587890625e-05, + "z": -1.52587890625e-05 + }, + "shape": "Cube", + "type": "Box" + }, + { + "clientOnly": 0, + "color": { + "blue": 0, + "green": 0, + "red": 255 + }, + "created": "2017-01-05T21:25:47Z", + "dimensions": { + "x": 15.710711479187012, + "y": 4.7783288955688477, + "z": 1.6129581928253174 + }, + "id": "{26711fe0-87d7-47e9-bcde-4b1a9b4fd05d}", + "lastEdited": 1483719793010030, + "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "name": "SB.GateCollider", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "position": { + "x": 0.31728419661521912, + "y": -4.3002614974975586, + "z": -12.531644821166992 + }, + "queryAACube": { + "scale": 49.500953674316406, + "x": -68.2261962890625, + "y": -25.080875396728516, + "z": -33.659828186035156 }, "rotation": { "w": 1, @@ -712,36 +716,6 @@ SHORTBOW_ENTITIES = "shape": "Cube", "type": "Box" }, - { - "clientOnly": 0, - "created": "2017-01-04T23:15:24Z", - "dimensions": { - "x": 23.341892242431641, - "y": 12.223045349121094, - "z": 32.012016296386719 - }, - "friction": 1, - "id": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "lastEdited": 1483719792997391, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-scoreboard.fbx", - "name": "SB.Scoreboard", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "queryAACube": { - "scale": 145.37844848632812, - "x": -115.95872497558594, - "y": -72.089508056640625, - "z": -67.790824890136719 - }, - "rotation": { - "w": 1, - "x": -1.52587890625e-05, - "y": -1.52587890625e-05, - "z": -1.52587890625e-05 - }, - "shapeType": "static-mesh", - "type": "Model" - }, { "clientOnly": 0, "created": "2017-01-04T23:15:24Z", @@ -751,7 +725,7 @@ SHORTBOW_ENTITIES = "z": 39.351062774658203 }, "id": "{7e26bd3e-b11e-44ce-96a4-30c37ebba5e5}", - "lastEdited": 1483719792992785, + "lastEdited": 1483719792992771, "lastEditedBy": "{a310144a-2875-4b8a-aa79-003513cf1488}", "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-platform.fbx", "name": "SB.Platform", @@ -779,33 +753,59 @@ SHORTBOW_ENTITIES = }, { "clientOnly": 0, - "color": { - "blue": 0, - "green": 0, - "red": 255 - }, - "created": "2017-01-05T21:25:47Z", + "created": "2017-01-05T21:12:40Z", "dimensions": { - "x": 15.710711479187012, - "y": 4.7783288955688477, - "z": 1.6129581928253174 + "x": 0.71920669078826904, + "y": 3.3160061836242676, + "z": 2.2217941284179688 }, - "id": "{26711fe0-87d7-47e9-bcde-4b1a9b4fd05d}", - "lastEdited": 1483719793010044, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "name": "SB.GateCollider", + "id": "{0b0297de-0b76-48e3-b44e-83f9f21f2728}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-button.fbx", + "name": "SB.StartButton", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": 0.31728419661521912, - "y": -4.3002614974975586, - "z": -12.531644821166992 + "x": -9.8358345031738281, + "y": 0.45674961805343628, + "z": -13.044205665588379 }, "queryAACube": { - "scale": 49.500953674316406, - "x": -68.2261962890625, - "y": -25.080875396728516, - "z": -33.659828186035156 + "scale": 12.167404174804688, + "x": -59.957248687744141, + "y": -1.6567955017089844, + "z": -15.745758056640625 + }, + "rotation": { + "w": 1, + "x": 1.52587890625e-05, + "y": 1.52587890625e-05, + "z": 1.52587890625e-05 + }, + "shapeType": "static-mesh", + "type": "Model" + }, + { + "clientOnly": 0, + "created": "2017-01-04T23:15:24Z", + "dimensions": { + "x": 23.341892242431641, + "y": 12.223045349121094, + "z": 32.012016296386719 + }, + "friction": 1, + "id": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-scoreboard.fbx", + "name": "SB.Scoreboard", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "queryAACube": { + "scale": 145.37844848632812, + "x": -115.95872497558594, + "y": -72.089508056640625, + "z": -67.790824890136719 }, "rotation": { "w": 1, @@ -813,8 +813,8 @@ SHORTBOW_ENTITIES = "y": -1.52587890625e-05, "z": -1.52587890625e-05 }, - "shape": "Cube", - "type": "Box" + "shapeType": "static-mesh", + "type": "Model" } ], "Version": 65 diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/shortbow.json b/unpublishedScripts/DomainContent/Toybox/towerDefense/shortbow.json index 4e3e5f7aad..178dcea8f4 100644 --- a/unpublishedScripts/DomainContent/Toybox/towerDefense/shortbow.json +++ b/unpublishedScripts/DomainContent/Toybox/towerDefense/shortbow.json @@ -18,7 +18,7 @@ }, "id": "{4cf9a775-ea2a-4aff-ae2a-061ea902fcd5}", "ignoreForCollisions": 1, - "lastEdited": 1483719792930052, + "lastEdited": 1483719792930013, "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", "name": "SB.EnemySpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -29,53 +29,10 @@ "z": 11.512755393981934 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -46.161952972412109, - "y": -1.5774637460708618, - "z": 14.641263008117676 - }, - "rotation": { - "w": 1, - "x": -1.52587890625e-05, - "y": -1.52587890625e-05, - "z": -1.52587890625e-05 - }, - "shape": "Cube", - "type": "Box" - }, - { - "clientOnly": 0, - "collidesWith": "", - "collisionMask": 0, - "collisionless": 1, - "color": { - "blue": 171, - "green": 50, - "red": 62 - }, - "created": "2017-01-05T20:31:10Z", - "dimensions": { - "x": 0.24400754272937775, - "y": 0.24400754272937775, - "z": 0.24400754272937775 - }, - "id": "{d715486e-cbc1-417f-a27c-eae92f50ec4a}", - "ignoreForCollisions": 1, - "lastEdited": 1483719792930724, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "name": "SB.EnemySpawn", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "position": { - "x": 3.6569130420684814, - "y": -5.3365960121154785, - "z": 10.01292610168457 - }, - "queryAACube": { - "scale": 0.42263346910476685, - "x": -40.61260986328125, - "y": -1.5774637460708618, - "z": 13.141603469848633 + "scale": 1.2679004669189453, + "x": -46.584587097167969, + "y": -2.0000972747802734, + "z": 14.218629837036133 }, "rotation": { "w": 1, @@ -104,7 +61,7 @@ }, "id": "{b00d9436-f975-46ae-b00b-2338cdf077a9}", "ignoreForCollisions": 1, - "lastEdited": 1483719792930960, + "lastEdited": 1483719792930921, "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", "name": "SB.EnemySpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -115,10 +72,53 @@ "z": 10.195274353027344 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -35.379253387451172, - "y": -1.5774637460708618, - "z": 13.324110984802246 + "scale": 1.2679004669189453, + "x": -35.801887512207031, + "y": -2.0000972747802734, + "z": 12.901477813720703 + }, + "rotation": { + "w": 1, + "x": -1.52587890625e-05, + "y": -1.52587890625e-05, + "z": -1.52587890625e-05 + }, + "shape": "Cube", + "type": "Box" + }, + { + "clientOnly": 0, + "collidesWith": "", + "collisionMask": 0, + "collisionless": 1, + "color": { + "blue": 171, + "green": 50, + "red": 62 + }, + "created": "2017-01-05T20:31:10Z", + "dimensions": { + "x": 0.24400754272937775, + "y": 0.24400754272937775, + "z": 0.24400754272937775 + }, + "id": "{d715486e-cbc1-417f-a27c-eae92f50ec4a}", + "ignoreForCollisions": 1, + "lastEdited": 1483719792930685, + "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "name": "SB.EnemySpawn", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "position": { + "x": 3.6569130420684814, + "y": -5.3365960121154785, + "z": 10.01292610168457 + }, + "queryAACube": { + "scale": 1.2679004669189453, + "x": -41.035243988037109, + "y": -2.0000972747802734, + "z": 12.71897029876709 }, "rotation": { "w": 1, @@ -143,8 +143,8 @@ "z": 0.0099999997764825821 }, "id": "{b5268d4b-f3e4-4772-9390-0bf89eb10783}", - "lastEdited": 1483719793013991, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "lineHeight": 0.5, "name": "SB.DisplayLives", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -155,90 +155,10 @@ "z": -7.2889409065246582 }, "queryAACube": { - "scale": 1.5831384658813477, - "x": -52.919837951660156, - "y": 3.4406075477600098, - "z": -4.7410445213317871 - }, - "rotation": { - "w": 0.70708787441253662, - "x": -1.52587890625e-05, - "y": 0.70708787441253662, - "z": -1.52587890625e-05 - }, - "text": "0", - "type": "Text" - }, - { - "backgroundColor": { - "blue": 65, - "green": 78, - "red": 82 - }, - "clientOnly": 0, - "created": "2017-01-04T23:28:30Z", - "dimensions": { - "x": 2, - "y": 0.69999998807907104, - "z": 0.0099999997764825821 - }, - "id": "{3c54360d-dff1-4b0d-be63-240332776ba8}", - "lastEdited": 1483719792931461, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "lineHeight": 0.5, - "name": "SB.DisplayScore", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "position": { - "x": -8.0707607269287109, - "y": 1.5265679359436035, - "z": -9.5913219451904297 - }, - "queryAACube": { - "scale": 2.118985652923584, - "x": -53.187652587890625, - "y": 4.4372835159301758, - "z": -7.3113880157470703 - }, - "rotation": { - "w": 0.70708787441253662, - "x": -1.52587890625e-05, - "y": 0.70708787441253662, - "z": -1.52587890625e-05 - }, - "text": "0", - "type": "Text" - }, - { - "backgroundColor": { - "blue": 65, - "green": 78, - "red": 82 - }, - "clientOnly": 0, - "created": "2017-01-04T23:24:08Z", - "dimensions": { - "x": 2, - "y": 0.69999998807907104, - "z": 0.0099999997764825821 - }, - "id": "{f7b5b73e-c816-4ec4-b3f3-c7e7cd7419d8}", - "lastEdited": 1483719792931719, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "lineHeight": 0.5, - "name": "SB.DisplayHighScore", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "position": { - "x": -8.0707607269287109, - "y": 0.26189804077148438, - "z": -9.5913219451904297 - }, - "queryAACube": { - "scale": 2.118985652923584, - "x": -53.187694549560547, - "y": 3.1726138591766357, - "z": -7.3113498687744141 + "scale": 4.749415397644043, + "x": -54.483360290527344, + "y": 1.8574690818786621, + "z": -6.2814393043518066 }, "rotation": { "w": 0.70708787441253662, @@ -263,8 +183,8 @@ "z": 0.0099999997764825821 }, "id": "{35058f6b-d294-470d-aa56-55348ed9e418}", - "lastEdited": 1483719793013760, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "lineHeight": 0.5, "name": "SB.DisplayWave", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -275,10 +195,10 @@ "z": -7.2889409065246582 }, "queryAACube": { - "scale": 1.5831384658813477, - "x": -52.9197998046875, - "y": 4.7052774429321289, - "z": -4.7410831451416016 + "scale": 4.749415397644043, + "x": -54.483322143554688, + "y": 3.1221389770507812, + "z": -6.2814779281616211 }, "rotation": { "w": 0.70708787441253662, @@ -307,8 +227,8 @@ }, "id": "{a8b0522f-00fa-4a84-bfb4-c16c0c8a0927}", "ignoreForCollisions": 1, - "lastEdited": 1483719792931944, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", @@ -333,125 +253,84 @@ "type": "Box" }, { - "clientOnly": 0, - "created": "2017-01-05T21:12:40Z", - "dimensions": { - "x": 0.71920680999755859, - "y": 2.5761642456054688, - "z": 2.2217941284179688 + "backgroundColor": { + "blue": 65, + "green": 78, + "red": 82 }, - "id": "{0b0297de-0b76-48e3-b44e-83f9f21f2728}", - "lastEdited": 1483719792931174, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-button.fbx", - "name": "SB.StartButton", + "clientOnly": 0, + "created": "2017-01-04T23:28:30Z", + "dimensions": { + "x": 2, + "y": 0.69999998807907104, + "z": 0.0099999997764825821 + }, + "id": "{3c54360d-dff1-4b0d-be63-240332776ba8}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "lineHeight": 0.5, + "name": "SB.DisplayScore", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": -10.128876686096191, - "y": 1.8550845384597778, - "z": -12.927911758422852 + "x": -8.0707607269287109, + "y": 1.5265679359436035, + "z": -9.5913219451904297 }, "queryAACube": { - "scale": 3.4771037101745605, - "x": -55.924716949462891, - "y": 4.0867023468017578, - "z": -11.327109336853027 + "scale": 6.356956958770752, + "x": -55.287021636962891, + "y": 2.3182978630065918, + "z": -9.3876304626464844 }, "rotation": { - "w": 1, - "x": 1.52587890625e-05, - "y": 1.52587890625e-05, - "z": 1.52587890625e-05 - }, - "shapeType": "static-mesh", - "type": "Model" - }, - { - "clientOnly": 0, - "collidesWith": "", - "collisionMask": 0, - "collisionless": 1, - "color": { - "blue": 0, - "green": 0, - "red": 255 - }, - "created": "2017-01-05T00:40:36Z", - "dimensions": { - "x": 0.24400754272937775, - "y": 0.24400754272937775, - "z": 0.24400754272937775 - }, - "id": "{54a83ad0-c4ff-4e63-834f-3d905647482b}", - "ignoreForCollisions": 1, - "lastEdited": 1483719792933758, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "name": "SB.BowSpawn", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "position": { - "x": 2.7973012924194336, - "y": -0.14591208100318909, - "z": -11.424361228942871 - }, - "queryAACube": { - "scale": 0.42263346910476685, - "x": -41.471408843994141, - "y": 3.6125919818878174, - "z": -8.2958688735961914 - }, - "rotation": { - "w": 1, + "w": 0.70708787441253662, "x": -1.52587890625e-05, - "y": -1.52587890625e-05, + "y": 0.70708787441253662, "z": -1.52587890625e-05 }, - "shape": "Cube", - "type": "Box" + "text": "0", + "type": "Text" }, { + "backgroundColor": { + "blue": 65, + "green": 78, + "red": 82 + }, "clientOnly": 0, - "collidesWith": "", - "collisionMask": 0, - "collisionless": 1, - "color": { - "blue": 0, - "green": 0, - "red": 255 - }, - "created": "2017-01-05T00:40:36Z", + "created": "2017-01-04T23:24:08Z", "dimensions": { - "x": 0.24400754272937775, - "y": 0.24400754272937775, - "z": 0.24400754272937775 + "x": 2, + "y": 0.69999998807907104, + "z": 0.0099999997764825821 }, - "id": "{cfce120e-84bd-48f3-8467-cdee5ff25023}", - "ignoreForCollisions": 1, - "lastEdited": 1483719792934956, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "name": "SB.BowSpawn", + "id": "{f7b5b73e-c816-4ec4-b3f3-c7e7cd7419d8}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "lineHeight": 0.5, + "name": "SB.DisplayHighScore", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": -2.5027093887329102, - "y": -0.14607381820678711, - "z": -11.424200057983398 + "x": -8.0707607269287109, + "y": 0.26189804077148438, + "z": -9.5913219451904297 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -46.771419525146484, - "y": 3.6125919818878174, - "z": -8.2958688735961914 + "scale": 6.356956958770752, + "x": -55.287063598632812, + "y": 1.0536282062530518, + "z": -9.3875923156738281 }, "rotation": { - "w": 1, + "w": 0.70708787441253662, "x": -1.52587890625e-05, - "y": -1.52587890625e-05, + "y": 0.70708787441253662, "z": -1.52587890625e-05 }, - "shape": "Cube", - "type": "Box" + "text": "0", + "type": "Text" }, { "clientOnly": 0, @@ -469,21 +348,21 @@ "y": 0.24400754272937775, "z": 0.24400754272937775 }, - "id": "{566cd534-da19-4358-b6cf-70c998d38e90}", + "id": "{22f859de-7075-40e2-99f6-34e21f35a8ea}", "ignoreForCollisions": 1, - "lastEdited": 1483719792939511, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": 8.1799535751342773, - "y": -0.14574781060218811, - "z": -11.424525260925293 + "x": 5.4656858444213867, + "y": -0.14583064615726471, + "z": -11.424443244934082 }, "queryAACube": { "scale": 0.42263346910476685, - "x": -36.088756561279297, + "x": -38.803024291992188, "y": 3.6125919818878174, "z": -8.2958688735961914 }, @@ -514,8 +393,8 @@ }, "id": "{b0632879-5c49-489d-9aea-61a4b97e0119}", "ignoreForCollisions": 1, - "lastEdited": 1483719792935834, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", @@ -557,8 +436,8 @@ }, "id": "{1b61c614-6739-473e-97f7-fb8aa9c4c393}", "ignoreForCollisions": 1, - "lastEdited": 1483719792934022, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", @@ -598,21 +477,107 @@ "y": 0.24400754272937775, "z": 0.24400754272937775 }, - "id": "{22f859de-7075-40e2-99f6-34e21f35a8ea}", + "id": "{566cd534-da19-4358-b6cf-70c998d38e90}", "ignoreForCollisions": 1, - "lastEdited": 1483719792939263, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", "name": "SB.BowSpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": 5.4656858444213867, - "y": -0.14583064615726471, - "z": -11.424443244934082 + "x": 8.1799535751342773, + "y": -0.14574781060218811, + "z": -11.424525260925293 }, "queryAACube": { "scale": 0.42263346910476685, - "x": -38.803024291992188, + "x": -36.088756561279297, + "y": 3.6125919818878174, + "z": -8.2958688735961914 + }, + "rotation": { + "w": 1, + "x": -1.52587890625e-05, + "y": -1.52587890625e-05, + "z": -1.52587890625e-05 + }, + "shape": "Cube", + "type": "Box" + }, + { + "clientOnly": 0, + "collidesWith": "", + "collisionMask": 0, + "collisionless": 1, + "color": { + "blue": 0, + "green": 0, + "red": 255 + }, + "created": "2017-01-05T00:40:36Z", + "dimensions": { + "x": 0.24400754272937775, + "y": 0.24400754272937775, + "z": 0.24400754272937775 + }, + "id": "{54a83ad0-c4ff-4e63-834f-3d905647482b}", + "ignoreForCollisions": 1, + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "name": "SB.BowSpawn", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "position": { + "x": 2.7973012924194336, + "y": -0.14591208100318909, + "z": -11.424361228942871 + }, + "queryAACube": { + "scale": 0.42263346910476685, + "x": -41.471408843994141, + "y": 3.6125919818878174, + "z": -8.2958688735961914 + }, + "rotation": { + "w": 1, + "x": -1.52587890625e-05, + "y": -1.52587890625e-05, + "z": -1.52587890625e-05 + }, + "shape": "Cube", + "type": "Box" + }, + { + "clientOnly": 0, + "collidesWith": "", + "collisionMask": 0, + "collisionless": 1, + "color": { + "blue": 0, + "green": 0, + "red": 255 + }, + "created": "2017-01-05T00:40:36Z", + "dimensions": { + "x": 0.24400754272937775, + "y": 0.24400754272937775, + "z": 0.24400754272937775 + }, + "id": "{cfce120e-84bd-48f3-8467-cdee5ff25023}", + "ignoreForCollisions": 1, + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "name": "SB.BowSpawn", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "position": { + "x": -2.5027093887329102, + "y": -0.14607381820678711, + "z": -11.424200057983398 + }, + "queryAACube": { + "scale": 0.42263346910476685, + "x": -46.771419525146484, "y": 3.6125919818878174, "z": -8.2958688735961914 }, @@ -643,7 +608,7 @@ }, "id": "{2a80b2e3-1a36-4c5b-a373-fe8c3aa3f883}", "ignoreForCollisions": 1, - "lastEdited": 1483719792945367, + "lastEdited": 1483719792945328, "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", "name": "SB.EnemySpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -654,10 +619,10 @@ "z": 11.254574775695801 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -46.631340026855469, - "y": 1.6901963949203491, - "z": 14.382968902587891 + "scale": 1.2679004669189453, + "x": -47.053974151611328, + "y": 1.2675628662109375, + "z": 13.960335731506348 }, "rotation": { "w": 1, @@ -686,7 +651,7 @@ }, "id": "{f02a602d-60c7-45a5-a1e2-9bc4127d1469}", "ignoreForCollisions": 1, - "lastEdited": 1483719792948383, + "lastEdited": 1483719792948344, "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", "name": "SB.EnemySpawn", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", @@ -697,10 +662,49 @@ "z": 10.08248233795166 }, "queryAACube": { - "scale": 0.42263346910476685, - "x": -43.621864318847656, - "y": 1.2374886274337769, - "z": 13.210981369018555 + "scale": 1.2679004669189453, + "x": -44.044498443603516, + "y": 0.81485515832901001, + "z": 12.788348197937012 + }, + "rotation": { + "w": 1, + "x": -1.52587890625e-05, + "y": -1.52587890625e-05, + "z": -1.52587890625e-05 + }, + "shape": "Cube", + "type": "Box" + }, + { + "clientOnly": 0, + "color": { + "blue": 0, + "green": 0, + "red": 255 + }, + "created": "2017-01-05T21:25:47Z", + "dimensions": { + "x": 15.710711479187012, + "y": 4.7783288955688477, + "z": 1.6129581928253174 + }, + "id": "{26711fe0-87d7-47e9-bcde-4b1a9b4fd05d}", + "lastEdited": 1483719793010030, + "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", + "name": "SB.GateCollider", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "position": { + "x": 0.31728419661521912, + "y": -4.3002614974975586, + "z": -12.531644821166992 + }, + "queryAACube": { + "scale": 49.500953674316406, + "x": -68.2261962890625, + "y": -25.080875396728516, + "z": -33.659828186035156 }, "rotation": { "w": 1, @@ -711,36 +715,6 @@ "shape": "Cube", "type": "Box" }, - { - "clientOnly": 0, - "created": "2017-01-04T23:15:24Z", - "dimensions": { - "x": 23.341892242431641, - "y": 12.223045349121094, - "z": 32.012016296386719 - }, - "friction": 1, - "id": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", - "lastEdited": 1483719792997391, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-scoreboard.fbx", - "name": "SB.Scoreboard", - "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", - "queryAACube": { - "scale": 145.37844848632812, - "x": -115.95872497558594, - "y": -72.089508056640625, - "z": -67.790824890136719 - }, - "rotation": { - "w": 1, - "x": -1.52587890625e-05, - "y": -1.52587890625e-05, - "z": -1.52587890625e-05 - }, - "shapeType": "static-mesh", - "type": "Model" - }, { "clientOnly": 0, "created": "2017-01-04T23:15:24Z", @@ -750,7 +724,7 @@ "z": 39.351062774658203 }, "id": "{7e26bd3e-b11e-44ce-96a4-30c37ebba5e5}", - "lastEdited": 1483719792992785, + "lastEdited": 1483719792992771, "lastEditedBy": "{a310144a-2875-4b8a-aa79-003513cf1488}", "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-platform.fbx", "name": "SB.Platform", @@ -778,33 +752,59 @@ }, { "clientOnly": 0, - "color": { - "blue": 0, - "green": 0, - "red": 255 - }, - "created": "2017-01-05T21:25:47Z", + "created": "2017-01-05T21:12:40Z", "dimensions": { - "x": 15.710711479187012, - "y": 4.7783288955688477, - "z": 1.6129581928253174 + "x": 0.71920669078826904, + "y": 3.3160061836242676, + "z": 2.2217941284179688 }, - "id": "{26711fe0-87d7-47e9-bcde-4b1a9b4fd05d}", - "lastEdited": 1483719793010044, - "lastEditedBy": "{aabc7245-0edb-4fed-a3a1-f1d6bdd93283}", - "name": "SB.GateCollider", + "id": "{0b0297de-0b76-48e3-b44e-83f9f21f2728}", + "lastEdited": 1483731084568816, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-button.fbx", + "name": "SB.StartButton", "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", "parentID": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", "position": { - "x": 0.31728419661521912, - "y": -4.3002614974975586, - "z": -12.531644821166992 + "x": -9.8358345031738281, + "y": 0.45674961805343628, + "z": -13.044205665588379 }, "queryAACube": { - "scale": 49.500953674316406, - "x": -68.2261962890625, - "y": -25.080875396728516, - "z": -33.659828186035156 + "scale": 12.167404174804688, + "x": -59.957248687744141, + "y": -1.6567955017089844, + "z": -15.745758056640625 + }, + "rotation": { + "w": 1, + "x": 1.52587890625e-05, + "y": 1.52587890625e-05, + "z": 1.52587890625e-05 + }, + "shapeType": "static-mesh", + "type": "Model" + }, + { + "clientOnly": 0, + "created": "2017-01-04T23:15:24Z", + "dimensions": { + "x": 23.341892242431641, + "y": 12.223045349121094, + "z": 32.012016296386719 + }, + "friction": 1, + "id": "{8bf402fc-f0ab-4d95-a04f-7779fc25f27e}", + "lastEdited": 1483731085951997, + "lastEditedBy": "{57b515b4-ad68-4171-8db2-23fffc448949}", + "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/shortbow-scoreboard.fbx", + "name": "SB.Scoreboard", + "owningAvatarID": "{00000000-0000-0000-0000-000000000000}", + "queryAACube": { + "scale": 145.37844848632812, + "x": -115.95872497558594, + "y": -72.089508056640625, + "z": -67.790824890136719 }, "rotation": { "w": 1, @@ -812,8 +812,8 @@ "y": -1.52587890625e-05, "z": -1.52587890625e-05 }, - "shape": "Cube", - "type": "Box" + "shapeType": "static-mesh", + "type": "Model" } ], "Version": 65