Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 100 bytes modified
parent
539c94e63a
commit
057e9130c0
|
@ -129,7 +129,7 @@ GameLib.CustomCode.prototype.startAnimation = function (index) {
|
||||||
bacon.updateInstance('position');
|
bacon.updateInstance('position');
|
||||||
|
|
||||||
this.grid[index][x].baconDisappearing = bacon;
|
this.grid[index][x].baconDisappearing = bacon;
|
||||||
|
|
||||||
this.baconMaterials.push(
|
this.baconMaterials.push(
|
||||||
this.grid[index][x].mesh.materials[0]
|
this.grid[index][x].mesh.materials[0]
|
||||||
);
|
);
|
||||||
|
@ -1321,7 +1321,7 @@ GameLib.CustomCode.prototype.getNextBlock = function () {
|
||||||
this.animation.meshes.push(this.block.center);
|
this.animation.meshes.push(this.block.center);
|
||||||
|
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This code executes when the 'bottom' has been reached (the block is stopping)
|
* 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,
|
null,
|
||||||
null,
|
null,
|
||||||
new GameLib.D3.API.Geometry.Buffer.Plane(),
|
new GameLib.D3.API.Geometry.Buffer.Plane(
|
||||||
|
null,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
10,
|
||||||
|
10
|
||||||
|
),
|
||||||
[
|
[
|
||||||
apiMaterial
|
apiMaterial
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue