From ad4e91a99cb3425ac289f248b26032b55cdb473f Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 22 Mar 2018 12:02:02 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 202 bytes modified --- 21g30t1e75.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 82d13ff..209d627 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -313,6 +313,13 @@ GameLib.CustomCode.prototype.createGameObject = function( throw new Error('unhandled power up type : ' + type) } + /** + * We apply a scale to the powerupss too - since they appear too big when normal + */ + mesh.scale.x = 0.8; + mesh.scale.y = 0.8; + mesh.updateInstance('scale'); + array = this.powerups; } @@ -342,7 +349,7 @@ GameLib.CustomCode.prototype.createGameObject = function( } /** - * We apply the scale to the food meshes too - since they appear too big when normal + * We apply a scale to the food meshes too - since they appear too big when normal */ mesh.scale.x = 0.8; mesh.scale.y = 0.8;