Update: CC - Before Render - Moorcow (9l6o7974qx.js) 20 bytes modified

beta.r3js.org
-=yb4f310 2017-11-06 23:57:44 +01:00
parent e7c95c60ca
commit cc9486e355
1 changed files with 18 additions and 16 deletions

View File

@ -30,7 +30,7 @@ if (
this.nextSpawnTime = this.getNextSpawnTime();
this.spawnEnemy = function() {
this.spawnEnemy = function() {
var enemyType = Math.floor((Math.random() * 5) + 1);
@ -40,7 +40,9 @@ if (
apiBox.materials = [this.boxMaterial];
var box = GameLib.EntityManager.Instance.findComponentById('3upawmhh8j');
var box = GameLib.EntityManager.Instance.findComponentById('3upawmhh8j').clone();
var velocity = null;