From 057e9130c09910d46b8cf43fed112df7f45da0f5 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sun, 18 Feb 2018 18:46:39 +0100 Subject: [PATCH] Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 100 bytes modified --- 2xswm1bwq8.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/2xswm1bwq8.js b/2xswm1bwq8.js index d55ca9e..798212c 100644 --- a/2xswm1bwq8.js +++ b/2xswm1bwq8.js @@ -129,7 +129,7 @@ GameLib.CustomCode.prototype.startAnimation = function (index) { bacon.updateInstance('position'); this.grid[index][x].baconDisappearing = bacon; - + this.baconMaterials.push( this.grid[index][x].mesh.materials[0] ); @@ -1321,7 +1321,7 @@ GameLib.CustomCode.prototype.getNextBlock = function () { this.animation.meshes.push(this.block.center); }.bind(this); - + /** * This code executes when the 'bottom' has been reached (the block is stopping) */ @@ -1541,7 +1541,13 @@ GameLib.CustomCode.prototype.createTile = function(tileName, imageName, displace null, null, null, - new GameLib.D3.API.Geometry.Buffer.Plane(), + new GameLib.D3.API.Geometry.Buffer.Plane( + null, + 1, + 1, + 10, + 10 + ), [ apiMaterial ],