Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 39 bytes modified
parent
fad4f691a5
commit
d59a4074cc
|
@ -1305,7 +1305,7 @@ GameLib.CustomCode.prototype.spawnBigBlock = function () {
|
||||||
|
|
||||||
block.center.position.x = 0;
|
block.center.position.x = 0;
|
||||||
block.center.position.y = 0;
|
block.center.position.y = 0;
|
||||||
block.center.position.z = 0.4;
|
block.center.position.z = 2.5;
|
||||||
block.center.updateInstance('position');
|
block.center.updateInstance('position');
|
||||||
|
|
||||||
this.moveBlock(block, {up: true}, (GameLib.CustomCode.TETRIS_GRID_HEIGHT - GameLib.CustomCode.TETRIS_GRID_HEADSPACE), false);
|
this.moveBlock(block, {up: true}, (GameLib.CustomCode.TETRIS_GRID_HEIGHT - GameLib.CustomCode.TETRIS_GRID_HEADSPACE), false);
|
||||||
|
@ -1515,9 +1515,9 @@ GameLib.CustomCode.prototype.endGame = function() {
|
||||||
GameLib.Event.Emit(
|
GameLib.Event.Emit(
|
||||||
GameLib.Event.GAME_OVER,
|
GameLib.Event.GAME_OVER,
|
||||||
{
|
{
|
||||||
score: this.entityLoaded.score,
|
score: this.score,
|
||||||
level: this.entityLoaded.level,
|
level: this.level,
|
||||||
rows: this.entityLoaded.rows
|
rows: this.rows
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue