From d7d114259309d4d0c6ce454b8ec1544c01327358 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 07:42:45 +0100 Subject: [PATCH 01/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 45353 bytes modified --- hv7vehw7se.js | 1332 ------------------------------------------------- 1 file changed, 1332 deletions(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 318bad7..8846c16 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -104,1338 +104,6 @@ GameLib.Event.Subscribe( * Plant all our trees - create our enemies - Below code gets generated automatically */ -var treeSmall = this.treeSmall; -var treeMedium = this.treeMedium; -var treeLarge = this.treeLarge; -var stone1 = this.stone1; -var stone2 = this.stone2; -var materialTreesAndRocks = this.materialTreesAndRocks; - -var mesh = null; -var material = null; -var burningTreeParticleEngine = null; -var smokeParticleEngine = null; -var explodeParticleEngine = null; -var fireParticleEngine = null; - -this.meshes = {}; - -this.createMesh = function(meshType) { - - mesh = this[meshType].clone(); - material = this[meshType].materials[0].clone(); - mesh.materials = [material]; - mesh.updateInstance('materials'); - - explodeParticleEngine = this.explodeParticleEngine.clone(); - explodeParticleEngine.position = mesh.position.clone(); - explodeParticleEngine.updateInstance('position'); - mesh.explodeParticleEngine = explodeParticleEngine; - - smokeParticleEngine = this.smokeParticleEngine.clone(); - smokeParticleEngine.position = mesh.position.clone(); - smokeParticleEngine.updateInstance('position'); - mesh.smokeParticleEngine = smokeParticleEngine; - - fireParticleEngine = this.fireParticleEngine.clone(); - fireParticleEngine.position = mesh.position.clone(); - fireParticleEngine.updateInstance('position'); - mesh.fireParticleEngine = fireParticleEngine; - - if (typeof this.meshes[meshType] === 'undefined') { - this.meshes[meshType] = []; - } - - this.meshes[meshType].push( - { - inUse : false, - mesh : mesh - } - ); -}; - -for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { - this.createMesh('bull'); -} - -for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { - this.createMesh('star'); -} - -for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { - this.createMesh('burger'); -} - -for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { - this.createMesh('parcel'); -} - -for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { - this.createMesh('santa'); -} - -for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { - this.createMesh('kanister'); -} - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 46.52; -mesh.position.y = -19.43; -mesh.position.z = 9; -mesh.rotation.x = 0; -mesh.rotation.y = 1.46; -mesh.rotation.z = 3.66; -mesh.scale.x = 10; -mesh.scale.y = 10; -mesh.scale.z = 10; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 12.65; -mesh.position.y = -19.59; -mesh.position.z = -59.38; -mesh.rotation.x = 16.12; -mesh.rotation.y = 11.72; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 29.32; -mesh.position.y = -19.43; -mesh.position.z = -22.330000000000002; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -29.94; -mesh.position.y = -19.59; -mesh.position.z = -28.740000000000002; -mesh.rotation.x = -5.14; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 25.29; -mesh.position.y = -19.07; -mesh.position.z = -57.18; -mesh.rotation.x = -5.14; -mesh.rotation.y = -0.74; -mesh.rotation.z = 3.39; -mesh.scale.x = 8.06; -mesh.scale.y = 5.86; -mesh.scale.z = 5.43; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 40.31; -mesh.position.y = -19.59; -mesh.position.z = -22.62; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -13.67; -mesh.position.y = -19.43; -mesh.position.z = -60.120000000000005; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 4.84; -mesh.scale.y = 3.46; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 35.96; -mesh.position.y = -19.59; -mesh.position.z = -38.54; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 15; -mesh.scale.y = 8; -mesh.scale.z = 8; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 28.580000000000002; -mesh.position.y = -19.43; -mesh.position.z = -46.19; -mesh.rotation.x = 3.66; -mesh.rotation.y = -0.74; -mesh.rotation.z = 0; -mesh.scale.x = 8.790000000000001; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 42.93; -mesh.position.y = -19.43; -mesh.position.z = -24.23; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 8; -mesh.scale.y = 8; -mesh.scale.z = 8; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 46.18; -mesh.position.y = -19.43; -mesh.position.z = -22.330000000000002; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 12.46; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -47.93; -mesh.position.y = -19.59; -mesh.position.z = 8.85; -mesh.rotation.x = 0.07; -mesh.rotation.y = 0.72; -mesh.rotation.z = -0.41000000000000003; -mesh.scale.x = 10; -mesh.scale.y = 10; -mesh.scale.z = 15; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -46.84; -mesh.position.y = -19.43; -mesh.position.z = -6.29; -mesh.rotation.x = 1.02; -mesh.rotation.y = 3.12; -mesh.rotation.z = 3.08; -mesh.scale.x = 9; -mesh.scale.y = 9; -mesh.scale.z = 9; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -43.26; -mesh.position.y = -19.59; -mesh.position.z = -23.46; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -45.68; -mesh.position.y = -19.43; -mesh.position.z = -22.330000000000002; -mesh.rotation.x = 0; -mesh.rotation.y = -0.52; -mesh.rotation.z = 0; -mesh.scale.x = 7; -mesh.scale.y = 6.3; -mesh.scale.z = 7; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -51.32; -mesh.position.y = -19.59; -mesh.position.z = 10.99; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 15; -mesh.scale.y = 15; -mesh.scale.z = 10; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -50.59; -mesh.position.y = -19.43; -mesh.position.z = -5.87; -mesh.rotation.x = 0.02; -mesh.rotation.y = -0.02; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -47.9; -mesh.position.y = -19.59; -mesh.position.z = 12.6; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 38.85; -mesh.position.y = -19.43; -mesh.position.z = -36.53; -mesh.rotation.x = -0.74; -mesh.rotation.y = -3.67; -mesh.rotation.z = 0; -mesh.scale.x = 7; -mesh.scale.y = 7; -mesh.scale.z = 7; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -28.150000000000002; -mesh.position.y = -19.43; -mesh.position.z = -30; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 9.52; -mesh.scale.y = 5.86; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 31.52; -mesh.position.y = -19.43; -mesh.position.z = -45.43; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 8.06; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -15.38; -mesh.position.y = -19.59; -mesh.position.z = -61.15; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 28.580000000000002; -mesh.position.y = -19.43; -mesh.position.z = -57.92; -mesh.rotation.x = 0.29; -mesh.rotation.y = 0.53; -mesh.rotation.z = -0.05; -mesh.scale.x = 4.39; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 10.26; -mesh.position.y = -19.59; -mesh.position.z = -60.120000000000005; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 22.72; -mesh.position.y = -19.43; -mesh.position.z = -67.95; -mesh.rotation.x = 7.32; -mesh.rotation.y = 0; -mesh.rotation.z = 0.73; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -39.59; -mesh.position.y = -19.59; -mesh.position.z = -9.540000000000001; -mesh.rotation.x = 4.39; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 10.26; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone1.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 73.3; -mesh.position.y = -19.43; -mesh.position.z = 7.32; -mesh.rotation.x = 2.19; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 11.72; -mesh.scale.y = 12.46; -mesh.scale.z = 8.790000000000001; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -39.59; -mesh.position.y = -19.59; -mesh.position.z = -7.34; -mesh.rotation.x = 0; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = stone2.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 70.37; -mesh.position.y = -19.43; -mesh.position.z = 5.13; -mesh.rotation.x = 1.46; -mesh.rotation.y = 0; -mesh.rotation.z = 0; -mesh.scale.x = 22.72; -mesh.scale.y = 13.19; -mesh.scale.z = 10.26; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeSmall.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 10.99; -mesh.position.y = -14.13; -mesh.position.z = -61.58; -mesh.rotation.x = 0; -mesh.rotation.y = 17; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 28.565744326937438; -mesh.position.y = -10.38; -mesh.position.z = -63.90616755093394; -mesh.rotation.x = 0; -mesh.rotation.y = 20; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 75.5; -mesh.position.y = -10.27; -mesh.position.z = -53.52; -mesh.rotation.x = 0; -mesh.rotation.y = 20.52; -mesh.rotation.z = -0.21; -mesh.scale.x = 7.32; -mesh.scale.y = 9.52; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -27.86; -mesh.position.y = -10.38; -mesh.position.z = -76.24; -mesh.rotation.x = 0; -mesh.rotation.y = 17; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -14.67; -mesh.position.y = -13.93; -mesh.position.z = -62.32; -mesh.rotation.x = 0; -mesh.rotation.y = 14; -mesh.rotation.z = 0; -mesh.scale.x = 3; -mesh.scale.y = 3; -mesh.scale.z = 3; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -58.65; -mesh.position.y = -2.94; -mesh.position.z = -60.85; -mesh.rotation.x = 0; -mesh.rotation.y = 10.99; -mesh.rotation.z = 0.19; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 21.990000000000002; -mesh.position.y = -10; -mesh.position.z = -69.26; -mesh.rotation.x = 0; -mesh.rotation.y = 11.72; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 57.17; -mesh.position.y = -10.38; -mesh.position.z = -45.989061910315236; -mesh.rotation.x = 0; -mesh.rotation.y = 7; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 8.790000000000001; -mesh.scale.z = 7.32; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -31.69; -mesh.position.y = -10.38; -mesh.position.z = -32.32; -mesh.rotation.x = 0; -mesh.rotation.y = 4; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -34.46; -mesh.position.y = -8.8; -mesh.position.z = -63.65081987779772; -mesh.rotation.x = 0; -mesh.rotation.y = 5.86; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 6.59; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeMedium.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 40.31; -mesh.position.y = -6.6000000000000005; -mesh.position.z = -58.90296893655275; -mesh.rotation.x = 0; -mesh.rotation.y = 1; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 30.78; -mesh.position.y = -5.14; -mesh.position.z = -48.39; -mesh.rotation.x = 0; -mesh.rotation.y = 20; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -61.58; -mesh.position.y = -2.2; -mesh.position.z = -19.8; -mesh.rotation.x = 0; -mesh.rotation.y = -10.27; -mesh.rotation.z = -0.01; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -76.98; -mesh.position.y = -2.94; -mesh.position.z = -17.6; -mesh.rotation.x = 0; -mesh.rotation.y = 18; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -60.120000000000005; -mesh.position.y = -4.4; -mesh.position.z = -40.32; -mesh.rotation.x = 0; -mesh.rotation.y = 17; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 82.83; -mesh.position.y = 0; -mesh.position.z = -27.86; -mesh.rotation.x = 0; -mesh.rotation.y = 15; -mesh.rotation.z = 0; -mesh.scale.x = 8; -mesh.scale.y = 8; -mesh.scale.z = 8; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 57.17; -mesh.position.y = -4.74; -mesh.position.z = -59.38; -mesh.rotation.x = 0; -mesh.rotation.y = 15.21; -mesh.rotation.z = -0.22; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 45.37233907250981; -mesh.position.y = -4.65; -mesh.position.z = -25.210022209598456; -mesh.rotation.x = 0; -mesh.rotation.y = 13; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 75.5; -mesh.position.y = -1.47; -mesh.position.z = -2.2; -mesh.rotation.x = -0.26; -mesh.rotation.y = 34.6; -mesh.rotation.z = 0; -mesh.scale.x = 8; -mesh.scale.y = 8; -mesh.scale.z = 8; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -76.98; -mesh.position.y = -5.87; -mesh.position.z = -5.14; -mesh.rotation.x = 0; -mesh.rotation.y = 11; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -41.95357645382262; -mesh.position.y = -4.65; -mesh.position.z = -45.43; -mesh.rotation.x = 0; -mesh.rotation.y = 10; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -45.55651309423385; -mesh.position.y = -4.65; -mesh.position.z = -24.727109114505396; -mesh.rotation.x = 0; -mesh.rotation.y = 9; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 38.11; -mesh.position.y = -4.65; -mesh.position.z = -39.41919592312735; -mesh.rotation.x = 0; -mesh.rotation.y = 9.52; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -42.31; -mesh.position.y = -4.65; -mesh.position.z = -64.16; -mesh.rotation.x = 0; -mesh.rotation.y = 6; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = 55.71; -mesh.position.y = -8.07; -mesh.position.z = -13.59; -mesh.rotation.x = 0; -mesh.rotation.y = 5; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 8.06; -mesh.scale.z = 10.99; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -51.32; -mesh.position.y = -4.65; -mesh.position.z = 8.06; -mesh.rotation.x = 0; -mesh.rotation.y = 4; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -mesh = treeLarge.clone(); -material = materialTreesAndRocks.clone(); -mesh.materials = [material]; -mesh.position.x = -49.49962483002227; -mesh.position.y = -4.65; -mesh.position.z = -8.467200483592032; -mesh.rotation.x = 0; -mesh.rotation.y = 3; -mesh.rotation.z = 0; -mesh.scale.x = 5; -mesh.scale.y = 5; -mesh.scale.z = 5; -mesh.updateInstance('materials'); -mesh.updateInstance('position'); -mesh.updateInstance('rotation'); -mesh.updateInstance('scale'); -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -mesh.burningTreeParticleEngine = burningTreeParticleEngine; - -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -this.treeSmall.burningTreeParticleEngine = burningTreeParticleEngine; - -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -this.treeMedium.burningTreeParticleEngine = burningTreeParticleEngine; - -burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); -burningTreeParticleEngine.position = mesh.position.clone(); -burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; -burningTreeParticleEngine.updateInstance('position'); -this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; - -this.treeSmall.visible = false; -this.treeSmall.updateInstance('visible'); - -this.treeMedium.visible = false; -this.treeMedium.updateInstance('visible'); - -this.treeLarge.visible = false; -this.treeLarge.updateInstance('visible'); GameLib.Event.Emit(GameLib.Event.GAME_LOADED); From 05e626d91c77227ea1920b290121974e9d276098 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 07:43:44 +0100 Subject: [PATCH 02/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 45353 bytes modified --- hv7vehw7se.js | 1332 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1332 insertions(+) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 8846c16..318bad7 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -104,6 +104,1338 @@ GameLib.Event.Subscribe( * Plant all our trees - create our enemies - Below code gets generated automatically */ +var treeSmall = this.treeSmall; +var treeMedium = this.treeMedium; +var treeLarge = this.treeLarge; +var stone1 = this.stone1; +var stone2 = this.stone2; +var materialTreesAndRocks = this.materialTreesAndRocks; + +var mesh = null; +var material = null; +var burningTreeParticleEngine = null; +var smokeParticleEngine = null; +var explodeParticleEngine = null; +var fireParticleEngine = null; + +this.meshes = {}; + +this.createMesh = function(meshType) { + + mesh = this[meshType].clone(); + material = this[meshType].materials[0].clone(); + mesh.materials = [material]; + mesh.updateInstance('materials'); + + explodeParticleEngine = this.explodeParticleEngine.clone(); + explodeParticleEngine.position = mesh.position.clone(); + explodeParticleEngine.updateInstance('position'); + mesh.explodeParticleEngine = explodeParticleEngine; + + smokeParticleEngine = this.smokeParticleEngine.clone(); + smokeParticleEngine.position = mesh.position.clone(); + smokeParticleEngine.updateInstance('position'); + mesh.smokeParticleEngine = smokeParticleEngine; + + fireParticleEngine = this.fireParticleEngine.clone(); + fireParticleEngine.position = mesh.position.clone(); + fireParticleEngine.updateInstance('position'); + mesh.fireParticleEngine = fireParticleEngine; + + if (typeof this.meshes[meshType] === 'undefined') { + this.meshes[meshType] = []; + } + + this.meshes[meshType].push( + { + inUse : false, + mesh : mesh + } + ); +}; + +for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { + this.createMesh('bull'); +} + +for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { + this.createMesh('star'); +} + +for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { + this.createMesh('burger'); +} + +for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { + this.createMesh('parcel'); +} + +for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { + this.createMesh('santa'); +} + +for (var n = 0; n < GameLib.CustomCode.OBJECT_BUFFER_SIZE; n++) { + this.createMesh('kanister'); +} + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 46.52; +mesh.position.y = -19.43; +mesh.position.z = 9; +mesh.rotation.x = 0; +mesh.rotation.y = 1.46; +mesh.rotation.z = 3.66; +mesh.scale.x = 10; +mesh.scale.y = 10; +mesh.scale.z = 10; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 12.65; +mesh.position.y = -19.59; +mesh.position.z = -59.38; +mesh.rotation.x = 16.12; +mesh.rotation.y = 11.72; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 29.32; +mesh.position.y = -19.43; +mesh.position.z = -22.330000000000002; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -29.94; +mesh.position.y = -19.59; +mesh.position.z = -28.740000000000002; +mesh.rotation.x = -5.14; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 25.29; +mesh.position.y = -19.07; +mesh.position.z = -57.18; +mesh.rotation.x = -5.14; +mesh.rotation.y = -0.74; +mesh.rotation.z = 3.39; +mesh.scale.x = 8.06; +mesh.scale.y = 5.86; +mesh.scale.z = 5.43; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 40.31; +mesh.position.y = -19.59; +mesh.position.z = -22.62; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -13.67; +mesh.position.y = -19.43; +mesh.position.z = -60.120000000000005; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 4.84; +mesh.scale.y = 3.46; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 35.96; +mesh.position.y = -19.59; +mesh.position.z = -38.54; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 15; +mesh.scale.y = 8; +mesh.scale.z = 8; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 28.580000000000002; +mesh.position.y = -19.43; +mesh.position.z = -46.19; +mesh.rotation.x = 3.66; +mesh.rotation.y = -0.74; +mesh.rotation.z = 0; +mesh.scale.x = 8.790000000000001; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 42.93; +mesh.position.y = -19.43; +mesh.position.z = -24.23; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 8; +mesh.scale.y = 8; +mesh.scale.z = 8; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 46.18; +mesh.position.y = -19.43; +mesh.position.z = -22.330000000000002; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 12.46; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -47.93; +mesh.position.y = -19.59; +mesh.position.z = 8.85; +mesh.rotation.x = 0.07; +mesh.rotation.y = 0.72; +mesh.rotation.z = -0.41000000000000003; +mesh.scale.x = 10; +mesh.scale.y = 10; +mesh.scale.z = 15; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -46.84; +mesh.position.y = -19.43; +mesh.position.z = -6.29; +mesh.rotation.x = 1.02; +mesh.rotation.y = 3.12; +mesh.rotation.z = 3.08; +mesh.scale.x = 9; +mesh.scale.y = 9; +mesh.scale.z = 9; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -43.26; +mesh.position.y = -19.59; +mesh.position.z = -23.46; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -45.68; +mesh.position.y = -19.43; +mesh.position.z = -22.330000000000002; +mesh.rotation.x = 0; +mesh.rotation.y = -0.52; +mesh.rotation.z = 0; +mesh.scale.x = 7; +mesh.scale.y = 6.3; +mesh.scale.z = 7; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -51.32; +mesh.position.y = -19.59; +mesh.position.z = 10.99; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 15; +mesh.scale.y = 15; +mesh.scale.z = 10; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -50.59; +mesh.position.y = -19.43; +mesh.position.z = -5.87; +mesh.rotation.x = 0.02; +mesh.rotation.y = -0.02; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -47.9; +mesh.position.y = -19.59; +mesh.position.z = 12.6; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 38.85; +mesh.position.y = -19.43; +mesh.position.z = -36.53; +mesh.rotation.x = -0.74; +mesh.rotation.y = -3.67; +mesh.rotation.z = 0; +mesh.scale.x = 7; +mesh.scale.y = 7; +mesh.scale.z = 7; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -28.150000000000002; +mesh.position.y = -19.43; +mesh.position.z = -30; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 9.52; +mesh.scale.y = 5.86; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 31.52; +mesh.position.y = -19.43; +mesh.position.z = -45.43; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 8.06; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -15.38; +mesh.position.y = -19.59; +mesh.position.z = -61.15; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 28.580000000000002; +mesh.position.y = -19.43; +mesh.position.z = -57.92; +mesh.rotation.x = 0.29; +mesh.rotation.y = 0.53; +mesh.rotation.z = -0.05; +mesh.scale.x = 4.39; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 10.26; +mesh.position.y = -19.59; +mesh.position.z = -60.120000000000005; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 22.72; +mesh.position.y = -19.43; +mesh.position.z = -67.95; +mesh.rotation.x = 7.32; +mesh.rotation.y = 0; +mesh.rotation.z = 0.73; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -39.59; +mesh.position.y = -19.59; +mesh.position.z = -9.540000000000001; +mesh.rotation.x = 4.39; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 10.26; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone1.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 73.3; +mesh.position.y = -19.43; +mesh.position.z = 7.32; +mesh.rotation.x = 2.19; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 11.72; +mesh.scale.y = 12.46; +mesh.scale.z = 8.790000000000001; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -39.59; +mesh.position.y = -19.59; +mesh.position.z = -7.34; +mesh.rotation.x = 0; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = stone2.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 70.37; +mesh.position.y = -19.43; +mesh.position.z = 5.13; +mesh.rotation.x = 1.46; +mesh.rotation.y = 0; +mesh.rotation.z = 0; +mesh.scale.x = 22.72; +mesh.scale.y = 13.19; +mesh.scale.z = 10.26; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeSmall.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 10.99; +mesh.position.y = -14.13; +mesh.position.z = -61.58; +mesh.rotation.x = 0; +mesh.rotation.y = 17; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 28.565744326937438; +mesh.position.y = -10.38; +mesh.position.z = -63.90616755093394; +mesh.rotation.x = 0; +mesh.rotation.y = 20; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 75.5; +mesh.position.y = -10.27; +mesh.position.z = -53.52; +mesh.rotation.x = 0; +mesh.rotation.y = 20.52; +mesh.rotation.z = -0.21; +mesh.scale.x = 7.32; +mesh.scale.y = 9.52; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -27.86; +mesh.position.y = -10.38; +mesh.position.z = -76.24; +mesh.rotation.x = 0; +mesh.rotation.y = 17; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -14.67; +mesh.position.y = -13.93; +mesh.position.z = -62.32; +mesh.rotation.x = 0; +mesh.rotation.y = 14; +mesh.rotation.z = 0; +mesh.scale.x = 3; +mesh.scale.y = 3; +mesh.scale.z = 3; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -58.65; +mesh.position.y = -2.94; +mesh.position.z = -60.85; +mesh.rotation.x = 0; +mesh.rotation.y = 10.99; +mesh.rotation.z = 0.19; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 21.990000000000002; +mesh.position.y = -10; +mesh.position.z = -69.26; +mesh.rotation.x = 0; +mesh.rotation.y = 11.72; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 57.17; +mesh.position.y = -10.38; +mesh.position.z = -45.989061910315236; +mesh.rotation.x = 0; +mesh.rotation.y = 7; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 8.790000000000001; +mesh.scale.z = 7.32; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -31.69; +mesh.position.y = -10.38; +mesh.position.z = -32.32; +mesh.rotation.x = 0; +mesh.rotation.y = 4; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -34.46; +mesh.position.y = -8.8; +mesh.position.z = -63.65081987779772; +mesh.rotation.x = 0; +mesh.rotation.y = 5.86; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 6.59; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeMedium.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 40.31; +mesh.position.y = -6.6000000000000005; +mesh.position.z = -58.90296893655275; +mesh.rotation.x = 0; +mesh.rotation.y = 1; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 30.78; +mesh.position.y = -5.14; +mesh.position.z = -48.39; +mesh.rotation.x = 0; +mesh.rotation.y = 20; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -61.58; +mesh.position.y = -2.2; +mesh.position.z = -19.8; +mesh.rotation.x = 0; +mesh.rotation.y = -10.27; +mesh.rotation.z = -0.01; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -76.98; +mesh.position.y = -2.94; +mesh.position.z = -17.6; +mesh.rotation.x = 0; +mesh.rotation.y = 18; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -60.120000000000005; +mesh.position.y = -4.4; +mesh.position.z = -40.32; +mesh.rotation.x = 0; +mesh.rotation.y = 17; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 82.83; +mesh.position.y = 0; +mesh.position.z = -27.86; +mesh.rotation.x = 0; +mesh.rotation.y = 15; +mesh.rotation.z = 0; +mesh.scale.x = 8; +mesh.scale.y = 8; +mesh.scale.z = 8; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 57.17; +mesh.position.y = -4.74; +mesh.position.z = -59.38; +mesh.rotation.x = 0; +mesh.rotation.y = 15.21; +mesh.rotation.z = -0.22; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 45.37233907250981; +mesh.position.y = -4.65; +mesh.position.z = -25.210022209598456; +mesh.rotation.x = 0; +mesh.rotation.y = 13; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 75.5; +mesh.position.y = -1.47; +mesh.position.z = -2.2; +mesh.rotation.x = -0.26; +mesh.rotation.y = 34.6; +mesh.rotation.z = 0; +mesh.scale.x = 8; +mesh.scale.y = 8; +mesh.scale.z = 8; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -76.98; +mesh.position.y = -5.87; +mesh.position.z = -5.14; +mesh.rotation.x = 0; +mesh.rotation.y = 11; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -41.95357645382262; +mesh.position.y = -4.65; +mesh.position.z = -45.43; +mesh.rotation.x = 0; +mesh.rotation.y = 10; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -45.55651309423385; +mesh.position.y = -4.65; +mesh.position.z = -24.727109114505396; +mesh.rotation.x = 0; +mesh.rotation.y = 9; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 38.11; +mesh.position.y = -4.65; +mesh.position.z = -39.41919592312735; +mesh.rotation.x = 0; +mesh.rotation.y = 9.52; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -42.31; +mesh.position.y = -4.65; +mesh.position.z = -64.16; +mesh.rotation.x = 0; +mesh.rotation.y = 6; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = 55.71; +mesh.position.y = -8.07; +mesh.position.z = -13.59; +mesh.rotation.x = 0; +mesh.rotation.y = 5; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 8.06; +mesh.scale.z = 10.99; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -51.32; +mesh.position.y = -4.65; +mesh.position.z = 8.06; +mesh.rotation.x = 0; +mesh.rotation.y = 4; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +mesh = treeLarge.clone(); +material = materialTreesAndRocks.clone(); +mesh.materials = [material]; +mesh.position.x = -49.49962483002227; +mesh.position.y = -4.65; +mesh.position.z = -8.467200483592032; +mesh.rotation.x = 0; +mesh.rotation.y = 3; +mesh.rotation.z = 0; +mesh.scale.x = 5; +mesh.scale.y = 5; +mesh.scale.z = 5; +mesh.updateInstance('materials'); +mesh.updateInstance('position'); +mesh.updateInstance('rotation'); +mesh.updateInstance('scale'); +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +mesh.burningTreeParticleEngine = burningTreeParticleEngine; + +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +this.treeSmall.burningTreeParticleEngine = burningTreeParticleEngine; + +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +this.treeMedium.burningTreeParticleEngine = burningTreeParticleEngine; + +burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); +burningTreeParticleEngine.position = mesh.position.clone(); +burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; +burningTreeParticleEngine.updateInstance('position'); +this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; + +this.treeSmall.visible = false; +this.treeSmall.updateInstance('visible'); + +this.treeMedium.visible = false; +this.treeMedium.updateInstance('visible'); + +this.treeLarge.visible = false; +this.treeLarge.updateInstance('visible'); GameLib.Event.Emit(GameLib.Event.GAME_LOADED); From 14aaf68a631455b4be48d40af0154dfa94114335 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:05:49 +0100 Subject: [PATCH 03/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 679 bytes modified --- hv7vehw7se.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 318bad7..db164f7 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1428,6 +1428,37 @@ burningTreeParticleEngine.position.y += mesh.geometry.boundingBox.max.y + 5; burningTreeParticleEngine.updateInstance('position'); this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; + +for (var x = -200; x < 200; x += 10) { + var random = GameLib.Utils.GetRandomIntInclusive(1, 3); + + if (random === 1) { + mesh = treeSmall.clone(); + } + if (random === 2) { + mesh = treeMedium.clone(); + } + if (random === 3) { + mesh = treeLarge.clone(); + } + + material = materialTreesAndRocks.clone(); + mesh.materials = [material]; + mesh.position.x = x; + mesh.position.z = -185 + Math.random() * 10; + mesh.rotation.x = 0; + mesh.rotation.y = Math.random() * 3; + mesh.rotation.z = 0; + mesh.scale.x = 5; + mesh.scale.y = 5; + mesh.scale.z = 5; + mesh.updateInstance('materials'); + mesh.updateInstance('position'); + mesh.updateInstance('rotation'); + mesh.updateInstance('scale'); + +} + this.treeSmall.visible = false; this.treeSmall.updateInstance('visible'); From 9cc2842338c5c5f41369544035ff1ac5c0ec03d3 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:08:42 +0100 Subject: [PATCH 04/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 82 bytes modified --- hv7vehw7se.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index db164f7..254ce2c 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1434,12 +1434,15 @@ for (var x = -200; x < 200; x += 10) { if (random === 1) { mesh = treeSmall.clone(); + mesh.position.y = -14.19; } if (random === 2) { mesh = treeMedium.clone(); + mesh.position.y = -10.26; } if (random === 3) { mesh = treeLarge.clone(); + mesh.position.y = 4.43; } material = materialTreesAndRocks.clone(); From 8a02d88c27c01986f4180812003d004550049086 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:10:58 +0100 Subject: [PATCH 05/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 1 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 254ce2c..83614d5 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1442,7 +1442,7 @@ for (var x = -200; x < 200; x += 10) { } if (random === 3) { mesh = treeLarge.clone(); - mesh.position.y = 4.43; + mesh.position.y = -4.43; } material = materialTreesAndRocks.clone(); From e5183f21a7b998ec9697d233ad0672a822ad7de7 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:13:10 +0100 Subject: [PATCH 06/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 44 bytes modified --- hv7vehw7se.js | 62 +++++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 83614d5..8baf41b 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1429,37 +1429,41 @@ burningTreeParticleEngine.updateInstance('position'); this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; -for (var x = -200; x < 200; x += 10) { - var random = GameLib.Utils.GetRandomIntInclusive(1, 3); + +for (var x = -50; x < 50; x += 10) { - if (random === 1) { - mesh = treeSmall.clone(); - mesh.position.y = -14.19; - } - if (random === 2) { - mesh = treeMedium.clone(); - mesh.position.y = -10.26; - } - if (random === 3) { - mesh = treeLarge.clone(); - mesh.position.y = -4.43; - } - - material = materialTreesAndRocks.clone(); - mesh.materials = [material]; - mesh.position.x = x; - mesh.position.z = -185 + Math.random() * 10; - mesh.rotation.x = 0; - mesh.rotation.y = Math.random() * 3; - mesh.rotation.z = 0; - mesh.scale.x = 5; - mesh.scale.y = 5; - mesh.scale.z = 5; - mesh.updateInstance('materials'); - mesh.updateInstance('position'); - mesh.updateInstance('rotation'); - mesh.updateInstance('scale'); + for (var z = -170; z > -230; z -= 10) { + var random = GameLib.Utils.GetRandomIntInclusive(1, 3); + + if (random === 1) { + mesh = treeSmall.clone(); + mesh.position.y = -14.19; + } + if (random === 2) { + mesh = treeMedium.clone(); + mesh.position.y = -10.26; + } + if (random === 3) { + mesh = treeLarge.clone(); + mesh.position.y = -4.43; + } + + material = materialTreesAndRocks.clone(); + mesh.materials = [material]; + mesh.position.x = x; + mesh.position.z = z; + mesh.rotation.x = 0; + mesh.rotation.y = Math.random() * 3; + mesh.rotation.z = 0; + mesh.scale.x = 5; + mesh.scale.y = 5; + mesh.scale.z = 5; + mesh.updateInstance('materials'); + mesh.updateInstance('position'); + mesh.updateInstance('rotation'); + mesh.updateInstance('scale'); + } } this.treeSmall.visible = false; From 6b71a16183589c1b3e44c3dc77dda096416954cd Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:14:48 +0100 Subject: [PATCH 07/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 25 bytes modified --- hv7vehw7se.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 8baf41b..73cf536 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1429,24 +1429,26 @@ burningTreeParticleEngine.updateInstance('position'); this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; +var type = 0; for (var x = -50; x < 50; x += 10) { for (var z = -170; z > -230; z -= 10) { - var random = GameLib.Utils.GetRandomIntInclusive(1, 3); - - if (random === 1) { + type++; + + if (type === 1) { mesh = treeSmall.clone(); mesh.position.y = -14.19; } - if (random === 2) { + if (type === 2) { mesh = treeMedium.clone(); mesh.position.y = -10.26; } - if (random === 3) { + if (type === 3) { mesh = treeLarge.clone(); mesh.position.y = -4.43; + type = 1; } material = materialTreesAndRocks.clone(); From f5873ff7de0f0caac6ec89d9900f359e7225341d Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:15:58 +0100 Subject: [PATCH 08/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 123 bytes modified --- hv7vehw7se.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 73cf536..24e11b7 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1451,20 +1451,15 @@ for (var x = -50; x < 50; x += 10) { type = 1; } - material = materialTreesAndRocks.clone(); - mesh.materials = [material]; + mesh.materials = [materialTreesAndRocks]; mesh.position.x = x; mesh.position.z = z; mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; mesh.rotation.z = 0; - mesh.scale.x = 5; - mesh.scale.y = 5; - mesh.scale.z = 5; mesh.updateInstance('materials'); mesh.updateInstance('position'); mesh.updateInstance('rotation'); - mesh.updateInstance('scale'); } } From 2b44dfa3c862cff7f943761dbd06317280f38222 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:16:39 +0100 Subject: [PATCH 09/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 0 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 24e11b7..154a9cb 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1431,7 +1431,7 @@ this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; var type = 0; -for (var x = -50; x < 50; x += 10) { +for (var x = -50; x < 50; x += 20) { for (var z = -170; z > -230; z -= 10) { From c6e0648e2a371bd146e626cdcec50a55674bd278 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:17:24 +0100 Subject: [PATCH 10/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 0 bytes modified --- hv7vehw7se.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 154a9cb..9942ebd 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1435,20 +1435,20 @@ for (var x = -50; x < 50; x += 20) { for (var z = -170; z > -230; z -= 10) { - type++; + type += 1; - if (type === 1) { + if (type == 1) { mesh = treeSmall.clone(); mesh.position.y = -14.19; } - if (type === 2) { + if (type == 2) { mesh = treeMedium.clone(); mesh.position.y = -10.26; } - if (type === 3) { + if (type == 3) { mesh = treeLarge.clone(); mesh.position.y = -4.43; - type = 1; + type = 0; } mesh.materials = [materialTreesAndRocks]; From bc2a5373c0384525374855a7707d09dd951d2330 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:18:19 +0100 Subject: [PATCH 11/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 34 bytes modified --- hv7vehw7se.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 9942ebd..06bfe33 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1452,11 +1452,12 @@ for (var x = -50; x < 50; x += 20) { } mesh.materials = [materialTreesAndRocks]; - mesh.position.x = x; - mesh.position.z = z; + mesh.position.x = x * Math.random(); + mesh.position.z = z * Math.random(); mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; mesh.rotation.z = 0; + mesh.updateInstance('materials'); mesh.updateInstance('position'); mesh.updateInstance('rotation'); From 426efe262dcaa2657f73c4d9268f798003169d48 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:19:02 +0100 Subject: [PATCH 12/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 10 bytes modified --- hv7vehw7se.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 06bfe33..f626780 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1452,8 +1452,8 @@ for (var x = -50; x < 50; x += 20) { } mesh.materials = [materialTreesAndRocks]; - mesh.position.x = x * Math.random(); - mesh.position.z = z * Math.random(); + mesh.position.x = x * Math.random() - 50; + mesh.position.z = z * Math.random() - 80; mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; mesh.rotation.z = 0; From 8b371587a2c1be64fd996cb0ed7ac40e7f57e4b2 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:19:08 +0100 Subject: [PATCH 13/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 0 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index f626780..12a4d46 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1452,7 +1452,7 @@ for (var x = -50; x < 50; x += 20) { } mesh.materials = [materialTreesAndRocks]; - mesh.position.x = x * Math.random() - 50; + mesh.position.x = x * Math.random() - 25; mesh.position.z = z * Math.random() - 80; mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; From 836cbe4529e2879bfa8ba6812a5544a0c71b2049 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:19:40 +0100 Subject: [PATCH 14/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 21 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 12a4d46..202beb6 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1452,7 +1452,7 @@ for (var x = -50; x < 50; x += 20) { } mesh.materials = [materialTreesAndRocks]; - mesh.position.x = x * Math.random() - 25; + mesh.position.x = x; mesh.position.z = z * Math.random() - 80; mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; From 4d8ab85028e0c26a4c60017421fefff45261cdb2 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:20:03 +0100 Subject: [PATCH 15/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 1 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 202beb6..e31cc8e 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1453,7 +1453,7 @@ for (var x = -50; x < 50; x += 20) { mesh.materials = [materialTreesAndRocks]; mesh.position.x = x; - mesh.position.z = z * Math.random() - 80; + mesh.position.z = z * Math.random() - 150; mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; mesh.rotation.z = 0; From 983729ebd72413b4a8d3c03eeefc99478bdcf681 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:20:18 +0100 Subject: [PATCH 16/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 0 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index e31cc8e..c79d508 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1453,7 +1453,7 @@ for (var x = -50; x < 50; x += 20) { mesh.materials = [materialTreesAndRocks]; mesh.position.x = x; - mesh.position.z = z * Math.random() - 150; + mesh.position.z = z * Math.random() - 250; mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; mesh.rotation.z = 0; From e5c79f79f694cf9f7031f271047b67dae083e979 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:20:50 +0100 Subject: [PATCH 17/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 2 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index c79d508..9befd8c 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1431,7 +1431,7 @@ this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; var type = 0; -for (var x = -50; x < 50; x += 20) { +for (var x = -200; x < 200; x += 20) { for (var z = -170; z > -230; z -= 10) { From 49a6468af69414548edc79bdd9268d2c5f827b59 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:39:25 +0100 Subject: [PATCH 18/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 0 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 9befd8c..53be57c 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1431,7 +1431,7 @@ this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; var type = 0; -for (var x = -200; x < 200; x += 20) { +for (var x = -400; x < 400; x += 40) { for (var z = -170; z > -230; z -= 10) { From b1050a87502d054dc48321c2a00b346f6f15fd51 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:40:06 +0100 Subject: [PATCH 19/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 16 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 53be57c..29281d7 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1431,7 +1431,7 @@ this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; var type = 0; -for (var x = -400; x < 400; x += 40) { +for (var x = -400; x < 400; x += 40 * Math.random()) { for (var z = -170; z > -230; z -= 10) { From 44e552b1a2b67905e6759b6910970a760b791182 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:41:28 +0100 Subject: [PATCH 20/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 16 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 29281d7..53be57c 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1431,7 +1431,7 @@ this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; var type = 0; -for (var x = -400; x < 400; x += 40 * Math.random()) { +for (var x = -400; x < 400; x += 40) { for (var z = -170; z > -230; z -= 10) { From e241c46646675d693e29711ceeceeba56c7d218c Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:42:58 +0100 Subject: [PATCH 21/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 0 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 53be57c..65f17fd 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1453,7 +1453,7 @@ for (var x = -400; x < 400; x += 40) { mesh.materials = [materialTreesAndRocks]; mesh.position.x = x; - mesh.position.z = z * Math.random() - 250; + mesh.position.z = z * Math.random() - 200; mesh.rotation.x = 0; mesh.rotation.y = Math.random() * 3; mesh.rotation.z = 0; From 6932bdc7af8e53b1b098cf81edd1efdd3f1b2c85 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 08:43:25 +0100 Subject: [PATCH 22/46] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 0 bytes modified --- hv7vehw7se.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 65f17fd..b68aac7 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1431,7 +1431,7 @@ this.treeLarge.burningTreeParticleEngine = burningTreeParticleEngine; var type = 0; -for (var x = -400; x < 400; x += 40) { +for (var x = -200; x < 200; x += 30) { for (var z = -170; z > -230; z -= 10) { From 47a10d3b8666f8173cbc76d8320c94911f84f0f6 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 14:01:08 +0100 Subject: [PATCH 23/46] Initial Commit: CC - SnailRunner - Entity Loaded (uchezypj8k.js) --- uchezypj8k.js | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 uchezypj8k.js diff --git a/uchezypj8k.js b/uchezypj8k.js new file mode 100644 index 0000000..0fe7b25 --- /dev/null +++ b/uchezypj8k.js @@ -0,0 +1,2 @@ +return null; +//@ sourceURL=entityLoaded.js \ No newline at end of file From 7412fac926e6dfe5ca5d18a3a78fa36b02fc025e Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 14:03:56 +0100 Subject: [PATCH 24/46] Initial Commit: CC - SnailRunner - Before Render (rlley2ki2i.js) --- rlley2ki2i.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rlley2ki2i.js diff --git a/rlley2ki2i.js b/rlley2ki2i.js new file mode 100644 index 0000000..1456ca4 --- /dev/null +++ b/rlley2ki2i.js @@ -0,0 +1,15 @@ +if (!this.entityLoaded) { + return; +} + +if (!this.initialized) { + + this.road = this.entityLoaded.road; + + this.initialized = true; +} + +this.road.rotation.z += 0.00001 * data.delta; +this.road.updateInstance('rotation'); + +//@ sourceURL=beforeRender.js \ No newline at end of file From 8f9cde9b0bfc54549279a4330019d9b31099e3af Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 14:03:56 +0100 Subject: [PATCH 25/46] Update: CC - SnailRunner - Entity Loaded (uchezypj8k.js) 6 bytes modified --- uchezypj8k.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uchezypj8k.js b/uchezypj8k.js index 0fe7b25..ee3b050 100644 --- a/uchezypj8k.js +++ b/uchezypj8k.js @@ -1,2 +1,2 @@ -return null; +console.log(data); //@ sourceURL=entityLoaded.js \ No newline at end of file From f88a9f1eff668dec2fc0fa5e46c10334fce46e88 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 14:06:26 +0100 Subject: [PATCH 26/46] Update: CC - SnailRunner - Entity Loaded (uchezypj8k.js) 382 bytes modified --- uchezypj8k.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/uchezypj8k.js b/uchezypj8k.js index ee3b050..288f5d0 100644 --- a/uchezypj8k.js +++ b/uchezypj8k.js @@ -1,2 +1,22 @@ -console.log(data); +if (data.entity === this.parentEntity) { + console.log('snail runner loaded'); +} else { + return; +} + +/** + * Custom Code Components + */ +this.beforeRender = GameLib.EntityManager.Instance.findComponentById('rlley2ki2i'); + +/** + * Meshes + */ +this.road = GameLib.EntityManager.Instance.findComponentById('07f38e7wvv'); + +/** + * Activate our custom code components + */ +this.beforeRender.entityLoaded = this; + //@ sourceURL=entityLoaded.js \ No newline at end of file From f9e6495c750dd8c3382fdce1f8a2cb67fece5a37 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 14:10:02 +0100 Subject: [PATCH 27/46] Update: CC - SnailRunner - Before Render (rlley2ki2i.js) 2 bytes modified --- rlley2ki2i.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rlley2ki2i.js b/rlley2ki2i.js index 1456ca4..fb64a87 100644 --- a/rlley2ki2i.js +++ b/rlley2ki2i.js @@ -9,7 +9,7 @@ if (!this.initialized) { this.initialized = true; } -this.road.rotation.z += 0.00001 * data.delta; +this.road.rotation.z += 0.001 * data.delta; this.road.updateInstance('rotation'); //@ sourceURL=beforeRender.js \ No newline at end of file From b76b112b23bd94ed33308194cbaf019cc9eca38b Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 14:10:19 +0100 Subject: [PATCH 28/46] Update: CC - SnailRunner - Before Render (rlley2ki2i.js) 1 bytes modified --- rlley2ki2i.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rlley2ki2i.js b/rlley2ki2i.js index fb64a87..c73ee3e 100644 --- a/rlley2ki2i.js +++ b/rlley2ki2i.js @@ -9,7 +9,7 @@ if (!this.initialized) { this.initialized = true; } -this.road.rotation.z += 0.001 * data.delta; +this.road.rotation.z += 0.01 * data.delta; this.road.updateInstance('rotation'); //@ sourceURL=beforeRender.js \ No newline at end of file From df14514be9ee53e4bba123a4331f288625066a62 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 14:14:40 +0100 Subject: [PATCH 29/46] Update: CC - SnailRunner - Before Render (rlley2ki2i.js) 1 bytes modified --- rlley2ki2i.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rlley2ki2i.js b/rlley2ki2i.js index c73ee3e..fb64a87 100644 --- a/rlley2ki2i.js +++ b/rlley2ki2i.js @@ -9,7 +9,7 @@ if (!this.initialized) { this.initialized = true; } -this.road.rotation.z += 0.01 * data.delta; +this.road.rotation.z += 0.001 * data.delta; this.road.updateInstance('rotation'); //@ sourceURL=beforeRender.js \ No newline at end of file From 8b89ab40c6f99fa5c5986a1aece68381ab5c4356 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 14:18:01 +0100 Subject: [PATCH 30/46] Update: CC - SnailRunner - Before Render (rlley2ki2i.js) 0 bytes modified --- rlley2ki2i.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rlley2ki2i.js b/rlley2ki2i.js index fb64a87..17f7227 100644 --- a/rlley2ki2i.js +++ b/rlley2ki2i.js @@ -9,7 +9,7 @@ if (!this.initialized) { this.initialized = true; } -this.road.rotation.z += 0.001 * data.delta; +this.road.rotation.z += 0.004 * data.delta; this.road.updateInstance('rotation'); //@ sourceURL=beforeRender.js \ No newline at end of file From b3588c3dee82a3e3bbd9c30b2fe977a09773f144 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:14:56 +0100 Subject: [PATCH 31/46] Initial Commit: CC - Mouse Move (8nu6b5p9pb.js) --- 8nu6b5p9pb.js | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 8nu6b5p9pb.js diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js new file mode 100644 index 0000000..79d245f --- /dev/null +++ b/8nu6b5p9pb.js @@ -0,0 +1,2 @@ +return null; +//@ sourceURL=mouseMove.js \ No newline at end of file From 43a930192a57011b6c065833953dc053e371af35 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:14:56 +0100 Subject: [PATCH 32/46] Update: CC - SnailRunner - Entity Loaded (uchezypj8k.js) 77 bytes modified --- uchezypj8k.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uchezypj8k.js b/uchezypj8k.js index 288f5d0..23c33a5 100644 --- a/uchezypj8k.js +++ b/uchezypj8k.js @@ -12,7 +12,8 @@ this.beforeRender = GameLib.EntityManager.Instance.findComponentById('rlley2ki2i /** * Meshes */ -this.road = GameLib.EntityManager.Instance.findComponentById('07f38e7wvv'); +this.road = GameLib.EntityManager.Instance.findComponentById('07f38e7wvv'); +this.snail = GameLib.EntityManager.Instance.findComponentById('dbpoic48wm'); /** * Activate our custom code components From 007ca35aff042e1d599e9db77e8ff40dbec017ca Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:16:07 +0100 Subject: [PATCH 33/46] Update: CC - Mouse Move (8nu6b5p9pb.js) 138 bytes modified --- 8nu6b5p9pb.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index 79d245f..8833b86 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -1,2 +1,12 @@ -return null; +if (!this.entityLoaded) { + return; +} + +if (!this.initialized) { + this.snail = this.entityLoaded.snail; + this.initialized = true; +} + +console.log(data); + //@ sourceURL=mouseMove.js \ No newline at end of file From 8ae3671debe4d4f26c570df365869290da448496 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:17:30 +0100 Subject: [PATCH 34/46] Update: CC - SnailRunner - Entity Loaded (uchezypj8k.js) 121 bytes modified --- uchezypj8k.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/uchezypj8k.js b/uchezypj8k.js index 23c33a5..4497915 100644 --- a/uchezypj8k.js +++ b/uchezypj8k.js @@ -7,7 +7,8 @@ if (data.entity === this.parentEntity) { /** * Custom Code Components */ -this.beforeRender = GameLib.EntityManager.Instance.findComponentById('rlley2ki2i'); +this.beforeRender = GameLib.EntityManager.Instance.findComponentById('rlley2ki2i'); +this.mouseMove = GameLib.EntityManager.Instance.findComponentById('8nu6b5p9pb'); /** * Meshes @@ -18,6 +19,7 @@ this.snail = GameLib.EntityManager.Instance.findComponentById('dbpoic48wm'); /** * Activate our custom code components */ -this.beforeRender.entityLoaded = this; +this.beforeRender.entityLoaded = this; +this.mouseMove.entityLoaded = this; //@ sourceURL=entityLoaded.js \ No newline at end of file From ec9ea13b1aa69ff8b76c0d34fa0b1586e6efce77 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:19:46 +0100 Subject: [PATCH 35/46] Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 107 bytes modified --- 8nu6b5p9pb.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index 8833b86..386eadc 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -7,6 +7,9 @@ if (!this.initialized) { this.initialized = true; } +this.snail.position.z += data.event.movementX * data.delta * 0.01; +this.snail.updateInstance('position'); + console.log(data); //@ sourceURL=mouseMove.js \ No newline at end of file From 3c01e89c8e60566636ff82094715128a6ce2e3cc Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:20:03 +0100 Subject: [PATCH 36/46] Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 2 bytes modified --- 8nu6b5p9pb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index 386eadc..c7af666 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -7,7 +7,7 @@ if (!this.initialized) { this.initialized = true; } -this.snail.position.z += data.event.movementX * data.delta * 0.01; +this.snail.position.z += data.event.movementX * data.delta * 0.0001; this.snail.updateInstance('position'); console.log(data); From 19e8e97ee346f7766b60b5c92512859b1f5f8a4e Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:20:21 +0100 Subject: [PATCH 37/46] Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 18 bytes modified --- 8nu6b5p9pb.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index c7af666..0a2353f 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -7,9 +7,7 @@ if (!this.initialized) { this.initialized = true; } -this.snail.position.z += data.event.movementX * data.delta * 0.0001; +this.snail.position.z += data.event.movementX * data.delta * 0.000001; this.snail.updateInstance('position'); -console.log(data); - //@ sourceURL=mouseMove.js \ No newline at end of file From f829bae63a0318de0b8b9105d26c733d399a1128 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:22:04 +0100 Subject: [PATCH 38/46] Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 139 bytes modified --- 8nu6b5p9pb.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index 0a2353f..0fefacb 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -8,6 +8,15 @@ if (!this.initialized) { } this.snail.position.z += data.event.movementX * data.delta * 0.000001; + +if (this.snail.position.z < -0.1) { + this.snail.position.z = -0.1; +} + +if (this.snail.position.z > 0.1) { + this.snail.position.z = 0.1; +} + this.snail.updateInstance('position'); //@ sourceURL=mouseMove.js \ No newline at end of file From 0ca1bc5ff1fe075ce7d0d9e1d30d99add0d8abcb Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:24:00 +0100 Subject: [PATCH 39/46] Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 14 bytes modified --- 8nu6b5p9pb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index 0fefacb..39f9542 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -7,7 +7,7 @@ if (!this.initialized) { this.initialized = true; } -this.snail.position.z += data.event.movementX * data.delta * 0.000001; +this.snail.position.z += data.event.movementX * 0.00001; if (this.snail.position.z < -0.1) { this.snail.position.z = -0.1; From 766bb8fe83fe4055fe252cec0ac40f06b1cdee16 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:24:17 +0100 Subject: [PATCH 40/46] Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 2 bytes modified --- 8nu6b5p9pb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index 39f9542..2a09855 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -7,7 +7,7 @@ if (!this.initialized) { this.initialized = true; } -this.snail.position.z += data.event.movementX * 0.00001; +this.snail.position.z += data.event.movementX * 0.001; if (this.snail.position.z < -0.1) { this.snail.position.z = -0.1; From 92724ec2c4af28e24c1723cfd02eb27d022bb6ce Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:24:31 +0100 Subject: [PATCH 41/46] Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 1 bytes modified --- 8nu6b5p9pb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index 2a09855..66472dc 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -7,7 +7,7 @@ if (!this.initialized) { this.initialized = true; } -this.snail.position.z += data.event.movementX * 0.001; +this.snail.position.z += data.event.movementX * 0.0001; if (this.snail.position.z < -0.1) { this.snail.position.z = -0.1; From 8f0c47cd42a2d1eedd91a35fe6551a49332fdd8a Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 16:37:58 +0100 Subject: [PATCH 42/46] Update: CC - SnailRunner - Mouse Move (8nu6b5p9pb.js) 0 bytes modified --- 8nu6b5p9pb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8nu6b5p9pb.js b/8nu6b5p9pb.js index 66472dc..dd28f5f 100644 --- a/8nu6b5p9pb.js +++ b/8nu6b5p9pb.js @@ -7,7 +7,7 @@ if (!this.initialized) { this.initialized = true; } -this.snail.position.z += data.event.movementX * 0.0001; +this.snail.position.z += data.event.movementX * 0.0002; if (this.snail.position.z < -0.1) { this.snail.position.z = -0.1; From fb98716cc3ba9b5b60d6baca56f43f37e53b07a7 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 17:22:51 +0100 Subject: [PATCH 43/46] Update: CC - SnailRunner - Entity Loaded (uchezypj8k.js) 77 bytes modified --- uchezypj8k.js | 1 + 1 file changed, 1 insertion(+) diff --git a/uchezypj8k.js b/uchezypj8k.js index 4497915..f38fb39 100644 --- a/uchezypj8k.js +++ b/uchezypj8k.js @@ -15,6 +15,7 @@ this.mouseMove = GameLib.EntityManager.Instance.findComponentById('8nu6b5p9pb' */ this.road = GameLib.EntityManager.Instance.findComponentById('07f38e7wvv'); this.snail = GameLib.EntityManager.Instance.findComponentById('dbpoic48wm'); +this.cloud = GameLib.EntityManager.Instance.findComponentById('y5ckpgqf0z'); /** * Activate our custom code components From 8cb2397773ffcb2c118614ae52d5a8b9bd1ba9ed Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 17:28:34 +0100 Subject: [PATCH 44/46] Update: CC - SnailRunner - Before Render (rlley2ki2i.js) 315 bytes modified --- rlley2ki2i.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/rlley2ki2i.js b/rlley2ki2i.js index 17f7227..6c351ec 100644 --- a/rlley2ki2i.js +++ b/rlley2ki2i.js @@ -4,7 +4,18 @@ if (!this.entityLoaded) { if (!this.initialized) { - this.road = this.entityLoaded.road; + /** + * Meshes + */ + this.road = this.entityLoaded.road; + this.cloud = this.entityLoaded.cloud; + + this.time = 0; + + this.spawnCloud = function() { + this.cloud.position.x = -3; + this.cloud.updateInstance('position'); + } this.initialized = true; } @@ -12,4 +23,13 @@ if (!this.initialized) { this.road.rotation.z += 0.004 * data.delta; this.road.updateInstance('rotation'); +this.cloud.position.x -= 0.1 * data.delta; + +this.time += data.delta; + +if (this.time > 3) { + this.spawnCloud(); + this.time = 0; +} + //@ sourceURL=beforeRender.js \ No newline at end of file From 05c4d037d6b4ad730ca54ae71809e44d50bcc529 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 17:32:17 +0100 Subject: [PATCH 45/46] Update: CC - SnailRunner - Before Render (rlley2ki2i.js) 1 bytes modified --- rlley2ki2i.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rlley2ki2i.js b/rlley2ki2i.js index 6c351ec..6853a80 100644 --- a/rlley2ki2i.js +++ b/rlley2ki2i.js @@ -13,22 +13,23 @@ if (!this.initialized) { this.time = 0; this.spawnCloud = function() { - this.cloud.position.x = -3; + this.cloud.position.x = 3; this.cloud.updateInstance('position'); } this.initialized = true; } + this.road.rotation.z += 0.004 * data.delta; this.road.updateInstance('rotation'); -this.cloud.position.x -= 0.1 * data.delta; +this.cloud.position.x -= data.delta * 2; this.time += data.delta; if (this.time > 3) { - this.spawnCloud(); + //this.spawnCloud(); this.time = 0; } From 0d323289d148cb7fe96b6b97a911241edc0abbf3 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 17:35:12 +0100 Subject: [PATCH 46/46] Update: CC - SnailRunner - Before Render (rlley2ki2i.js) 87 bytes modified --- rlley2ki2i.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/rlley2ki2i.js b/rlley2ki2i.js index 6853a80..32831c4 100644 --- a/rlley2ki2i.js +++ b/rlley2ki2i.js @@ -13,7 +13,8 @@ if (!this.initialized) { this.time = 0; this.spawnCloud = function() { - this.cloud.position.x = 3; + this.cloud.position.x = 5; + this.cloud.position.z = (Math.random() * 0.2) - 0.1 this.cloud.updateInstance('position'); } @@ -24,12 +25,13 @@ if (!this.initialized) { this.road.rotation.z += 0.004 * data.delta; this.road.updateInstance('rotation'); -this.cloud.position.x -= data.delta * 2; +this.cloud.position.x -= data.delta; +this.cloud.updateInstance('position'); this.time += data.delta; -if (this.time > 3) { - //this.spawnCloud(); +if (this.time > 5) { + this.spawnCloud(); this.time = 0; }