Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 202 bytes modified

beta.r3js.org
-=yb4f310 2018-03-22 12:02:02 +01:00
parent da749806c8
commit ad4e91a99c
1 changed files with 8 additions and 1 deletions

View File

@ -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;